diff options
-rw-r--r-- | Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt (renamed from Documentation/devicetree/bindings/arm/tegra/emc.txt) | 2 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt | 2 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-mc.txt | 2 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/gpio/nvidia,tegra20-gpio.txt (renamed from Documentation/devicetree/bindings/gpio/gpio_nvidia.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt (renamed from Documentation/devicetree/bindings/input/tegra-kbc.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt (renamed from Documentation/devicetree/bindings/mmc/nvidia-sdhci.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/nvec/nvidia,nvec.txt (renamed from Documentation/devicetree/bindings/nvec/nvec_nvidia.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/sound/nvidia,tegra-audio-alc5632.txt (renamed from Documentation/devicetree/bindings/sound/tegra-audio-alc5632.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/sound/nvidia,tegra-audio-trimslice.txt (renamed from Documentation/devicetree/bindings/sound/tegra-audio-trimslice.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt (renamed from Documentation/devicetree/bindings/sound/tegra-audio-wm8753.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt (renamed from Documentation/devicetree/bindings/sound/tegra-audio-wm8903.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/sound/nvidia,tegra20-das.txt (renamed from Documentation/devicetree/bindings/sound/tegra20-das.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt (renamed from Documentation/devicetree/bindings/sound/tegra20-i2s.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/spi/nvidia,tegra20-spi.txt (renamed from Documentation/devicetree/bindings/spi/spi_nvidia.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt (renamed from Documentation/devicetree/bindings/usb/tegra-usb.txt) | 0 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra20-harmony.dts (renamed from arch/arm/boot/dts/tegra-harmony.dts) | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra20-paz00.dts (renamed from arch/arm/boot/dts/tegra-paz00.dts) | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra20-seaboard.dts (renamed from arch/arm/boot/dts/tegra-seaboard.dts) | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra20-trimslice.dts (renamed from arch/arm/boot/dts/tegra-trimslice.dts) | 0 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra20-ventana.dts (renamed from arch/arm/boot/dts/tegra-ventana.dts) | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra20.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra30-cardhu.dts (renamed from arch/arm/boot/dts/tegra-cardhu.dts) | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra30.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/mach-tegra/Kconfig | 3 | ||||
-rw-r--r-- | arch/arm/mach-tegra/Makefile.boot | 12 | ||||
-rw-r--r-- | arch/arm/mach-tegra/cpuidle.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-tegra/sleep.S | 29 | ||||
-rw-r--r-- | drivers/amba/tegra-ahb.c | 6 | ||||
-rw-r--r-- | drivers/mmc/host/sdhci-tegra.c | 5 | ||||
-rw-r--r-- | sound/soc/tegra/Kconfig | 10 |
30 files changed, 21 insertions, 69 deletions
diff --git a/Documentation/devicetree/bindings/arm/tegra/emc.txt b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt index 09335f8eee00..4c33b29dc660 100644 --- a/Documentation/devicetree/bindings/arm/tegra/emc.txt +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt | |||
@@ -15,7 +15,7 @@ Child device nodes describe the memory settings for different configurations and | |||
15 | 15 | ||
16 | Example: | 16 | Example: |
17 | 17 | ||
18 | emc@7000f400 { | 18 | memory-controller@7000f400 { |
19 | #address-cells = < 1 >; | 19 | #address-cells = < 1 >; |
20 | #size-cells = < 0 >; | 20 | #size-cells = < 0 >; |
21 | compatible = "nvidia,tegra20-emc"; | 21 | compatible = "nvidia,tegra20-emc"; |
diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt index c25a0a55151d..866d93421eba 100644 --- a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt | |||
@@ -8,7 +8,7 @@ Required properties: | |||
8 | - interrupts : Should contain MC General interrupt. | 8 | - interrupts : Should contain MC General interrupt. |
9 | 9 | ||
10 | Example: | 10 | Example: |
11 | mc { | 11 | memory-controller@0x7000f000 { |
12 | compatible = "nvidia,tegra20-mc"; | 12 | compatible = "nvidia,tegra20-mc"; |
13 | reg = <0x7000f000 0x024 | 13 | reg = <0x7000f000 0x024 |
14 | 0x7000f03c 0x3c4>; | 14 | 0x7000f03c 0x3c4>; |
diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-mc.txt b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-mc.txt index e47e73f612f4..bdf1a612422b 100644 --- a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-mc.txt +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-mc.txt | |||
@@ -8,7 +8,7 @@ Required properties: | |||
8 | - interrupts : Should contain MC General interrupt. | 8 | - interrupts : Should contain MC General interrupt. |
9 | 9 | ||
10 | Example: | 10 | Example: |
11 | mc { | 11 | memory-controller { |
12 | compatible = "nvidia,tegra30-mc"; | 12 | compatible = "nvidia,tegra30-mc"; |
13 | reg = <0x7000f000 0x010 | 13 | reg = <0x7000f000 0x010 |
14 | 0x7000f03c 0x1b4 | 14 | 0x7000f03c 0x1b4 |
diff --git a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt b/Documentation/devicetree/bindings/gpio/nvidia,tegra20-gpio.txt index 023c9526e5f8..023c9526e5f8 100644 --- a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt +++ b/Documentation/devicetree/bindings/gpio/nvidia,tegra20-gpio.txt | |||
diff --git a/Documentation/devicetree/bindings/input/tegra-kbc.txt b/Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt index 72683be6de35..72683be6de35 100644 --- a/Documentation/devicetree/bindings/input/tegra-kbc.txt +++ b/Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt | |||
diff --git a/Documentation/devicetree/bindings/mmc/nvidia-sdhci.txt b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt index f77c3031607f..f77c3031607f 100644 --- a/Documentation/devicetree/bindings/mmc/nvidia-sdhci.txt +++ b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt | |||
diff --git a/Documentation/devicetree/bindings/nvec/nvec_nvidia.txt b/Documentation/devicetree/bindings/nvec/nvidia,nvec.txt index 5aeee53ff9f4..5aeee53ff9f4 100644 --- a/Documentation/devicetree/bindings/nvec/nvec_nvidia.txt +++ b/Documentation/devicetree/bindings/nvec/nvidia,nvec.txt | |||
diff --git a/Documentation/devicetree/bindings/sound/tegra-audio-alc5632.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-alc5632.txt index b77a97c9101e..b77a97c9101e 100644 --- a/Documentation/devicetree/bindings/sound/tegra-audio-alc5632.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-alc5632.txt | |||
diff --git a/Documentation/devicetree/bindings/sound/tegra-audio-trimslice.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-trimslice.txt index 04b14cfb1f16..04b14cfb1f16 100644 --- a/Documentation/devicetree/bindings/sound/tegra-audio-trimslice.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-trimslice.txt | |||
diff --git a/Documentation/devicetree/bindings/sound/tegra-audio-wm8753.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt index c4dd39ce6165..c4dd39ce6165 100644 --- a/Documentation/devicetree/bindings/sound/tegra-audio-wm8753.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt | |||
diff --git a/Documentation/devicetree/bindings/sound/tegra-audio-wm8903.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt index d5b0da8bf1d8..d5b0da8bf1d8 100644 --- a/Documentation/devicetree/bindings/sound/tegra-audio-wm8903.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt | |||
diff --git a/Documentation/devicetree/bindings/sound/tegra20-das.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra20-das.txt index 6de3a7ee4efb..6de3a7ee4efb 100644 --- a/Documentation/devicetree/bindings/sound/tegra20-das.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra20-das.txt | |||
diff --git a/Documentation/devicetree/bindings/sound/tegra20-i2s.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt index 0df2b5c816e3..0df2b5c816e3 100644 --- a/Documentation/devicetree/bindings/sound/tegra20-i2s.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt | |||
diff --git a/Documentation/devicetree/bindings/spi/spi_nvidia.txt b/Documentation/devicetree/bindings/spi/nvidia,tegra20-spi.txt index 6b9e51896693..6b9e51896693 100644 --- a/Documentation/devicetree/bindings/spi/spi_nvidia.txt +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra20-spi.txt | |||
diff --git a/Documentation/devicetree/bindings/usb/tegra-usb.txt b/Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt index e9b005dc7625..e9b005dc7625 100644 --- a/Documentation/devicetree/bindings/usb/tegra-usb.txt +++ b/Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt | |||
diff --git a/arch/arm/boot/dts/tegra-harmony.dts b/arch/arm/boot/dts/tegra20-harmony.dts index 7de701365fce..f146dbf6f7f8 100644 --- a/arch/arm/boot/dts/tegra-harmony.dts +++ b/arch/arm/boot/dts/tegra20-harmony.dts | |||
@@ -307,7 +307,6 @@ | |||
307 | cd-gpios = <&gpio 58 0>; /* gpio PH2 */ | 307 | cd-gpios = <&gpio 58 0>; /* gpio PH2 */ |
308 | wp-gpios = <&gpio 59 0>; /* gpio PH3 */ | 308 | wp-gpios = <&gpio 59 0>; /* gpio PH3 */ |
309 | power-gpios = <&gpio 70 0>; /* gpio PI6 */ | 309 | power-gpios = <&gpio 70 0>; /* gpio PI6 */ |
310 | support-8bit; | ||
311 | bus-width = <8>; | 310 | bus-width = <8>; |
312 | }; | 311 | }; |
313 | 312 | ||
diff --git a/arch/arm/boot/dts/tegra-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts index bfeb117d5aea..684a9e1ff7e9 100644 --- a/arch/arm/boot/dts/tegra-paz00.dts +++ b/arch/arm/boot/dts/tegra20-paz00.dts | |||
@@ -301,7 +301,6 @@ | |||
301 | 301 | ||
302 | sdhci@c8000600 { | 302 | sdhci@c8000600 { |
303 | status = "okay"; | 303 | status = "okay"; |
304 | support-8bit; | ||
305 | bus-width = <8>; | 304 | bus-width = <8>; |
306 | }; | 305 | }; |
307 | 306 | ||
diff --git a/arch/arm/boot/dts/tegra-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts index 89cb7f2acd92..b797901d040d 100644 --- a/arch/arm/boot/dts/tegra-seaboard.dts +++ b/arch/arm/boot/dts/tegra20-seaboard.dts | |||
@@ -334,7 +334,7 @@ | |||
334 | }; | 334 | }; |
335 | }; | 335 | }; |
336 | 336 | ||
337 | emc { | 337 | memory-controller@0x7000f400 { |
338 | emc-table@190000 { | 338 | emc-table@190000 { |
339 | reg = <190000>; | 339 | reg = <190000>; |
340 | compatible = "nvidia,tegra20-emc-table"; | 340 | compatible = "nvidia,tegra20-emc-table"; |
@@ -397,7 +397,6 @@ | |||
397 | 397 | ||
398 | sdhci@c8000600 { | 398 | sdhci@c8000600 { |
399 | status = "okay"; | 399 | status = "okay"; |
400 | support-8bit; | ||
401 | bus-width = <8>; | 400 | bus-width = <8>; |
402 | }; | 401 | }; |
403 | 402 | ||
diff --git a/arch/arm/boot/dts/tegra-trimslice.dts b/arch/arm/boot/dts/tegra20-trimslice.dts index 9de5636023f6..9de5636023f6 100644 --- a/arch/arm/boot/dts/tegra-trimslice.dts +++ b/arch/arm/boot/dts/tegra20-trimslice.dts | |||
diff --git a/arch/arm/boot/dts/tegra-ventana.dts b/arch/arm/boot/dts/tegra20-ventana.dts index 445343b0fbdd..be90544e6b59 100644 --- a/arch/arm/boot/dts/tegra-ventana.dts +++ b/arch/arm/boot/dts/tegra20-ventana.dts | |||
@@ -314,7 +314,6 @@ | |||
314 | 314 | ||
315 | sdhci@c8000600 { | 315 | sdhci@c8000600 { |
316 | status = "okay"; | 316 | status = "okay"; |
317 | support-8bit; | ||
318 | bus-width = <8>; | 317 | bus-width = <8>; |
319 | }; | 318 | }; |
320 | 319 | ||
diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index c417d67e9027..59116b852434 100644 --- a/arch/arm/boot/dts/tegra20.dtsi +++ b/arch/arm/boot/dts/tegra20.dtsi | |||
@@ -164,7 +164,7 @@ | |||
164 | reg = <0x7000e400 0x400>; | 164 | reg = <0x7000e400 0x400>; |
165 | }; | 165 | }; |
166 | 166 | ||
167 | mc { | 167 | memory-controller@0x7000f000 { |
168 | compatible = "nvidia,tegra20-mc"; | 168 | compatible = "nvidia,tegra20-mc"; |
169 | reg = <0x7000f000 0x024 | 169 | reg = <0x7000f000 0x024 |
170 | 0x7000f03c 0x3c4>; | 170 | 0x7000f03c 0x3c4>; |
@@ -177,7 +177,7 @@ | |||
177 | 0x58000000 0x02000000>; /* GART aperture */ | 177 | 0x58000000 0x02000000>; /* GART aperture */ |
178 | }; | 178 | }; |
179 | 179 | ||
180 | emc { | 180 | memory-controller@0x7000f400 { |
181 | compatible = "nvidia,tegra20-emc"; | 181 | compatible = "nvidia,tegra20-emc"; |
182 | reg = <0x7000f400 0x200>; | 182 | reg = <0x7000f400 0x200>; |
183 | #address-cells = <1>; | 183 | #address-cells = <1>; |
diff --git a/arch/arm/boot/dts/tegra-cardhu.dts b/arch/arm/boot/dts/tegra30-cardhu.dts index 36321bceec46..c169bced131e 100644 --- a/arch/arm/boot/dts/tegra-cardhu.dts +++ b/arch/arm/boot/dts/tegra30-cardhu.dts | |||
@@ -144,7 +144,6 @@ | |||
144 | 144 | ||
145 | sdhci@78000600 { | 145 | sdhci@78000600 { |
146 | status = "okay"; | 146 | status = "okay"; |
147 | support-8bit; | ||
148 | bus-width = <8>; | 147 | bus-width = <8>; |
149 | }; | 148 | }; |
150 | 149 | ||
diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index 2dcc09e784b5..19479393842e 100644 --- a/arch/arm/boot/dts/tegra30.dtsi +++ b/arch/arm/boot/dts/tegra30.dtsi | |||
@@ -167,7 +167,7 @@ | |||
167 | reg = <0x7000e400 0x400>; | 167 | reg = <0x7000e400 0x400>; |
168 | }; | 168 | }; |
169 | 169 | ||
170 | mc { | 170 | memory-controller { |
171 | compatible = "nvidia,tegra30-mc"; | 171 | compatible = "nvidia,tegra30-mc"; |
172 | reg = <0x7000f000 0x010 | 172 | reg = <0x7000f000 0x010 |
173 | 0x7000f03c 0x1b4 | 173 | 0x7000f03c 0x1b4 |
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 6a113a9bb87a..7c407393cd07 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig | |||
@@ -63,7 +63,6 @@ comment "Tegra board type" | |||
63 | config MACH_HARMONY | 63 | config MACH_HARMONY |
64 | bool "Harmony board" | 64 | bool "Harmony board" |
65 | depends on ARCH_TEGRA_2x_SOC | 65 | depends on ARCH_TEGRA_2x_SOC |
66 | select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC | ||
67 | help | 66 | help |
68 | Support for nVidia Harmony development platform | 67 | Support for nVidia Harmony development platform |
69 | 68 | ||
@@ -71,7 +70,6 @@ config MACH_KAEN | |||
71 | bool "Kaen board" | 70 | bool "Kaen board" |
72 | depends on ARCH_TEGRA_2x_SOC | 71 | depends on ARCH_TEGRA_2x_SOC |
73 | select MACH_SEABOARD | 72 | select MACH_SEABOARD |
74 | select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC | ||
75 | help | 73 | help |
76 | Support for the Kaen version of Seaboard | 74 | Support for the Kaen version of Seaboard |
77 | 75 | ||
@@ -84,7 +82,6 @@ config MACH_PAZ00 | |||
84 | config MACH_SEABOARD | 82 | config MACH_SEABOARD |
85 | bool "Seaboard board" | 83 | bool "Seaboard board" |
86 | depends on ARCH_TEGRA_2x_SOC | 84 | depends on ARCH_TEGRA_2x_SOC |
87 | select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC | ||
88 | help | 85 | help |
89 | Support for nVidia Seaboard development platform. It will | 86 | Support for nVidia Seaboard development platform. It will |
90 | also be included for some of the derivative boards that | 87 | also be included for some of the derivative boards that |
diff --git a/arch/arm/mach-tegra/Makefile.boot b/arch/arm/mach-tegra/Makefile.boot index 9a82094092d7..8040345bd971 100644 --- a/arch/arm/mach-tegra/Makefile.boot +++ b/arch/arm/mach-tegra/Makefile.boot | |||
@@ -2,9 +2,9 @@ zreladdr-$(CONFIG_ARCH_TEGRA_2x_SOC) += 0x00008000 | |||
2 | params_phys-$(CONFIG_ARCH_TEGRA_2x_SOC) := 0x00000100 | 2 | params_phys-$(CONFIG_ARCH_TEGRA_2x_SOC) := 0x00000100 |
3 | initrd_phys-$(CONFIG_ARCH_TEGRA_2x_SOC) := 0x00800000 | 3 | initrd_phys-$(CONFIG_ARCH_TEGRA_2x_SOC) := 0x00800000 |
4 | 4 | ||
5 | dtb-$(CONFIG_MACH_HARMONY) += tegra-harmony.dtb | 5 | dtb-$(CONFIG_MACH_HARMONY) += tegra20-harmony.dtb |
6 | dtb-$(CONFIG_MACH_PAZ00) += tegra-paz00.dtb | 6 | dtb-$(CONFIG_MACH_PAZ00) += tegra20-paz00.dtb |
7 | dtb-$(CONFIG_MACH_SEABOARD) += tegra-seaboard.dtb | 7 | dtb-$(CONFIG_MACH_SEABOARD) += tegra20-seaboard.dtb |
8 | dtb-$(CONFIG_MACH_TRIMSLICE) += tegra-trimslice.dtb | 8 | dtb-$(CONFIG_MACH_TRIMSLICE) += tegra20-trimslice.dtb |
9 | dtb-$(CONFIG_MACH_VENTANA) += tegra-ventana.dtb | 9 | dtb-$(CONFIG_MACH_VENTANA) += tegra20-ventana.dtb |
10 | dtb-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra-cardhu.dtb | 10 | dtb-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30-cardhu.dtb |
diff --git a/arch/arm/mach-tegra/cpuidle.c b/arch/arm/mach-tegra/cpuidle.c index d83a8c0296f5..566e2f88899b 100644 --- a/arch/arm/mach-tegra/cpuidle.c +++ b/arch/arm/mach-tegra/cpuidle.c | |||
@@ -27,9 +27,9 @@ | |||
27 | #include <linux/cpuidle.h> | 27 | #include <linux/cpuidle.h> |
28 | #include <linux/hrtimer.h> | 28 | #include <linux/hrtimer.h> |
29 | 29 | ||
30 | #include <mach/iomap.h> | 30 | #include <asm/proc-fns.h> |
31 | 31 | ||
32 | extern void tegra_cpu_wfi(void); | 32 | #include <mach/iomap.h> |
33 | 33 | ||
34 | static int tegra_idle_enter_lp3(struct cpuidle_device *dev, | 34 | static int tegra_idle_enter_lp3(struct cpuidle_device *dev, |
35 | struct cpuidle_driver *drv, int index); | 35 | struct cpuidle_driver *drv, int index); |
@@ -64,7 +64,7 @@ static int tegra_idle_enter_lp3(struct cpuidle_device *dev, | |||
64 | 64 | ||
65 | enter = ktime_get(); | 65 | enter = ktime_get(); |
66 | 66 | ||
67 | tegra_cpu_wfi(); | 67 | cpu_do_idle(); |
68 | 68 | ||
69 | exit = ktime_sub(ktime_get(), enter); | 69 | exit = ktime_sub(ktime_get(), enter); |
70 | us = ktime_to_us(exit); | 70 | us = ktime_to_us(exit); |
diff --git a/arch/arm/mach-tegra/sleep.S b/arch/arm/mach-tegra/sleep.S index 5b20197bae7f..d29b156a8011 100644 --- a/arch/arm/mach-tegra/sleep.S +++ b/arch/arm/mach-tegra/sleep.S | |||
@@ -62,32 +62,3 @@ | |||
62 | movw \reg, #:lower16:\val | 62 | movw \reg, #:lower16:\val |
63 | movt \reg, #:upper16:\val | 63 | movt \reg, #:upper16:\val |
64 | .endm | 64 | .endm |
65 | |||
66 | /* | ||
67 | * tegra_cpu_wfi | ||
68 | * | ||
69 | * puts current CPU in clock-gated wfi using the flow controller | ||
70 | * | ||
71 | * corrupts r0-r3 | ||
72 | * must be called with MMU on | ||
73 | */ | ||
74 | |||
75 | ENTRY(tegra_cpu_wfi) | ||
76 | cpu_id r0 | ||
77 | cpu_to_halt_reg r1, r0 | ||
78 | cpu_to_csr_reg r2, r0 | ||
79 | mov32 r0, TEGRA_FLOW_CTRL_VIRT | ||
80 | mov r3, #FLOW_CTRL_CSR_INTR_FLAG | FLOW_CTRL_CSR_EVENT_FLAG | ||
81 | str r3, [r0, r2] @ clear event & interrupt status | ||
82 | mov r3, #FLOW_CTRL_WAIT_FOR_INTERRUPT | FLOW_CTRL_JTAG_RESUME | ||
83 | str r3, [r0, r1] @ put flow controller in wait irq mode | ||
84 | dsb | ||
85 | wfi | ||
86 | mov r3, #0 | ||
87 | str r3, [r0, r1] @ clear flow controller halt status | ||
88 | mov r3, #FLOW_CTRL_CSR_INTR_FLAG | FLOW_CTRL_CSR_EVENT_FLAG | ||
89 | str r3, [r0, r2] @ clear event & interrupt status | ||
90 | dsb | ||
91 | mov pc, lr | ||
92 | ENDPROC(tegra_cpu_wfi) | ||
93 | |||
diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c index aa0b1f160528..0b6f0b28a487 100644 --- a/drivers/amba/tegra-ahb.c +++ b/drivers/amba/tegra-ahb.c | |||
@@ -264,11 +264,6 @@ static int __devinit tegra_ahb_probe(struct platform_device *pdev) | |||
264 | return 0; | 264 | return 0; |
265 | } | 265 | } |
266 | 266 | ||
267 | static int __devexit tegra_ahb_remove(struct platform_device *pdev) | ||
268 | { | ||
269 | return 0; | ||
270 | } | ||
271 | |||
272 | static const struct of_device_id tegra_ahb_of_match[] __devinitconst = { | 267 | static const struct of_device_id tegra_ahb_of_match[] __devinitconst = { |
273 | { .compatible = "nvidia,tegra30-ahb", }, | 268 | { .compatible = "nvidia,tegra30-ahb", }, |
274 | { .compatible = "nvidia,tegra20-ahb", }, | 269 | { .compatible = "nvidia,tegra20-ahb", }, |
@@ -277,7 +272,6 @@ static const struct of_device_id tegra_ahb_of_match[] __devinitconst = { | |||
277 | 272 | ||
278 | static struct platform_driver tegra_ahb_driver = { | 273 | static struct platform_driver tegra_ahb_driver = { |
279 | .probe = tegra_ahb_probe, | 274 | .probe = tegra_ahb_probe, |
280 | .remove = __devexit_p(tegra_ahb_remove), | ||
281 | .driver = { | 275 | .driver = { |
282 | .name = DRV_NAME, | 276 | .name = DRV_NAME, |
283 | .owner = THIS_MODULE, | 277 | .owner = THIS_MODULE, |
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index b38d8a78f6a0..6e5338a071ce 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c | |||
@@ -223,6 +223,7 @@ static struct tegra_sdhci_platform_data * __devinit sdhci_tegra_dt_parse_pdata( | |||
223 | { | 223 | { |
224 | struct tegra_sdhci_platform_data *plat; | 224 | struct tegra_sdhci_platform_data *plat; |
225 | struct device_node *np = pdev->dev.of_node; | 225 | struct device_node *np = pdev->dev.of_node; |
226 | u32 bus_width; | ||
226 | 227 | ||
227 | if (!np) | 228 | if (!np) |
228 | return NULL; | 229 | return NULL; |
@@ -236,7 +237,9 @@ static struct tegra_sdhci_platform_data * __devinit sdhci_tegra_dt_parse_pdata( | |||
236 | plat->cd_gpio = of_get_named_gpio(np, "cd-gpios", 0); | 237 | plat->cd_gpio = of_get_named_gpio(np, "cd-gpios", 0); |
237 | plat->wp_gpio = of_get_named_gpio(np, "wp-gpios", 0); | 238 | plat->wp_gpio = of_get_named_gpio(np, "wp-gpios", 0); |
238 | plat->power_gpio = of_get_named_gpio(np, "power-gpios", 0); | 239 | plat->power_gpio = of_get_named_gpio(np, "power-gpios", 0); |
239 | if (of_find_property(np, "support-8bit", NULL)) | 240 | |
241 | if (of_property_read_u32(np, "bus-width", &bus_width) == 0 && | ||
242 | bus_width == 8) | ||
240 | plat->is_8bit = 1; | 243 | plat->is_8bit = 1; |
241 | 244 | ||
242 | return plat; | 245 | return plat; |
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig index c1c8e955f4d3..76dc230f2bb0 100644 --- a/sound/soc/tegra/Kconfig +++ b/sound/soc/tegra/Kconfig | |||
@@ -58,17 +58,9 @@ config SND_SOC_TEGRA_WM8753 | |||
58 | Say Y or M here if you want to add support for SoC audio on Tegra | 58 | Say Y or M here if you want to add support for SoC audio on Tegra |
59 | boards using the WM8753 codec, such as Whistler. | 59 | boards using the WM8753 codec, such as Whistler. |
60 | 60 | ||
61 | config MACH_HAS_SND_SOC_TEGRA_WM8903 | ||
62 | bool | ||
63 | help | ||
64 | Machines that use the SND_SOC_TEGRA_WM8903 driver should select | ||
65 | this config option, in order to allow the user to enable | ||
66 | SND_SOC_TEGRA_WM8903. | ||
67 | |||
68 | config SND_SOC_TEGRA_WM8903 | 61 | config SND_SOC_TEGRA_WM8903 |
69 | tristate "SoC Audio support for Tegra boards using a WM8903 codec" | 62 | tristate "SoC Audio support for Tegra boards using a WM8903 codec" |
70 | depends on SND_SOC_TEGRA && I2C | 63 | depends on SND_SOC_TEGRA && I2C |
71 | depends on MACH_HAS_SND_SOC_TEGRA_WM8903 | ||
72 | select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC | 64 | select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC |
73 | select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC | 65 | select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC |
74 | select SND_SOC_WM8903 | 66 | select SND_SOC_WM8903 |
@@ -79,7 +71,7 @@ config SND_SOC_TEGRA_WM8903 | |||
79 | 71 | ||
80 | config SND_SOC_TEGRA_TRIMSLICE | 72 | config SND_SOC_TEGRA_TRIMSLICE |
81 | tristate "SoC Audio support for TrimSlice board" | 73 | tristate "SoC Audio support for TrimSlice board" |
82 | depends on SND_SOC_TEGRA && MACH_TRIMSLICE && I2C | 74 | depends on SND_SOC_TEGRA && I2C |
83 | select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC | 75 | select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC |
84 | select SND_SOC_TLV320AIC23 | 76 | select SND_SOC_TLV320AIC23 |
85 | help | 77 | help |