summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-06-15 12:03:49 -0400
committerTom Rini <[email protected]>2022-07-05 17:03:01 -0400
commitde0a73291550c68a7c7306c2627cbf6484241fef (patch)
tree2442a87f945e2d0930cb3d2a873b72a9c853cb07 /drivers
parentd398b29aa06553a65642ed49ab0bf98938ffa788 (diff)
Rename CONFIG_PWM to CONFIG_PWM_S5P and move to Kconfig
We rename the S5P specific "CONFIG_PWM" to CONFIG_PWM_S5P and move it to Kconfig. Given the usage of CONFIG_PWM_NX, we have that select this new symbol. Cc: Jaehoon Chung <[email protected]> Cc: Minkyu Kang <[email protected]> Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pwm/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index cb54e67faeb..8fd5a2e2051 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -84,6 +84,11 @@ config PWM_SANDBOX
useful. The PWM can be enabled but is not connected to any outputs
so this is not very useful.
+config PWM_S5P
+ bool "Enable non-DM support for S5P PWM"
+ depends on (S5P || ARCH_NEXELL)
+ default y
+
config PWM_SIFIVE
bool "Enable support for SiFive PWM"
depends on DM_PWM