build: define PWM_SUPPORT arch feature flag
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 29 Aug 2020 21:07:28 +0000 (23:07 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 25 Sep 2020 17:32:33 +0000 (19:32 +0200)
commitf6fbc397066e57d180aebc62e6bf52464d06bd76
treeb720f3099775ad38c5a0487fad9b830e745521ce
parentfed1788689a180fa6f0ac2bc0f8f4659e8026e84
build: define PWM_SUPPORT arch feature flag

As the PWM has its own sub-system in the Linux kernel,
I think it should be handled in the same way as GPIO, RTC, PCI...

This patch introduces a specific feature flag "pwm" and the
"leds-pwm" kernel module as the first customer.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
package/kernel/linux/modules/leds.mk
scripts/target-metadata.pl
target/Config.in