drivers: pwm: Update drivers to use devicetree Kconfig symbol
Update pwm drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. We remove 'depend on' Kconfig for symbols that would be implied by the devicetree node existing. Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
parent
aae701d2c1
commit
885087b328
24 changed files with 52 additions and 45 deletions
|
@ -5,7 +5,8 @@
|
|||
|
||||
config PWM_GECKO
|
||||
bool "GECKO MCU PWM driver"
|
||||
depends on SOC_FAMILY_EXX32
|
||||
default y
|
||||
depends on DT_HAS_SILABS_GECKO_PWM_ENABLED
|
||||
select SOC_GECKO_TIMER
|
||||
help
|
||||
This option enables the PWM driver for EXX32 GECKO family of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue