[openwrt/openwrt] bcm27xx: package modules for official 7" touchscreen TFT display
LEDE Commits
lede-commits at lists.infradead.org
Sun Jul 20 04:16:53 PDT 2025
dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/07a7281ebddccd56e470aa84ac2daeb395bcf2a5
commit 07a7281ebddccd56e470aa84ac2daeb395bcf2a5
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Fri Jul 18 01:06:11 2025 +0100
bcm27xx: package modules for official 7" touchscreen TFT display
Add driver modules for the official RaspberryPi 7" touchscreen TFT display.
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
target/linux/bcm27xx/modules/video.mk | 36 +++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/target/linux/bcm27xx/modules/video.mk b/target/linux/bcm27xx/modules/video.mk
index 05808d37d5..39774a3320 100644
--- a/target/linux/bcm27xx/modules/video.mk
+++ b/target/linux/bcm27xx/modules/video.mk
@@ -39,6 +39,42 @@ endef
$(eval $(call KernelPackage,rp1-cfe))
+define KernelPackage/rpi-panel-attiny-regulator
+ TITLE:=Raspberry Pi 7-inch touchscreen panel ATTINY regulator
+ SUBMENU:=$(VIDEO_MENU)
+ KCONFIG:=CONFIG_REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY
+ FILES:=$(LINUX_DIR)/drivers/regulator/rpi-panel-attiny-regulator.ko
+ AUTOLOAD:=$(call AutoLoad,67,rpi-panel-attiny-regulator)
+ DEPENDS:=+kmod-regmap-i2c +kmod-backlight
+endef
+
+define KernelPackage/rpi-panel-attiny-regulator/description
+ Driver for the ATTINY regulator on the Raspberry Pi 7-inch
+ touchscreen unit. The regulator is used to enable power to the
+ TC358762, display and to control backlight.
+endef
+
+$(eval $(call KernelPackage,rpi-panel-attiny-regulator))
+
+
+define KernelPackage/rpi-panel-7inch-touchscreen
+ TITLE:=Raspberry Pi 7-inch touchscreen panel
+ SUBMENU:=$(VIDEO_MENU)
+ KCONFIG:= \
+ CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN
+ CONFIG_DRM_MIPI_DSI=y
+ FILES:=$(LINUX_DIR)/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.ko
+ AUTOLOAD:=$(call AutoProbe,/panel-raspberrypi-touchscreen)
+ DEPENDS:=+kmod-drm
+endef
+
+define KernelPackage/rpi-panel-7inch-touchscreen/description
+ Driver for the Raspberry Pi 7" Touchscreen.
+endef
+
+$(eval $(call KernelPackage,rpi-panel-7inch-touchscreen))
+
+
define KernelPackage/codec-bcm2835
TITLE:=BCM2835 Video Codec
KCONFIG:= \
More information about the lede-commits
mailing list