-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'armbian:main' into main
- Loading branch information
Showing
26 changed files
with
2,894 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Allwinner H618 quad core 2/4GB RAM 8GB eMMC SoC WiFi\Bt HDMI SPI USB-C | ||
BOARD_NAME="BananaPi M4 Berry" | ||
BOARDFAMILY="sun50iw9-bpi" | ||
BOARD_MAINTAINER="The-going" | ||
BOOTCONFIG="bananapi_m4_berry_defconfig" | ||
|
||
BOOTPATCHDIR="v2025.01/board_bananapim4berry" | ||
BOOTBRANCH_BOARD="tag:v2025.01" | ||
|
||
OVERLAY_PREFIX="sun50i-h616" | ||
BOOT_FDT_FILE="sun50i-h618-bananapi-m4-berry.dtb" | ||
BOOT_LOGO="desktop" | ||
KERNEL_TARGET="current,edge" | ||
KERNEL_TEST_TARGET="current" | ||
|
||
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools gpiod libgpiod2 network-manager" | ||
|
||
function post_family_tweaks_bsp__bananapi_firmware() { | ||
if [[ -d "$SRC/packages/bsp/bananapi/brcm" ]] && [[ -d "$SRC/packages/bsp/bananapi/rtl_bt" ]]; then | ||
mkdir -p "${destination}"/lib/firmware/updates/brcm | ||
mkdir -p "${destination}"/lib/firmware/updates/rtl_bt | ||
display_alert "$BOARD" "Installing upstream firmware" "info" | ||
cp -fr $SRC/packages/bsp/bananapi/brcm/* "${destination}"/lib/firmware/updates/brcm/ | ||
cp -fr $SRC/packages/bsp/bananapi/rtl_bt/* "${destination}"/lib/firmware/updates/rtl_bt/ | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
patch/kernel/archive/rockchip64-6.12/rk3308-internal-rgb-lcdc.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: TheSnowfield <17957399+TheSnowfield@users.noreply.github.com> | ||
Date: Sat, 22 Feb 2025 01:09:54 +0000 | ||
Subject: rk3308: set pinmux for internal RGB output | ||
|
||
Signed-off-by: TheSnowfield <17957399+TheSnowfield@users.noreply.github.com> | ||
--- | ||
drivers/gpu/drm/rockchip/rockchip_rgb.c | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/drivers/gpu/drm/rockchip/rockchip_rgb.c b/drivers/gpu/drm/rockchip/rockchip_rgb.c | ||
index c677b71ae516..43e9120bbad4 100644 | ||
--- a/drivers/gpu/drm/rockchip/rockchip_rgb.c | ||
+++ b/drivers/gpu/drm/rockchip/rockchip_rgb.c | ||
@@ -6,10 +6,11 @@ | ||
*/ | ||
|
||
#include <linux/component.h> | ||
#include <linux/media-bus-format.h> | ||
#include <linux/of_graph.h> | ||
+#include <linux/pinctrl/consumer.h> | ||
|
||
#include <drm/display/drm_dp_helper.h> | ||
#include <drm/drm_atomic_helper.h> | ||
#include <drm/drm_bridge.h> | ||
#include <drm/drm_bridge_connector.h> | ||
@@ -167,10 +168,12 @@ struct rockchip_rgb *rockchip_rgb_init(struct device *dev, | ||
DRM_DEV_ERROR(drm_dev->dev, | ||
"failed to attach encoder: %d\n", ret); | ||
goto err_free_connector; | ||
} | ||
|
||
+ pinctrl_pm_select_default_state(dev); | ||
+ | ||
return rgb; | ||
|
||
err_free_connector: | ||
drm_connector_cleanup(connector); | ||
err_free_encoder: | ||
-- | ||
Created with Armbian build tools https://github.com/armbian/build | ||
|
Oops, something went wrong.