From ac4b9dbb3c9b056008e00ee3d02fe3dad65641b7 Mon Sep 17 00:00:00 2001 From: Zoltan Herpai Date: Thu, 6 Mar 2014 00:09:30 +0000 Subject: sunxi: driver refresh for 3.13 - update gmac / mmc / usb / ahci drivers to follow mainline dev trees - add driver for spi - update clock support - update a31 support - move to new DT compats where appropriate - re-order patchqueue where needed - verified working a20 smp - move most DTSes off files/ - update defconfig Signed-off-by: Zoltan HERPAI SVN-Revision: 39782 --- .../patches-3.13/173-4-dt-sun4i-fixup-mmc.patch | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 target/linux/sunxi/patches-3.13/173-4-dt-sun4i-fixup-mmc.patch (limited to 'target/linux/sunxi/patches-3.13/173-4-dt-sun4i-fixup-mmc.patch') diff --git a/target/linux/sunxi/patches-3.13/173-4-dt-sun4i-fixup-mmc.patch b/target/linux/sunxi/patches-3.13/173-4-dt-sun4i-fixup-mmc.patch new file mode 100644 index 0000000000..e9e209be29 --- /dev/null +++ b/target/linux/sunxi/patches-3.13/173-4-dt-sun4i-fixup-mmc.patch @@ -0,0 +1,64 @@ +From 11347c2a116f36b95d6cc3b315a1f269da6d42a0 Mon Sep 17 00:00:00 2001 +From: Hans de Goede +Date: Mon, 17 Feb 2014 17:20:21 +0100 +Subject: [PATCH] ARM: sun4i: dt: Fixup mmc bindings + +1) Now that we're no longer overriding the caps set by mmc_of_parse we need +to set cd-inverted for our card detection to work. + +2) Now that we no longer claim UHS modes support we will never use any DDR +modes, so drive-strength 2 is enough for the mmc data pins. + +Signed-off-by: Hans de Goede +--- + arch/arm/boot/dts/sun4i-a10.dtsi | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi +index a8e0df3..ba05e6e 100644 +--- a/arch/arm/boot/dts/sun4i-a10.dtsi ++++ b/arch/arm/boot/dts/sun4i-a10.dtsi +@@ -345,6 +345,7 @@ + clock-names = "ahb", "mod"; + interrupts = <32>; + bus-width = <4>; ++ cd-inverted; + status = "disabled"; + }; + +@@ -355,6 +356,7 @@ + clock-names = "ahb", "mod"; + interrupts = <33>; + bus-width = <4>; ++ cd-inverted; + status = "disabled"; + }; + +@@ -365,6 +367,7 @@ + clock-names = "ahb", "mod"; + interrupts = <34>; + bus-width = <4>; ++ cd-inverted; + status = "disabled"; + }; + +@@ -375,6 +378,7 @@ + clock-names = "ahb", "mod"; + interrupts = <35>; + bus-width = <4>; ++ cd-inverted; + status = "disabled"; + }; + +@@ -460,7 +464,7 @@ + mmc0_pins_a: mmc0@0 { + allwinner,pins = "PF0","PF1","PF2","PF3","PF4","PF5"; + allwinner,function = "mmc0"; +- allwinner,drive = <3>; ++ allwinner,drive = <2>; + allwinner,pull = <0>; + }; + +-- +1.8.5.5 + -- cgit v1.2.3