mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-21 03:55:06 +00:00
bcm27xx: enable PWM drivers in config
Removes PWM module package. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
9b4169df2d
commit
50d33825b6
@ -132,6 +132,7 @@ CONFIG_EDAC_SUPPORT=y
|
|||||||
CONFIG_EXT4_FS=y
|
CONFIG_EXT4_FS=y
|
||||||
CONFIG_EXT4_FS_POSIX_ACL=y
|
CONFIG_EXT4_FS_POSIX_ACL=y
|
||||||
CONFIG_EXT4_FS_SECURITY=y
|
CONFIG_EXT4_FS_SECURITY=y
|
||||||
|
CONFIG_EXTCON=y
|
||||||
CONFIG_F2FS_FS=y
|
CONFIG_F2FS_FS=y
|
||||||
CONFIG_FB=y
|
CONFIG_FB=y
|
||||||
CONFIG_FB_BCM2708=y
|
CONFIG_FB_BCM2708=y
|
||||||
@ -212,6 +213,7 @@ CONFIG_JBD2=y
|
|||||||
CONFIG_KERNEL_GZIP=y
|
CONFIG_KERNEL_GZIP=y
|
||||||
# CONFIG_KERNEL_XZ is not set
|
# CONFIG_KERNEL_XZ is not set
|
||||||
CONFIG_LEDS_GPIO=y
|
CONFIG_LEDS_GPIO=y
|
||||||
|
CONFIG_LEDS_PWM=y
|
||||||
CONFIG_LEDS_TRIGGER_ACTPWR=y
|
CONFIG_LEDS_TRIGGER_ACTPWR=y
|
||||||
CONFIG_LEDS_TRIGGER_INPUT=y
|
CONFIG_LEDS_TRIGGER_INPUT=y
|
||||||
CONFIG_LIBFDT=y
|
CONFIG_LIBFDT=y
|
||||||
@ -288,6 +290,9 @@ CONFIG_PM_SLEEP=y
|
|||||||
CONFIG_POWER_SUPPLY=y
|
CONFIG_POWER_SUPPLY=y
|
||||||
CONFIG_PRINTK_TIME=y
|
CONFIG_PRINTK_TIME=y
|
||||||
CONFIG_PTP_1588_CLOCK_OPTIONAL=y
|
CONFIG_PTP_1588_CLOCK_OPTIONAL=y
|
||||||
|
CONFIG_PWM=y
|
||||||
|
CONFIG_PWM_BCM2835=y
|
||||||
|
CONFIG_PWM_SYSFS=y
|
||||||
CONFIG_RASPBERRYPI_FIRMWARE=y
|
CONFIG_RASPBERRYPI_FIRMWARE=y
|
||||||
CONFIG_RASPBERRYPI_POWER=y
|
CONFIG_RASPBERRYPI_POWER=y
|
||||||
CONFIG_RATIONAL=y
|
CONFIG_RATIONAL=y
|
||||||
@ -348,6 +353,7 @@ CONFIG_USB_COMMON=y
|
|||||||
CONFIG_USB_DWCOTG=y
|
CONFIG_USB_DWCOTG=y
|
||||||
CONFIG_USB_NET_DRIVERS=y
|
CONFIG_USB_NET_DRIVERS=y
|
||||||
CONFIG_USB_NET_SMSC95XX=y
|
CONFIG_USB_NET_SMSC95XX=y
|
||||||
|
CONFIG_USB_PHY=y
|
||||||
CONFIG_USB_STORAGE=y
|
CONFIG_USB_STORAGE=y
|
||||||
CONFIG_USB_SUPPORT=y
|
CONFIG_USB_SUPPORT=y
|
||||||
CONFIG_USB_UAS=y
|
CONFIG_USB_UAS=y
|
||||||
|
@ -268,6 +268,7 @@ CONFIG_KEYS=y
|
|||||||
CONFIG_KMAP_LOCAL=y
|
CONFIG_KMAP_LOCAL=y
|
||||||
CONFIG_KMAP_LOCAL_NON_LINEAR_PTE_ARRAY=y
|
CONFIG_KMAP_LOCAL_NON_LINEAR_PTE_ARRAY=y
|
||||||
CONFIG_LEDS_GPIO=y
|
CONFIG_LEDS_GPIO=y
|
||||||
|
CONFIG_LEDS_PWM=y
|
||||||
CONFIG_LEDS_TRIGGER_ACTPWR=y
|
CONFIG_LEDS_TRIGGER_ACTPWR=y
|
||||||
CONFIG_LEDS_TRIGGER_INPUT=y
|
CONFIG_LEDS_TRIGGER_INPUT=y
|
||||||
CONFIG_LIBFDT=y
|
CONFIG_LIBFDT=y
|
||||||
@ -365,6 +366,9 @@ CONFIG_PM_SLEEP_SMP=y
|
|||||||
CONFIG_POWER_SUPPLY=y
|
CONFIG_POWER_SUPPLY=y
|
||||||
CONFIG_PRINTK_TIME=y
|
CONFIG_PRINTK_TIME=y
|
||||||
CONFIG_PTP_1588_CLOCK_OPTIONAL=y
|
CONFIG_PTP_1588_CLOCK_OPTIONAL=y
|
||||||
|
CONFIG_PWM=y
|
||||||
|
CONFIG_PWM_BCM2835=y
|
||||||
|
CONFIG_PWM_SYSFS=y
|
||||||
CONFIG_RAS=y
|
CONFIG_RAS=y
|
||||||
CONFIG_RASPBERRYPI_FIRMWARE=y
|
CONFIG_RASPBERRYPI_FIRMWARE=y
|
||||||
CONFIG_RASPBERRYPI_POWER=y
|
CONFIG_RASPBERRYPI_POWER=y
|
||||||
|
@ -256,6 +256,7 @@ CONFIG_IRQ_WORK=y
|
|||||||
CONFIG_JBD2=y
|
CONFIG_JBD2=y
|
||||||
CONFIG_KEYS=y
|
CONFIG_KEYS=y
|
||||||
CONFIG_LEDS_GPIO=y
|
CONFIG_LEDS_GPIO=y
|
||||||
|
CONFIG_LEDS_PWM=y
|
||||||
CONFIG_LEDS_TRIGGER_ACTPWR=y
|
CONFIG_LEDS_TRIGGER_ACTPWR=y
|
||||||
CONFIG_LEDS_TRIGGER_INPUT=y
|
CONFIG_LEDS_TRIGGER_INPUT=y
|
||||||
CONFIG_LIBFDT=y
|
CONFIG_LIBFDT=y
|
||||||
@ -345,6 +346,9 @@ CONFIG_POWER_RESET=y
|
|||||||
CONFIG_POWER_SUPPLY=y
|
CONFIG_POWER_SUPPLY=y
|
||||||
CONFIG_PRINTK_TIME=y
|
CONFIG_PRINTK_TIME=y
|
||||||
CONFIG_PTP_1588_CLOCK_OPTIONAL=y
|
CONFIG_PTP_1588_CLOCK_OPTIONAL=y
|
||||||
|
CONFIG_PWM=y
|
||||||
|
CONFIG_PWM_BCM2835=y
|
||||||
|
CONFIG_PWM_SYSFS=y
|
||||||
CONFIG_QUEUED_RWLOCKS=y
|
CONFIG_QUEUED_RWLOCKS=y
|
||||||
CONFIG_QUEUED_SPINLOCKS=y
|
CONFIG_QUEUED_SPINLOCKS=y
|
||||||
CONFIG_RASPBERRYPI_FIRMWARE=y
|
CONFIG_RASPBERRYPI_FIRMWARE=y
|
||||||
|
@ -263,6 +263,7 @@ CONFIG_IRQ_WORK=y
|
|||||||
CONFIG_JBD2=y
|
CONFIG_JBD2=y
|
||||||
CONFIG_KEYS=y
|
CONFIG_KEYS=y
|
||||||
CONFIG_LEDS_GPIO=y
|
CONFIG_LEDS_GPIO=y
|
||||||
|
CONFIG_LEDS_PWM=y
|
||||||
CONFIG_LEDS_TRIGGER_ACTPWR=y
|
CONFIG_LEDS_TRIGGER_ACTPWR=y
|
||||||
CONFIG_LEDS_TRIGGER_INPUT=y
|
CONFIG_LEDS_TRIGGER_INPUT=y
|
||||||
CONFIG_LIBFDT=y
|
CONFIG_LIBFDT=y
|
||||||
@ -355,6 +356,9 @@ CONFIG_POWER_RESET=y
|
|||||||
CONFIG_POWER_SUPPLY=y
|
CONFIG_POWER_SUPPLY=y
|
||||||
CONFIG_PRINTK_TIME=y
|
CONFIG_PRINTK_TIME=y
|
||||||
CONFIG_PTP_1588_CLOCK_OPTIONAL=y
|
CONFIG_PTP_1588_CLOCK_OPTIONAL=y
|
||||||
|
CONFIG_PWM=y
|
||||||
|
CONFIG_PWM_BCM2835=y
|
||||||
|
CONFIG_PWM_SYSFS=y
|
||||||
CONFIG_QUEUED_RWLOCKS=y
|
CONFIG_QUEUED_RWLOCKS=y
|
||||||
CONFIG_QUEUED_SPINLOCKS=y
|
CONFIG_QUEUED_SPINLOCKS=y
|
||||||
CONFIG_RAS=y
|
CONFIG_RAS=y
|
||||||
|
@ -2,24 +2,6 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2019 OpenWrt.org
|
# 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/pwm-raspberrypi-poe
|
define KernelPackage/pwm-raspberrypi-poe
|
||||||
SUBMENU:=$(OTHER_MENU)
|
SUBMENU:=$(OTHER_MENU)
|
||||||
TITLE:=Raspberry Pi Firwmware PoE Hat PWM support
|
TITLE:=Raspberry Pi Firwmware PoE Hat PWM support
|
||||||
|
Loading…
Reference in New Issue
Block a user