|
|
@@ -55,13 +55,46 @@ endef
|
|
|
$(eval $(call KernelPackage,smi-bcm2835-dev))
|
|
|
|
|
|
|
|
|
+define KernelPackage/rp1
|
|
|
+ SUBMENU:=$(OTHER_MENU)
|
|
|
+ TITLE:=RP1 firmware
|
|
|
+ KCONFIG:=CONFIG_FIRMWARE_RP1
|
|
|
+ FILES:=$(LINUX_DIR)/drivers/firmware/rp1.ko
|
|
|
+ AUTOLOAD:=$(call AutoLoad,21,rp1)
|
|
|
+ DEPENDS:=@TARGET_bcm27xx_bcm2712
|
|
|
+endef
|
|
|
+
|
|
|
+define KernelPackage/rp1/description
|
|
|
+ This driver provides a firmware interface to the RP1 processor using shared
|
|
|
+ memory and a mailbox.
|
|
|
+endef
|
|
|
+
|
|
|
+$(eval $(call KernelPackage,rp1))
|
|
|
+
|
|
|
+
|
|
|
+define KernelPackage/rp1-pio
|
|
|
+ SUBMENU:=$(OTHER_MENU)
|
|
|
+ TITLE:=RP1 PIO block support
|
|
|
+ KCONFIG:=CONFIG_RP1_PIO
|
|
|
+ FILES:=$(LINUX_DIR)/drivers/misc/rp1-pio.ko
|
|
|
+ AUTOLOAD:=$(call AutoLoad,21,rp1-pio)
|
|
|
+ DEPENDS:=@TARGET_bcm27xx_bcm2712 +kmod-rp1
|
|
|
+endef
|
|
|
+
|
|
|
+define KernelPackage/rp1-pio/description
|
|
|
+ Driver providing control of the Raspberry Pi PIO block, as found in RP1
|
|
|
+endef
|
|
|
+
|
|
|
+$(eval $(call KernelPackage,rp1-pio))
|
|
|
+
|
|
|
+
|
|
|
define KernelPackage/pwm-pio-rp1
|
|
|
SUBMENU:=$(OTHER_MENU)
|
|
|
TITLE:=RP1 PWM support
|
|
|
KCONFIG:=CONFIG_PWM_PIO_RP1
|
|
|
FILES:=$(LINUX_DIR)/drivers/pwm/pwm-pio-rp1.ko
|
|
|
AUTOLOAD:=$(call AutoLoad,21,pwm-pio-rp1)
|
|
|
- DEPENDS:=@TARGET_bcm27xx_bcm2712
|
|
|
+ DEPENDS:=@TARGET_bcm27xx_bcm2712 +kmod-rp1-pio
|
|
|
endef
|
|
|
|
|
|
define KernelPackage/pwm-pio-rp1/description
|
|
|
@@ -80,7 +113,7 @@ define KernelPackage/ws2812-pio-rp1
|
|
|
KCONFIG:=CONFIG_WS2812_PIO_RP1
|
|
|
FILES:=$(LINUX_DIR)/drivers/misc/ws2812-pio-rp1.ko
|
|
|
AUTOLOAD:=$(call AutoLoad,21,ws2812-pio-rp1)
|
|
|
- DEPENDS:=@TARGET_bcm27xx_bcm2712
|
|
|
+ DEPENDS:=@TARGET_bcm27xx_bcm2712 +kmod-rp1-pio
|
|
|
endef
|
|
|
|
|
|
define KernelPackage/ws2812-pio-rp1/description
|
|
|
@@ -90,3 +123,36 @@ define KernelPackage/ws2812-pio-rp1/description
|
|
|
endef
|
|
|
|
|
|
$(eval $(call KernelPackage,ws2812-pio-rp1))
|
|
|
+
|
|
|
+
|
|
|
+define KernelPackage/rp1-mailbox
|
|
|
+ SUBMENU:=$(OTHER_MENU)
|
|
|
+ TITLE:=RP1 mailbox IPC driver
|
|
|
+ KCONFIG:=CONFIG_MBOX_RP1
|
|
|
+ FILES:=$(LINUX_DIR)/drivers/mailbox/rp1-mailbox.ko
|
|
|
+ AUTOLOAD:=$(call AutoLoad,21,rp1-mailbox)
|
|
|
+ DEPENDS:=@TARGET_bcm27xx_bcm2712
|
|
|
+endef
|
|
|
+
|
|
|
+define KernelPackage/rp1-mailbox/description
|
|
|
+ This is a RP1 mailbox IPC driver.
|
|
|
+endef
|
|
|
+
|
|
|
+$(eval $(call KernelPackage,rp1-mailbox))
|
|
|
+
|
|
|
+
|
|
|
+define KernelPackage/rp1-pio
|
|
|
+ SUBMENU:=$(OTHER_MENU)
|
|
|
+ TITLE:=RP1 PIO driver
|
|
|
+ KCONFIG:=CONFIG_RP1_PIO
|
|
|
+ FILES:=$(LINUX_DIR)/drivers/misc/rp1-pio.ko
|
|
|
+ AUTOLOAD:=$(call AutoLoad,21,rp1-pio)
|
|
|
+ DEPENDS:=@TARGET_bcm27xx_bcm2712 +kmod-rp1
|
|
|
+endef
|
|
|
+
|
|
|
+define KernelPackage/rp1-pio/description
|
|
|
+ Driver for the RP1 PIO.
|
|
|
+endef
|
|
|
+
|
|
|
+$(eval $(call KernelPackage,rp1-pio))
|
|
|
+
|