summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2012-09-25 09:59:12 +0000
committerTom Rini <trini@ti.com>2012-10-15 11:54:06 -0700
commit3f44e44f33899821c4703c3bd5f9c117bb328e8b (patch)
tree63938f1a9c0e10ca551376593209fdbc3d29a00a /arch
parent01ca2865268b1e01ff3e0541e7ac0cc11717963c (diff)
downloadblackbird-obmc-uboot-3f44e44f33899821c4703c3bd5f9c117bb328e8b.tar.gz
blackbird-obmc-uboot-3f44e44f33899821c4703c3bd5f9c117bb328e8b.zip
tegra20: complete periph_id enum
Most Tegra boards output the ULPI reference clock on pad DEV2. Complete the periph_id enum so that we are able to enable this clock output circuit. Signed-off-by: Lucas Stach <dev@lynxeye.de> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/tegra20-common/clock.c1
-rw-r--r--arch/arm/include/asm/arch-tegra20/clock-tables.h6
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/cpu/tegra20-common/clock.c b/arch/arm/cpu/tegra20-common/clock.c
index bca777e830..a670b07465 100644
--- a/arch/arm/cpu/tegra20-common/clock.c
+++ b/arch/arm/cpu/tegra20-common/clock.c
@@ -502,6 +502,7 @@ static int clock_periph_id_isvalid(enum periph_id id)
case PERIPH_ID_RESERVED81:
case PERIPH_ID_RESERVED82:
case PERIPH_ID_RESERVED83:
+ case PERIPH_ID_RESERVED91:
printf("Peripheral id %d is reserved\n", id);
break;
default:
diff --git a/arch/arm/include/asm/arch-tegra20/clock-tables.h b/arch/arm/include/asm/arch-tegra20/clock-tables.h
index 089b3e7bfa..f2b276908b 100644
--- a/arch/arm/include/asm/arch-tegra20/clock-tables.h
+++ b/arch/arm/include/asm/arch-tegra20/clock-tables.h
@@ -165,6 +165,12 @@ enum periph_id {
/* 88 */
PERIPH_ID_CRAM2,
+ PERIPH_ID_SYNC_CLK_DOUBLER,
+ PERIPH_ID_CLK_M_DOUBLER,
+ PERIPH_ID_RESERVED91,
+ PERIPH_ID_SUS_OUT,
+ PERIPH_ID_DEV2_OUT,
+ PERIPH_ID_DEV1_OUT,
PERIPH_ID_COUNT,
PERIPH_ID_NONE = -1,
OpenPOWER on IntegriCloud