Initial commit
This commit is contained in:
33
target/linux/bcm27xx/modules/hwmon.mk
Normal file
33
target/linux/bcm27xx/modules/hwmon.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Copyright (C) 2019 OpenWrt.org
|
||||
|
||||
define KernelPackage/hwmon-raspberrypi
|
||||
TITLE:=Raspberry Pi voltage monitor
|
||||
KCONFIG:=CONFIG_SENSORS_RASPBERRYPI_HWMON
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/raspberrypi-hwmon.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,raspberrypi-hwmon)
|
||||
$(call AddDepends/hwmon,@TARGET_bcm27xx)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-raspberrypi/description
|
||||
Kernel module for voltage sensor on the Raspberry Pi
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-raspberrypi))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-rpi-poe-fan
|
||||
SUBMENU:=$(HWMON_MENU)
|
||||
TITLE:=Raspberry Pi PoE HAT fan
|
||||
DEPENDS:=@TARGET_bcm27xx +kmod-hwmon-core
|
||||
KCONFIG:=CONFIG_SENSORS_RPI_POE_FAN
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/rpi-poe-fan.ko
|
||||
AUTOLOAD:=$(call AutoProbe,rpi-poe-fan)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-rpi-poe-fan/description
|
||||
Raspberry Pi PoE HAT fan driver
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-rpi-poe-fan))
|
||||
18
target/linux/bcm27xx/modules/i2c.mk
Normal file
18
target/linux/bcm27xx/modules/i2c.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Copyright (C) 2019 OpenWrt.org
|
||||
|
||||
I2C_BCM2835_MODULES:=\
|
||||
CONFIG_I2C_BCM2835:drivers/i2c/busses/i2c-bcm2835
|
||||
|
||||
define KernelPackage/i2c-bcm2835
|
||||
$(call i2c_defaults,$(I2C_BCM2835_MODULES),59)
|
||||
TITLE:=Broadcom BCM2835 I2C master controller driver
|
||||
DEPENDS:=@TARGET_bcm27xx +kmod-i2c-core
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-bcm2835/description
|
||||
This package contains the Broadcom 2835 I2C master controller driver
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-bcm2835))
|
||||
55
target/linux/bcm27xx/modules/other.mk
Normal file
55
target/linux/bcm27xx/modules/other.mk
Normal file
@@ -0,0 +1,55 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Copyright (C) 2019 OpenWrt.org
|
||||
|
||||
define KernelPackage/pwm-bcm2835
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=BCM2835 PWM driver
|
||||
KCONFIG:= \
|
||||
CONFIG_PWM=y \
|
||||
CONFIG_PWM_BCM2835
|
||||
FILES:=$(LINUX_DIR)/drivers/pwm/pwm-bcm2835.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,pwm-bcm2835)
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define KernelPackage/pwm-bcm2835/description
|
||||
This package contains the PWM framework driver for BCM2835 controller (Raspberry Pi)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pwm-bcm2835))
|
||||
|
||||
|
||||
define KernelPackage/smi-bcm2835
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=BCM2835 SMI driver
|
||||
KCONFIG:=CONFIG_BCM2835_SMI
|
||||
FILES:=$(LINUX_DIR)/drivers/misc/bcm2835_smi.ko
|
||||
AUTOLOAD:=$(call AutoLoad,20,bcm2835_smi)
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define KernelPackage/smi-bcm2835/description
|
||||
This package contains the Character device driver for Broadcom Secondary
|
||||
Memory Interface
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,smi-bcm2835))
|
||||
|
||||
|
||||
define KernelPackage/smi-bcm2835-dev
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=BCM2835 SMI device driver
|
||||
KCONFIG:=CONFIG_BCM2835_SMI_DEV
|
||||
FILES:=$(LINUX_DIR)/drivers/char/broadcom/bcm2835_smi_dev.ko
|
||||
AUTOLOAD:=$(call AutoLoad,21,bcm2835_smi_dev)
|
||||
DEPENDS:=@TARGET_bcm27xx +kmod-smi-bcm2835
|
||||
endef
|
||||
|
||||
define KernelPackage/smi-bcm2835-dev/description
|
||||
This driver provides a character device interface (ioctl + read/write) to
|
||||
Broadcom's Secondary Memory interface. The low-level functionality is provided
|
||||
by the SMI driver itself.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,smi-bcm2835-dev))
|
||||
1016
target/linux/bcm27xx/modules/sound.mk
Normal file
1016
target/linux/bcm27xx/modules/sound.mk
Normal file
File diff suppressed because it is too large
Load Diff
40
target/linux/bcm27xx/modules/spi.mk
Normal file
40
target/linux/bcm27xx/modules/spi.mk
Normal file
@@ -0,0 +1,40 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Copyright (C) 2019 OpenWrt.org
|
||||
|
||||
define KernelPackage/spi-bcm2835
|
||||
SUBMENU:=$(SPI_MENU)
|
||||
TITLE:=BCM2835 SPI controller driver
|
||||
KCONFIG:=\
|
||||
CONFIG_SPI=y \
|
||||
CONFIG_SPI_BCM2835 \
|
||||
CONFIG_SPI_MASTER=y
|
||||
FILES:=$(LINUX_DIR)/drivers/spi/spi-bcm2835.ko
|
||||
AUTOLOAD:=$(call AutoLoad,89,spi-bcm2835)
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define KernelPackage/spi-bcm2835/description
|
||||
This package contains the Broadcom 2835 SPI master controller driver
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,spi-bcm2835))
|
||||
|
||||
|
||||
define KernelPackage/spi-bcm2835-aux
|
||||
SUBMENU:=$(SPI_MENU)
|
||||
TITLE:=BCM2835 Aux SPI controller driver
|
||||
KCONFIG:=\
|
||||
CONFIG_SPI=y \
|
||||
CONFIG_SPI_BCM2835AUX \
|
||||
CONFIG_SPI_MASTER=y
|
||||
FILES:=$(LINUX_DIR)/drivers/spi/spi-bcm2835aux.ko
|
||||
AUTOLOAD:=$(call AutoLoad,89,spi-bcm2835aux)
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define KernelPackage/spi-bcm2835-aux/description
|
||||
This package contains the Broadcom 2835 Aux SPI master controller driver
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,spi-bcm2835-aux))
|
||||
87
target/linux/bcm27xx/modules/video.mk
Normal file
87
target/linux/bcm27xx/modules/video.mk
Normal file
@@ -0,0 +1,87 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Copyright (C) 2019 OpenWrt.org
|
||||
|
||||
define KernelPackage/camera-bcm2835
|
||||
TITLE:=BCM2835 Camera
|
||||
KCONFIG:= \
|
||||
CONFIG_VIDEO_BCM2835 \
|
||||
CONFIG_VIDEO_BCM2835_MMAL \
|
||||
CONFIG_VIDEO_BCM2835_UNICAM=n \
|
||||
CONFIG_VIDEO_ISP_BCM2835=n
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/staging/vc04_services/bcm2835-camera/bcm2835-v4l2.ko
|
||||
AUTOLOAD:=$(call AutoLoad,65,bcm2835-v4l2)
|
||||
$(call AddDepends/video,@TARGET_bcm27xx +kmod-vchiq-mmal-bcm2835 +kmod-video-videobuf2)
|
||||
endef
|
||||
|
||||
define KernelPackage/camera-bcm2835/description
|
||||
Camera host interface devices for Broadcom BCM2835 SoC.
|
||||
This operates over the VCHIQ interface to a service running on VideoCore.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,camera-bcm2835))
|
||||
|
||||
|
||||
define KernelPackage/drm-vc4
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=Broadcom VC4 Graphics
|
||||
DEPENDS:= \
|
||||
@TARGET_bcm27xx +kmod-drm \
|
||||
+kmod-sound-core \
|
||||
+kmod-sound-soc-core
|
||||
KCONFIG:= \
|
||||
CONFIG_DRM_VC4 \
|
||||
CONFIG_DRM_VC4_HDMI_CEC=y \
|
||||
CONFIG_DRM_GUD=n \
|
||||
CONFIG_DRM_V3D=n \
|
||||
CONFIG_DRM_TVE200=n
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/gpu/drm/vc4/vc4.ko \
|
||||
$(LINUX_DIR)/drivers/gpu/drm/drm_kms_helper.ko \
|
||||
$(LINUX_DIR)/drivers/media/cec/cec.ko@lt5.10 \
|
||||
$(LINUX_DIR)/drivers/media/cec/core/cec.ko@ge5.10
|
||||
AUTOLOAD:=$(call AutoProbe,vc4)
|
||||
endef
|
||||
|
||||
define KernelPackage/drm-vc4/description
|
||||
Direct Rendering Manager (DRM) support for Broadcom VideoCore IV GPU
|
||||
used in BCM2835, BCM2836 and BCM2837 SoCs (e.g. Raspberry Pi).
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,drm-vc4))
|
||||
|
||||
|
||||
define KernelPackage/vc-sm-cma
|
||||
TITLE:=VideoCore Shared Memory (CMA) driver
|
||||
KCONFIG:= \
|
||||
CONFIG_BCM_VC_SM_CMA
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/staging/vc04_services/vc-sm-cma/vc-sm-cma.ko
|
||||
$(call AddDepends/video,@TARGET_bcm27xx)
|
||||
endef
|
||||
|
||||
define KernelPackage/vc-sm-cma/description
|
||||
Shared memory interface that supports sharing dmabufs with VideoCore.
|
||||
This operates over the VCHIQ interface to a service running on VideoCore.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,vc-sm-cma))
|
||||
|
||||
|
||||
define KernelPackage/vchiq-mmal-bcm2835
|
||||
TITLE:=BCM2835 MMAL VCHIQ service
|
||||
KCONFIG:= \
|
||||
CONFIG_BCM2835_VCHIQ_MMAL \
|
||||
CONFIG_VIDEO_CODEC_BCM2835=n
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/staging/vc04_services/vchiq-mmal/bcm2835-mmal-vchiq.ko
|
||||
$(call AddDepends/video,@TARGET_bcm27xx +kmod-vc-sm-cma)
|
||||
endef
|
||||
|
||||
define KernelPackage/vchiq-mmal-bcm2835/description
|
||||
Enables the MMAL API over VCHIQ as used for the
|
||||
majority of the multimedia services on VideoCore.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,vchiq-mmal-bcm2835))
|
||||
Reference in New Issue
Block a user