mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-12-20 01:01:53 +08:00
kernel: modules: add PWM GPIO module
Package the generic kernel PWM GPIO driver as module to avoid the need to build it into the kernel. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
This commit is contained in:
@@ -137,3 +137,20 @@ define KernelPackage/gpio-pcf857x/description
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,gpio-pcf857x))
|
||||
|
||||
|
||||
define KernelPackage/gpio-pwm
|
||||
SUBMENU:=$(GPIO_MENU)
|
||||
DEPENDS:=@GPIO_SUPPORT @PWM_SUPPORT @LINUX_6_12
|
||||
TITLE:=PWM GPIO support
|
||||
KCONFIG:=CONFIG_PWM_GPIO
|
||||
FILES:=$(LINUX_DIR)/drivers/pwm/pwm-gpio.ko
|
||||
AUTOLOAD:=$(call AutoProbe,pwm-gpio)
|
||||
endef
|
||||
|
||||
define KernelPackage/gpio-pwm/description
|
||||
Generic PWM framework driver for software PWM toggling a GPIO pin from
|
||||
kernel high-resolution timers.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,gpio-pwm))
|
||||
|
||||
Reference in New Issue
Block a user