[PATCH RESEND 2/3] mmc: mvsdio: workaround for spurious irqs

2014-04-26 Thread Sebastian Hesselbarth
SDIO controllers found on Marvell Kirkwood SoCs seem to cause a late, spurious irq although all interrupts have been disabled. This irq doesn't do any harm, neither to HW nor driver. To avoid some "unexpected irq" warning later, we workaround above issue by bailing out of irq handler early, if we d

[PATCH RESEND 0/3] Orion irqchip and Kirkwood SDIO

2014-04-26 Thread Sebastian Hesselbarth
Guys, we somehow forgot this patch set, which was aimed for v3.12/v3.13 and first sent and acked in November 2013 [1]. Now this is rebase on to v3.15-rc1 and should be taken for v3.16. In contrast to the original patch set, I reordered the individual patches by subsystem and made some cosmetic bu

[PATCH RESEND 1/3] mmc: mvsdio: silence card detect notice

2014-04-26 Thread Sebastian Hesselbarth
mvsdio reports method of card detection with dev_notice, while for removable cards it may be sane, for non-removable cards it is not. Also, as the user cannot do anything about it, silence the message by reducing it from dev_notice to dev_dbg. Signed-off-by: Sebastian Hesselbarth Acked-by: Jason

[PATCH v2] mmc: add a driver for the Renesas usdhi6rol0 SD/SDIO host controller

2014-04-26 Thread Guennadi Liakhovetski
This patch adds a driver for the Renesas usdhi6rol0 SD/SDIO host controller in both PIO and DMA modes. Signed-off-by: Guennadi Liakhovetski --- v2: copyright and Sob email changed .../devicetree/bindings/mmc/usdhi6rol0.txt | 33 + drivers/mmc/host/Kconfig |

[PATCH v9 16/17] ARM: dts: sun7i: Enable mmc controller on various A20 boards

2014-04-26 Thread Hans de Goede
The cd pin settings have been taken from the original firmware fex files, and have been confirmed to work on the actual boards. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 9 + arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 9 + arch/ar

[PATCH v9 12/17] ARM: dts: sun6i: Add pin-muxing info for the mmc controllers

2014-04-26 Thread Hans de Goede
This adds pin-muxing info for the mmc controller / port combinations which are known to be used on actual boards. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun6i-a31.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun

[PATCH v9 09/17] ARM: dts: sun5i: Enable mmc controller on various A10s and A13 boards

2014-04-26 Thread Hans de Goede
The cd pin settings have been taken from the original firmware fex files, and have been confirmed to work on the actual boards. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 32 arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts | 16 +

[PATCH v9 11/17] ARM: dts: sun6i: Add mmc controller nodes

2014-04-26 Thread Hans de Goede
Add nodes for the 4 mmc controllers found on A31 SoCs to arch/arm/boot/dts/sun6i-a31.dtsi. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun6i-a31.dtsi | 44 1 file changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/b

[PATCH v9 17/17] ARM: dts: sun7i: Add basic support for the Cubietruck WiFi module

2014-04-26 Thread Hans de Goede
From: Chen-Yu Tsai The CubieTruck has an AMPAK AP6210 WiFi+Bluetooth module. The WiFi part is a BCM43362 IC connected to MMC3 in the A20 SoC via SDIO. The IC also takes a power enable signal via GPIO. The WiFi module supports out-of-band interrupt signaling via GPIO, but this is not supported in

[PATCH v9 13/17] ARM: dts: sun6i: Add new sun6i-a31-m9 dts file for Mele M9

2014-04-26 Thread Hans de Goede
Add a new sun6i-a31-m9 dts file for the Mele M9 / Mele A1000G Quad. These HTPCs use the same board in a different case, for more details see: http://linux-sunxi.org/Mele_M9 Signed-off-by: Hans de Goede --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/sun6i-a31-m9.dts | 48 +++

[PATCH v9 14/17] ARM: dts: sun7i: Add mmc controller nodes

2014-04-26 Thread Hans de Goede
Add nodes for the 4 mmc controllers found on A20 SoCs to arch/arm/boot/dts/sun7i-a20.dtsi. Signed-off-by: David Lanzendörfer Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun7i-a20.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/

[PATCH v9 05/17] ARM: dts: sun4i: Add pin-muxing info for the mmc0 controller

2014-04-26 Thread Hans de Goede
mmc0 is the only controller actually being used on boards, so limit the pin-muxing options to that. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10

[PATCH v9 00/17] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-04-26 Thread Hans de Goede
Hi All, Here is v9 of the sunxi-mmc patch-set David Lanzendörfer and I have been working on, this has some minor changes since v8, the plan for upstreaming is still the same: The first 2 patches are depenencies which should go in through the clk tree, Mike can you pick these 2 up please ? : "cl

[PATCH v9 06/17] ARM: dts: sun4i: Enable mmc controller on various A10 boards

2014-04-26 Thread Hans de Goede
Tested on a subset of these boards, for the others boards the settings match the ones of the tested boards according to the original firmware fex files. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-a1000.dts | 9 + arch/arm/boot/dts/sun4i-a10-cubieboard.dts |

[PATCH v9 02/17] clk: sunxi: Implement MMC phase control

2014-04-26 Thread Hans de Goede
From: Emilio López HdG: add header exporting clk_sunxi_mmc_phase_control Signed-off-by: Emilio López Signed-off-by: Hans de Goede --- drivers/clk/sunxi/clk-sunxi.c | 36 include/linux/clk/sunxi.h | 22 ++ 2 files changed, 58 inserti

[PATCH v9 04/17] ARM: dts: sun4i: Add mmc controller nodes

2014-04-26 Thread Hans de Goede
From: David Lanzendörfer Add nodes for the 4 mmc controllers found on A10 SoCs to arch/arm/boot/dts/sun4i-a10.dtsi. Signed-off-by: David Lanzendörfer Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10.dtsi | 36 1 file changed, 36 insertions(+)

[PATCH v9 15/17] ARM: dts: sun7i: Add pin-muxing info for the mmc controllers

2014-04-26 Thread Hans de Goede
This adds pin-muxing info for the mmc controller / port combinations which are known to be used on actual boards. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun7i-a20.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/

[PATCH v9 10/17] ARM: dts: sun6i: Add mmc clocks

2014-04-26 Thread Hans de Goede
Add clk-nodes for the mmc clocks. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun6i-a31.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index d45efa7..12bcc17 100644 --- a/arch/a

[PATCH v9 07/17] ARM: dts: sun5i: Add mmc controller nodes

2014-04-26 Thread Hans de Goede
From: David Lanzendörfer Add nodes for the 3 mmc controllers found on A10s SoCs and for the 2 mmc controllers found on A13 SoCs. Signed-off-by: David Lanzendörfer Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun5i-a10s.dtsi | 27 +++ arch/arm/boot/dts/sun5i-a13.d

[PATCH v9 03/17] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-04-26 Thread Hans de Goede
From: David Lanzendörfer The Allwinner sunxi mmc host uses dma in bus-master mode using a built-in designware idmac controller, which is identical to the one found in the mmc-dw hosts. However the rest of the host is not identical to mmc-dw, it deals with sending stop commands in hardware which m

[PATCH v9 08/17] ARM: dts: sun5i: Add pin-muxing info for the mmc controllers

2014-04-26 Thread Hans de Goede
This adds pin-muxing info for the mmc controller / port combinations which are known to be used on actual boards. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun5i-a10s.dtsi | 14 ++ arch/arm/boot/dts/sun5i-a13.dtsi | 7 +++ 2 files changed, 21 insertions(+) diff --git

[PATCH v9 01/17] clk: sunxi: factors: automatic reparenting support

2014-04-26 Thread Hans de Goede
From: Emilio López This commit implements .determine_rate, so that our factor clocks can be reparented when needed. Signed-off-by: Emilio López Signed-off-by: Hans de Goede --- drivers/clk/sunxi/clk-factors.c | 36 1 file changed, 36 insertions(+) diff --