]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
pwm: make sandbox depend on DM_PWM
authorQuentin Schulz <quentin.schulz@cherry.de>
Thu, 30 Oct 2025 10:03:56 +0000 (11:03 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 7 Nov 2025 19:01:12 +0000 (13:01 -0600)
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 <quentin.schulz@cherry.de>
drivers/pwm/Kconfig

index ec57a9677210b4c8bbbd20e09da90bada289f9af..e8a216530205e1ef4b4d2c8274c460f12aa2711d 100644 (file)
@@ -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