1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2019 OpenWrt.org
5 define KernelPackage
/pwm-raspberrypi-poe
7 TITLE
:=Raspberry Pi Firwmware PoE Hat PWM support
10 CONFIG_PWM_RASPBERRYPI_POE
11 FILES
:=$(LINUX_DIR
)/drivers
/pwm
/pwm-raspberrypi-poe.ko
12 AUTOLOAD
:=$(call AutoLoad
,20,pwm-raspberrypi-poe
)
13 DEPENDS
:=@TARGET_bcm27xx
+kmod-hwmon-pwmfan
16 define KernelPackage
/pwm-raspberrypi-poe
/description
17 This package provides Raspberry Pi Firwmware PoE Hat PWM support
20 $(eval
$(call KernelPackage
,pwm-raspberrypi-poe
))
23 define KernelPackage
/smi-bcm2835
24 SUBMENU
:=$(OTHER_MENU
)
25 TITLE
:=BCM2835 SMI driver
26 KCONFIG
:=CONFIG_BCM2835_SMI
27 FILES
:=$(LINUX_DIR
)/drivers
/misc
/bcm2835_smi.ko
28 AUTOLOAD
:=$(call AutoLoad
,20,bcm2835_smi
)
29 DEPENDS
:=@TARGET_bcm27xx
32 define KernelPackage
/smi-bcm2835
/description
33 This package contains the Character device driver for Broadcom Secondary
37 $(eval
$(call KernelPackage
,smi-bcm2835
))
40 define KernelPackage
/smi-bcm2835-dev
41 SUBMENU
:=$(OTHER_MENU
)
42 TITLE
:=BCM2835 SMI device driver
43 KCONFIG
:=CONFIG_BCM2835_SMI_DEV
44 FILES
:=$(LINUX_DIR
)/drivers
/char
/broadcom
/bcm2835_smi_dev.ko
45 AUTOLOAD
:=$(call AutoLoad
,21,bcm2835_smi_dev
)
46 DEPENDS
:=@TARGET_bcm27xx
+kmod-smi-bcm2835
49 define KernelPackage
/smi-bcm2835-dev
/description
50 This driver provides a character device interface
(ioctl
+ read
/write
) to
51 Broadcom
's Secondary Memory interface. The low-level functionality is provided
52 by the SMI driver itself.
55 $(eval $(call KernelPackage,smi-bcm2835-dev))