diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-09 11:39:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-09 11:39:39 -0400 |
commit | 97e18dc007546fce8e99098480b921a02ebb3037 (patch) | |
tree | f38c022d034e0172e83f6972983577f790f24dac /arch/arm | |
parent | 042f7b7cbd1e531278a09c449563165ba1f07673 (diff) | |
parent | c67480173f72e883235dd0ad09d90156c8f87600 (diff) |
Merge tag 'mmc-updates-for-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc
Pull MMC updates from Chris Ball:
"MMC highlights for 3.15:
Core:
- CONFIG_MMC_UNSAFE_RESUME=y is now default behavior
- DT bindings for SDHCI UHS, eMMC HS200, high-speed DDR, at 1.8/1.2V
- Add GPIO descriptor based slot-gpio card detect API
Drivers:
- dw_mmc: Refactor SOCFPGA support as a variant inside dw_mmc-pltfm.c
- mmci: Support HW busy detection on ux500
- omap: Support MMC_ERASE
- omap_hsmmc: Support MMC_PM_KEEP_POWER, MMC_PM_WAKE_SDIO_IRQ, (a)cmd23
- rtsx: Support pre-req/post-req async
- sdhci: Add support for Realtek RTS5250 controllers
- sdhci-acpi: Add support for 80860F16, fix 80860F14/SDIO card detect
- sdhci-msm: Add new driver for Qualcomm SDHCI chipset support
- sdhci-pxav3: Add support for Marvell Armada 380 and 385 SoCs"
* tag 'mmc-updates-for-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (102 commits)
mmc: sdhci-acpi: Intel SDIO has broken card detect
mmc: sdhci-pxav3: add support for the Armada 38x SDHCI controller
mmc: sdhci-msm: Add platform_execute_tuning implementation
mmc: sdhci-msm: Initial support for Qualcomm chipsets
mmc: sdhci-msm: Qualcomm SDHCI binding documentation
sdhci: only reprogram retuning timer when flag is set
mmc: rename ARCH_BCM to ARCH_BCM_MOBILE
mmc: sdhci: Allow for irq being shared
mmc: sdhci-acpi: Add device id 80860F16
mmc: sdhci-acpi: Fix broken card detect for ACPI HID 80860F14
mmc: slot-gpio: Add GPIO descriptor based CD GPIO API
mmc: slot-gpio: Split out CD IRQ request into a separate function
mmc: slot-gpio: Record GPIO descriptors instead of GPIO numbers
Revert "dts: socfpga: Add support for SD/MMC on the SOCFPGA platform"
mmc: sdhci-spear: use generic card detection gpio support
mmc: sdhci-spear: remove support for power gpio
mmc: sdhci-spear: simplify resource handling
mmc: sdhci-spear: fix platform_data usage
mmc: sdhci-spear: fix error handling paths for DT
mmc: sdhci-bcm-kona: fix build errors when built-in
...
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/dra7.dtsi | 17 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap2430.dtsi | 17 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-ldp.dts | 23 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3.dtsi | 17 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap4.dtsi | 17 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap5.dtsi | 17 | ||||
-rw-r--r-- | arch/arm/configs/omap2plus_defconfig | 2 |
7 files changed, 110 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 9e3caf3d19fb..1c0f8e1893ae 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi | |||
@@ -154,6 +154,22 @@ | |||
154 | ti,hwmods = "counter_32k"; | 154 | ti,hwmods = "counter_32k"; |
155 | }; | 155 | }; |
156 | 156 | ||
157 | dra7_ctrl_general: tisyscon@4a002e00 { | ||
158 | compatible = "syscon"; | ||
159 | reg = <0x4a002e00 0x7c>; | ||
160 | }; | ||
161 | |||
162 | pbias_regulator: pbias_regulator { | ||
163 | compatible = "ti,pbias-omap"; | ||
164 | reg = <0 0x4>; | ||
165 | syscon = <&dra7_ctrl_general>; | ||
166 | pbias_mmc_reg: pbias_mmc_omap5 { | ||
167 | regulator-name = "pbias_mmc_omap5"; | ||
168 | regulator-min-microvolt = <1800000>; | ||
169 | regulator-max-microvolt = <3000000>; | ||
170 | }; | ||
171 | }; | ||
172 | |||
157 | dra7_pmx_core: pinmux@4a003400 { | 173 | dra7_pmx_core: pinmux@4a003400 { |
158 | compatible = "pinctrl-single"; | 174 | compatible = "pinctrl-single"; |
159 | reg = <0x4a003400 0x0464>; | 175 | reg = <0x4a003400 0x0464>; |
@@ -543,6 +559,7 @@ | |||
543 | dmas = <&sdma 61>, <&sdma 62>; | 559 | dmas = <&sdma 61>, <&sdma 62>; |
544 | dma-names = "tx", "rx"; | 560 | dma-names = "tx", "rx"; |
545 | status = "disabled"; | 561 | status = "disabled"; |
562 | pbias-supply = <&pbias_mmc_reg>; | ||
546 | }; | 563 | }; |
547 | 564 | ||
548 | mmc2: mmc@480b4000 { | 565 | mmc2: mmc@480b4000 { |
diff --git a/arch/arm/boot/dts/omap2430.dtsi b/arch/arm/boot/dts/omap2430.dtsi index 9d2f028fd687..d09697dab55e 100644 --- a/arch/arm/boot/dts/omap2430.dtsi +++ b/arch/arm/boot/dts/omap2430.dtsi | |||
@@ -29,6 +29,22 @@ | |||
29 | pinctrl-single,function-mask = <0x3f>; | 29 | pinctrl-single,function-mask = <0x3f>; |
30 | }; | 30 | }; |
31 | 31 | ||
32 | omap2_scm_general: tisyscon@49002270 { | ||
33 | compatible = "syscon"; | ||
34 | reg = <0x49002270 0x240>; | ||
35 | }; | ||
36 | |||
37 | pbias_regulator: pbias_regulator { | ||
38 | compatible = "ti,pbias-omap"; | ||
39 | reg = <0x230 0x4>; | ||
40 | syscon = <&omap2_scm_general>; | ||
41 | pbias_mmc_reg: pbias_mmc_omap2430 { | ||
42 | regulator-name = "pbias_mmc_omap2430"; | ||
43 | regulator-min-microvolt = <1800000>; | ||
44 | regulator-max-microvolt = <3000000>; | ||
45 | }; | ||
46 | }; | ||
47 | |||
32 | gpio1: gpio@4900c000 { | 48 | gpio1: gpio@4900c000 { |
33 | compatible = "ti,omap2-gpio"; | 49 | compatible = "ti,omap2-gpio"; |
34 | reg = <0x4900c000 0x200>; | 50 | reg = <0x4900c000 0x200>; |
@@ -188,6 +204,7 @@ | |||
188 | ti,dual-volt; | 204 | ti,dual-volt; |
189 | dmas = <&sdma 61>, <&sdma 62>; | 205 | dmas = <&sdma 61>, <&sdma 62>; |
190 | dma-names = "tx", "rx"; | 206 | dma-names = "tx", "rx"; |
207 | pbias-supply = <&pbias_mmc_reg>; | ||
191 | }; | 208 | }; |
192 | 209 | ||
193 | mmc2: mmc@480b4000 { | 210 | mmc2: mmc@480b4000 { |
diff --git a/arch/arm/boot/dts/omap3-ldp.dts b/arch/arm/boot/dts/omap3-ldp.dts index ddce0d807f70..0abe986a4ecc 100644 --- a/arch/arm/boot/dts/omap3-ldp.dts +++ b/arch/arm/boot/dts/omap3-ldp.dts | |||
@@ -174,8 +174,20 @@ | |||
174 | }; | 174 | }; |
175 | 175 | ||
176 | &mmc1 { | 176 | &mmc1 { |
177 | /* See 35xx errata 2.1.1.128 in SPRZ278F */ | ||
178 | compatible = "ti,omap3-pre-es3-hsmmc"; | ||
177 | vmmc-supply = <&vmmc1>; | 179 | vmmc-supply = <&vmmc1>; |
178 | bus-width = <4>; | 180 | bus-width = <4>; |
181 | pinctrl-names = "default"; | ||
182 | pinctrl-0 = <&mmc1_pins>; | ||
183 | }; | ||
184 | |||
185 | &mmc2 { | ||
186 | status="disabled"; | ||
187 | }; | ||
188 | |||
189 | &mmc3 { | ||
190 | status="disabled"; | ||
179 | }; | 191 | }; |
180 | 192 | ||
181 | &omap3_pmx_core { | 193 | &omap3_pmx_core { |
@@ -209,6 +221,17 @@ | |||
209 | 0x174 (PIN_OUTPUT | MUX_MODE0) /* hsusb0_stp.hsusb0_stp */ | 221 | 0x174 (PIN_OUTPUT | MUX_MODE0) /* hsusb0_stp.hsusb0_stp */ |
210 | >; | 222 | >; |
211 | }; | 223 | }; |
224 | |||
225 | mmc1_pins: pinmux_mmc1_pins { | ||
226 | pinctrl-single,pins = < | ||
227 | OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.mmc1_clk */ | ||
228 | OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.mmc1_cmd */ | ||
229 | OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.mmc1_dat0 */ | ||
230 | OMAP3_CORE1_IOPAD(0x214A, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.mmc1_dat1 */ | ||
231 | OMAP3_CORE1_IOPAD(0x214C, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.mmc1_dat2 */ | ||
232 | OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.mmc1_dat3 */ | ||
233 | >; | ||
234 | }; | ||
212 | }; | 235 | }; |
213 | 236 | ||
214 | &usb_otg_hs { | 237 | &usb_otg_hs { |
diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi index 3d05eff67e25..5e5790f631eb 100644 --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi | |||
@@ -181,6 +181,22 @@ | |||
181 | pinctrl-single,function-mask = <0xff1f>; | 181 | pinctrl-single,function-mask = <0xff1f>; |
182 | }; | 182 | }; |
183 | 183 | ||
184 | omap3_scm_general: tisyscon@48002270 { | ||
185 | compatible = "syscon"; | ||
186 | reg = <0x48002270 0x2f0>; | ||
187 | }; | ||
188 | |||
189 | pbias_regulator: pbias_regulator { | ||
190 | compatible = "ti,pbias-omap"; | ||
191 | reg = <0x2b0 0x4>; | ||
192 | syscon = <&omap3_scm_general>; | ||
193 | pbias_mmc_reg: pbias_mmc_omap2430 { | ||
194 | regulator-name = "pbias_mmc_omap2430"; | ||
195 | regulator-min-microvolt = <1800000>; | ||
196 | regulator-max-microvolt = <3000000>; | ||
197 | }; | ||
198 | }; | ||
199 | |||
184 | gpio1: gpio@48310000 { | 200 | gpio1: gpio@48310000 { |
185 | compatible = "ti,omap3-gpio"; | 201 | compatible = "ti,omap3-gpio"; |
186 | reg = <0x48310000 0x200>; | 202 | reg = <0x48310000 0x200>; |
@@ -395,6 +411,7 @@ | |||
395 | ti,dual-volt; | 411 | ti,dual-volt; |
396 | dmas = <&sdma 61>, <&sdma 62>; | 412 | dmas = <&sdma 61>, <&sdma 62>; |
397 | dma-names = "tx", "rx"; | 413 | dma-names = "tx", "rx"; |
414 | pbias-supply = <&pbias_mmc_reg>; | ||
398 | }; | 415 | }; |
399 | 416 | ||
400 | mmc2: mmc@480b4000 { | 417 | mmc2: mmc@480b4000 { |
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 2b4c1cbbce33..27fcac874742 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi | |||
@@ -191,6 +191,22 @@ | |||
191 | pinctrl-single,function-mask = <0x7fff>; | 191 | pinctrl-single,function-mask = <0x7fff>; |
192 | }; | 192 | }; |
193 | 193 | ||
194 | omap4_padconf_global: tisyscon@4a1005a0 { | ||
195 | compatible = "syscon"; | ||
196 | reg = <0x4a1005a0 0x170>; | ||
197 | }; | ||
198 | |||
199 | pbias_regulator: pbias_regulator { | ||
200 | compatible = "ti,pbias-omap"; | ||
201 | reg = <0x60 0x4>; | ||
202 | syscon = <&omap4_padconf_global>; | ||
203 | pbias_mmc_reg: pbias_mmc_omap4 { | ||
204 | regulator-name = "pbias_mmc_omap4"; | ||
205 | regulator-min-microvolt = <1800000>; | ||
206 | regulator-max-microvolt = <3000000>; | ||
207 | }; | ||
208 | }; | ||
209 | |||
194 | sdma: dma-controller@4a056000 { | 210 | sdma: dma-controller@4a056000 { |
195 | compatible = "ti,omap4430-sdma"; | 211 | compatible = "ti,omap4430-sdma"; |
196 | reg = <0x4a056000 0x1000>; | 212 | reg = <0x4a056000 0x1000>; |
@@ -427,6 +443,7 @@ | |||
427 | ti,needs-special-reset; | 443 | ti,needs-special-reset; |
428 | dmas = <&sdma 61>, <&sdma 62>; | 444 | dmas = <&sdma 61>, <&sdma 62>; |
429 | dma-names = "tx", "rx"; | 445 | dma-names = "tx", "rx"; |
446 | pbias-supply = <&pbias_mmc_reg>; | ||
430 | }; | 447 | }; |
431 | 448 | ||
432 | mmc2: mmc@480b4000 { | 449 | mmc2: mmc@480b4000 { |
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 19155bb84835..6f3de22fb266 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi | |||
@@ -198,6 +198,22 @@ | |||
198 | pinctrl-single,function-mask = <0x7fff>; | 198 | pinctrl-single,function-mask = <0x7fff>; |
199 | }; | 199 | }; |
200 | 200 | ||
201 | omap5_padconf_global: tisyscon@4a002da0 { | ||
202 | compatible = "syscon"; | ||
203 | reg = <0x4A002da0 0xec>; | ||
204 | }; | ||
205 | |||
206 | pbias_regulator: pbias_regulator { | ||
207 | compatible = "ti,pbias-omap"; | ||
208 | reg = <0x60 0x4>; | ||
209 | syscon = <&omap5_padconf_global>; | ||
210 | pbias_mmc_reg: pbias_mmc_omap5 { | ||
211 | regulator-name = "pbias_mmc_omap5"; | ||
212 | regulator-min-microvolt = <1800000>; | ||
213 | regulator-max-microvolt = <3000000>; | ||
214 | }; | ||
215 | }; | ||
216 | |||
201 | sdma: dma-controller@4a056000 { | 217 | sdma: dma-controller@4a056000 { |
202 | compatible = "ti,omap4430-sdma"; | 218 | compatible = "ti,omap4430-sdma"; |
203 | reg = <0x4a056000 0x1000>; | 219 | reg = <0x4a056000 0x1000>; |
@@ -480,6 +496,7 @@ | |||
480 | ti,needs-special-reset; | 496 | ti,needs-special-reset; |
481 | dmas = <&sdma 61>, <&sdma 62>; | 497 | dmas = <&sdma 61>, <&sdma 62>; |
482 | dma-names = "tx", "rx"; | 498 | dma-names = "tx", "rx"; |
499 | pbias-supply = <&pbias_mmc_reg>; | ||
483 | }; | 500 | }; |
484 | 501 | ||
485 | mmc2: mmc@480b4000 { | 502 | mmc2: mmc@480b4000 { |
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index 364ba38e40f3..a9667957b757 100644 --- a/arch/arm/configs/omap2plus_defconfig +++ b/arch/arm/configs/omap2plus_defconfig | |||
@@ -170,6 +170,7 @@ CONFIG_DRA752_THERMAL=y | |||
170 | CONFIG_WATCHDOG=y | 170 | CONFIG_WATCHDOG=y |
171 | CONFIG_OMAP_WATCHDOG=y | 171 | CONFIG_OMAP_WATCHDOG=y |
172 | CONFIG_TWL4030_WATCHDOG=y | 172 | CONFIG_TWL4030_WATCHDOG=y |
173 | CONFIG_MFD_SYSCON=y | ||
173 | CONFIG_MFD_PALMAS=y | 174 | CONFIG_MFD_PALMAS=y |
174 | CONFIG_MFD_TPS65217=y | 175 | CONFIG_MFD_TPS65217=y |
175 | CONFIG_MFD_TPS65910=y | 176 | CONFIG_MFD_TPS65910=y |
@@ -181,6 +182,7 @@ CONFIG_REGULATOR_TPS6507X=y | |||
181 | CONFIG_REGULATOR_TPS65217=y | 182 | CONFIG_REGULATOR_TPS65217=y |
182 | CONFIG_REGULATOR_TPS65910=y | 183 | CONFIG_REGULATOR_TPS65910=y |
183 | CONFIG_REGULATOR_TWL4030=y | 184 | CONFIG_REGULATOR_TWL4030=y |
185 | CONFIG_REGULATOR_PBIAS=y | ||
184 | CONFIG_FB=y | 186 | CONFIG_FB=y |
185 | CONFIG_FIRMWARE_EDID=y | 187 | CONFIG_FIRMWARE_EDID=y |
186 | CONFIG_FB_MODE_HELPERS=y | 188 | CONFIG_FB_MODE_HELPERS=y |