summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-04-14 21:03:23 -0600
committerTom Warren <twarren@nvidia.com>2015-05-13 09:24:07 -0700
commitdb043785bbceb708a353593098d8af01cab35d05 (patch)
tree2bbb024c4814baac8a1750f14ecb648b1cb3e917 /arch/arm/include
parent1c82c2f60a6f5a5c16f1ea7144da479e78760e06 (diff)
downloadu-boot-imx-db043785bbceb708a353593098d8af01cab35d05.zip
u-boot-imx-db043785bbceb708a353593098d8af01cab35d05.tar.gz
u-boot-imx-db043785bbceb708a353593098d8af01cab35d05.tar.bz2
tegra: pwm: Allow the clock rate to be left as is
When enabling a PWM, allow the existing clock rate and source to stand unchanged. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-tegra/pwm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-tegra/pwm.h b/arch/arm/include/asm/arch-tegra/pwm.h
index 8e7397d..92dced4 100644
--- a/arch/arm/include/asm/arch-tegra/pwm.h
+++ b/arch/arm/include/asm/arch-tegra/pwm.h
@@ -31,7 +31,7 @@ struct pwm_ctlr {
* Program the PWM with the given parameters.
*
* @param channel PWM channel to update
- * @param rate Clock rate to use for PWM
+ * @param rate Clock rate to use for PWM, or 0 to leave alone
* @param pulse_width high pulse width: 0=always low, 1=1/256 pulse high,
* n = n/256 pulse high
* @param freq_divider frequency divider value (1 to use rate as is)