diff options
| author | Daniel Golle | 2025-07-18 00:06:11 +0000 |
|---|---|---|
| committer | Daniel Golle | 2025-07-20 11:16:13 +0000 |
| commit | 07a7281ebddccd56e470aa84ac2daeb395bcf2a5 (patch) | |
| tree | 6d94ef602a3c301c6f2140996786e0ed6b24db25 | |
| parent | d1446144f140217cf6def837a0c09ab8d6df1768 (diff) | |
| download | openwrt-07a7281ebddccd56e470aa84ac2daeb395bcf2a5.tar.gz | |
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@makrotopia.org>
| -rw-r--r-- | target/linux/bcm27xx/modules/video.mk | 36 |
1 files changed, 36 insertions, 0 deletions
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:= \ |