Skip to content

Commit

Permalink
tegra20: complete periph_id enum
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Acked-by: Simon Glass <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
  • Loading branch information
lynxeye-dev authored and trini committed Oct 15, 2012
1 parent 01ca286 commit 3f44e44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/cpu/tegra20-common/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/include/asm/arch-tegra20/clock-tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3f44e44

Please sign in to comment.