]> git.sur5r.net Git - u-boot/commitdiff
tegra20: complete periph_id enum
authorLucas Stach <dev@lynxeye.de>
Tue, 25 Sep 2012 09:59:12 +0000 (09:59 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:06 +0000 (11:54 -0700)
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>
arch/arm/cpu/tegra20-common/clock.c
arch/arm/include/asm/arch-tegra20/clock-tables.h

index bca777e830811c997bf3e87119a822248ef99b8d..a670b074651ffeabf06af5ff06f5f2e4477f4845 100644 (file)
@@ -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:
index 089b3e7bfa7a36fcb522e6786571680a33b7b214..f2b276908b145241f99a1935db72baff9aaf7c9f 100644 (file)
@@ -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,