885087b328
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>
19 lines
400 B
Plaintext
19 lines
400 B
Plaintext
# i.MX PWM Config
|
|
|
|
# Copyright (c) 2018, Diego Sueiro
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig PWM_IMX
|
|
bool "i.MX PWM Driver"
|
|
default y
|
|
depends on DT_HAS_FSL_IMX27_PWM_ENABLED
|
|
help
|
|
Enable support for i.MX pwm driver.
|
|
|
|
config PWM_PWMSWR_LOOP
|
|
int "Loop count for PWM Software Reset"
|
|
default 5
|
|
depends on PWM_IMX
|
|
help
|
|
Loop count for PWM Software Reset when disabling PWM channel.
|