summaryrefslogtreecommitdiff
path: root/lib/fdtdec.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-17 13:24:49 +0000
committerTom Warren <twarren@nvidia.com>2012-11-19 08:15:36 -0700
commite1ae0d1f7185948d576dd7b53654444a0079a92d (patch)
tree60e4566fec33781968829b9477322837c634c447 /lib/fdtdec.c
parenteefe3e598e38dc4e433d5b39c2f5528ffea461e3 (diff)
downloadu-boot-imx-e1ae0d1f7185948d576dd7b53654444a0079a92d.zip
u-boot-imx-e1ae0d1f7185948d576dd7b53654444a0079a92d.tar.gz
u-boot-imx-e1ae0d1f7185948d576dd7b53654444a0079a92d.tar.bz2
tegra: Add support for PWM
The pulse width/frequency modulation peripheral supports generating a repeating pulse. It is useful for controlling LCD brightness. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'lib/fdtdec.c')
-rw-r--r--lib/fdtdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 4c23f45..947f7c0 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -43,6 +43,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(NVIDIA_TEGRA20_EMC_TABLE, "nvidia,tegra20-emc-table"),
COMPAT(NVIDIA_TEGRA20_KBC, "nvidia,tegra20-kbc"),
COMPAT(NVIDIA_TEGRA20_NAND, "nvidia,tegra20-nand"),
+ COMPAT(NVIDIA_TEGRA20_PWM, "nvidia,tegra20-pwm"),
};
const char *fdtdec_get_compatible(enum fdt_compat_id id)