diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-03-04 16:21:52 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-03-04 16:22:33 -0500 |
commit | 2eed4e7d8631d8404fdef9c09d26a48376186ad1 (patch) | |
tree | e3f85a5f6e0d643216b1d8994dc023fc4e0c0b2b /arch | |
parent | 721d6d1ecc281541a7d89989779e02af09f13c13 (diff) | |
parent | c5444f39620b2b7801eb1997c41befdc8bcf78ea (diff) |
Merge tag 'tegra-boards' of git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra into tegra/boards
Tegra board updates. Most of the board updates for tegra30 and for some
of the driver device-tree conversions have gone in through the other
branches, so that leaves quite little left here -- mostly a couple
of updates to the not-yet-converted tegra2 boards and a couple of
device-tree updates.
* tag 'tegra-boards' of git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra:
ARM: tegra: match SoC name not board name in DT board files
ARM: tegra: PCIe: Provide 3.3V supply voltage
ARM: dt: tegra: add the wifi led to paz00 device tree
ARM: dt: tegra: add the power gpio key to paz00 device tree
ARM: dt: tegra: add ADT7461 temperature sensor to paz00 device tree
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/tegra-paz00.dts | 26 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-dt-tegra20.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-dt-tegra30.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-harmony-power.c | 3 |
4 files changed, 30 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/tegra-paz00.dts b/arch/arm/boot/dts/tegra-paz00.dts index 825d2957da0b..61f385809970 100644 --- a/arch/arm/boot/dts/tegra-paz00.dts +++ b/arch/arm/boot/dts/tegra-paz00.dts | |||
@@ -35,6 +35,11 @@ | |||
35 | 35 | ||
36 | i2c@7000d000 { | 36 | i2c@7000d000 { |
37 | clock-frequency = <400000>; | 37 | clock-frequency = <400000>; |
38 | |||
39 | adt7461@4c { | ||
40 | compatible = "adi,adt7461"; | ||
41 | reg = <0x4c>; | ||
42 | }; | ||
38 | }; | 43 | }; |
39 | 44 | ||
40 | serial@70006000 { | 45 | serial@70006000 { |
@@ -74,4 +79,25 @@ | |||
74 | sdhci@c8000600 { | 79 | sdhci@c8000600 { |
75 | support-8bit; | 80 | support-8bit; |
76 | }; | 81 | }; |
82 | |||
83 | gpio-keys { | ||
84 | compatible = "gpio-keys"; | ||
85 | |||
86 | power { | ||
87 | label = "Power"; | ||
88 | gpios = <&gpio 79 1>; /* gpio PJ7, active low */ | ||
89 | linux,code = <116>; /* KEY_POWER */ | ||
90 | gpio-key,wakeup; | ||
91 | }; | ||
92 | }; | ||
93 | |||
94 | gpio-leds { | ||
95 | compatible = "gpio-leds"; | ||
96 | |||
97 | wifi { | ||
98 | label = "wifi-led"; | ||
99 | gpios = <&gpio 24 0>; | ||
100 | linux,default-trigger = "rfkill0"; | ||
101 | }; | ||
102 | }; | ||
77 | }; | 103 | }; |
diff --git a/arch/arm/mach-tegra/board-dt-tegra20.c b/arch/arm/mach-tegra/board-dt-tegra20.c index 7a95e0bc4aba..e20b419d5983 100644 --- a/arch/arm/mach-tegra/board-dt-tegra20.c +++ b/arch/arm/mach-tegra/board-dt-tegra20.c | |||
@@ -131,11 +131,7 @@ static void __init tegra_dt_init(void) | |||
131 | } | 131 | } |
132 | 132 | ||
133 | static const char *tegra20_dt_board_compat[] = { | 133 | static const char *tegra20_dt_board_compat[] = { |
134 | "compulab,trimslice", | 134 | "nvidia,tegra20", |
135 | "nvidia,harmony", | ||
136 | "compal,paz00", | ||
137 | "nvidia,seaboard", | ||
138 | "nvidia,ventana", | ||
139 | NULL | 135 | NULL |
140 | }; | 136 | }; |
141 | 137 | ||
diff --git a/arch/arm/mach-tegra/board-dt-tegra30.c b/arch/arm/mach-tegra/board-dt-tegra30.c index 3c197e2440b7..6db4df28e6cd 100644 --- a/arch/arm/mach-tegra/board-dt-tegra30.c +++ b/arch/arm/mach-tegra/board-dt-tegra30.c | |||
@@ -47,7 +47,7 @@ static void __init tegra30_dt_init(void) | |||
47 | } | 47 | } |
48 | 48 | ||
49 | static const char *tegra30_dt_board_compat[] = { | 49 | static const char *tegra30_dt_board_compat[] = { |
50 | "nvidia,cardhu", | 50 | "nvidia,tegra30", |
51 | NULL | 51 | NULL |
52 | }; | 52 | }; |
53 | 53 | ||
diff --git a/arch/arm/mach-tegra/board-harmony-power.c b/arch/arm/mach-tegra/board-harmony-power.c index 21d1285731b3..c0298b3f7d63 100644 --- a/arch/arm/mach-tegra/board-harmony-power.c +++ b/arch/arm/mach-tegra/board-harmony-power.c | |||
@@ -36,13 +36,14 @@ static struct regulator_consumer_supply tps658621_ldo0_supply[] = { | |||
36 | 36 | ||
37 | static struct regulator_init_data ldo0_data = { | 37 | static struct regulator_init_data ldo0_data = { |
38 | .constraints = { | 38 | .constraints = { |
39 | .min_uV = 1250 * 1000, | 39 | .min_uV = 3300 * 1000, |
40 | .max_uV = 3300 * 1000, | 40 | .max_uV = 3300 * 1000, |
41 | .valid_modes_mask = (REGULATOR_MODE_NORMAL | | 41 | .valid_modes_mask = (REGULATOR_MODE_NORMAL | |
42 | REGULATOR_MODE_STANDBY), | 42 | REGULATOR_MODE_STANDBY), |
43 | .valid_ops_mask = (REGULATOR_CHANGE_MODE | | 43 | .valid_ops_mask = (REGULATOR_CHANGE_MODE | |
44 | REGULATOR_CHANGE_STATUS | | 44 | REGULATOR_CHANGE_STATUS | |
45 | REGULATOR_CHANGE_VOLTAGE), | 45 | REGULATOR_CHANGE_VOLTAGE), |
46 | .apply_uV = 1, | ||
46 | }, | 47 | }, |
47 | .num_consumer_supplies = ARRAY_SIZE(tps658621_ldo0_supply), | 48 | .num_consumer_supplies = ARRAY_SIZE(tps658621_ldo0_supply), |
48 | .consumer_supplies = tps658621_ldo0_supply, | 49 | .consumer_supplies = tps658621_ldo0_supply, |