summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2025-10-30 11:03:56 +0100
committerTom Rini <[email protected]>2025-11-07 13:01:12 -0600
commit534892522514b2e72614cd0af1d352879cf7604a (patch)
tree35bcb5125061d08db501f7e72d85829761519bae
parent3dd58620fa298915c813ac0deba3e7872c484b90 (diff)
pwm: make sandbox depend on DM_PWM
Since it is registered as a U_CLASS_DRIVER, Sandbox PWM driver is a Driver Model Driver and thus to be usable depends on DM_PWM to be selected. Let's make sure of that via the appropriate Kconfig option. Signed-off-by: Quentin Schulz <[email protected]>
-rw-r--r--drivers/pwm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index ec57a967721..e8a21653020 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -82,6 +82,7 @@ config PWM_ROCKCHIP
config PWM_SANDBOX
bool "Enable support for the sandbox PWM"
+ depends on DM_PWM
help
This is a sandbox PWM used for testing. It provides 3 channels and
records the settings passed into it, but otherwise does nothing