summaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-30 16:38:00 -0700
committerTom Warren <twarren@nvidia.com>2016-02-16 09:17:53 -0700
commit41fa035ce1480aa87d42e4af0ed8ea841944c2c9 (patch)
treed25e795428627e6511d287e22ba23a986da8280b /drivers/pwm
parentf5acf91f6f956c81489db283d55ec83ab780e5a3 (diff)
downloadblackbird-obmc-uboot-41fa035ce1480aa87d42e4af0ed8ea841944c2c9.tar.gz
blackbird-obmc-uboot-41fa035ce1480aa87d42e4af0ed8ea841944c2c9.zip
tegra: Convert CONFIG_PWM_TEGRA to Kconfig
Move this option to Kconfig and clean up the header files. Adjust the only user (the LCD driver) to work with the new driver. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index cd8f3570f0..e5880ac84f 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -17,3 +17,11 @@ config PWM_ROCKCHIP
programmable period and duty cycle. A 32-bit counter is used.
Various options provided in the hardware (such as capture mode and
continuous/single-shot) are not supported by the driver.
+
+config PWM_TEGRA
+ bool "Enable support for the Tegra PWM"
+ help
+ This PWM is found on Tegra 20 and other Nvidia SoCs. It supports
+ four channels with a programmable period and duty cycle. Only a
+ 32KHz clock is supported by the driver but the duty cycle is
+ configurable.
OpenPOWER on IntegriCloud