|
|
@@ -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:= \
|