summaryrefslogtreecommitdiff
path: root/drivers/pwm/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-04-17 03:01:11 (GMT)
committerTom Rini <trini@konsulko.com>2017-04-27 20:49:02 (GMT)
commit43b41566f72c3ff1074fe686f37227ebe33e11f9 (patch)
tree8fb90db0bfe55a22257930fdd5512e0e2fc03f89 /drivers/pwm/Kconfig
parent29f089a60547178cd59b5482c57e6a87bdd11089 (diff)
downloadu-boot-fsl-qoriq-43b41566f72c3ff1074fe686f37227ebe33e11f9.tar.xz
dm: sandbox: pwm: Add a basic pwm test
Unfortunately a test for the PWM uclass was not included when it was submitted. This was noticed when trying to add more functionality: http://patchwork.ozlabs.org/patch/748172/ Add a simple test to get us started. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pwm/Kconfig')
-rw-r--r--drivers/pwm/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 37ea2b8..e827558 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -27,6 +27,14 @@ config PWM_ROCKCHIP
Various options provided in the hardware (such as capture mode and
continuous/single-shot) are not supported by the driver.
+config PWM_SANDBOX
+ bool "Enable support for the sandbox 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
+ useful. The PWM can be enabled but is not connected to any outputs
+ so this is not very useful.
+
config PWM_TEGRA
bool "Enable support for the Tegra PWM"
depends on DM_PWM