Re: [linux-sunxi] [PATCH v2 1/4] dt: bindings: mmc: Document the practice of using subnodes for slots

2014-05-31 Thread Olof Johansson
On Sat, May 31, 2014 at 12:03 PM, Hans de Goede wrote: > The following existing MMC host controller bindings use slot subnodes: > > Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt > Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt > Documentation/devicetree/bindings/mmc/exynos-dw-ms

[PATCH v2 4/4] mmc: Add SDIO function devicetree subnode parsing

2014-05-31 Thread Hans de Goede
From: Sascha Hauer This adds SDIO devicetree subnode parsing to the mmc core. While SDIO devices are runtime probable they sometimes need nonprobable additional information on embedded systems, like an additional gpio interrupt or a clock. This patch makes it possible to supply this information f

[PATCH v2 0/4] mmc: Add SDIO function devicetree subnode parsing

2014-05-31 Thread Hans de Goede
Hi All, Here is v2 of my submission of Sascha Hauer's "mmc: Add SDIO function devicetree subnode parsing" patch. This version has been reworked as a result of the discussion about sdio powerup sequencing. Specifically the location of the per sdio-function subnodes has been moved from being a subn

[PATCH v2 1/4] dt: bindings: mmc: Document the practice of using subnodes for slots

2014-05-31 Thread Hans de Goede
The following existing MMC host controller bindings use slot subnodes: Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt Documentation/devicetree/bindings/mmc/socfpga-dw-mshc.txt

[PATCH v2 3/4] mmc: Set slot_no on devicetree / of systems too

2014-05-31 Thread Hans de Goede
Some host controllers have multiple slots. The mmc-core sofar does not really have any knowledge of this, the host drivers for these controllers simple call mmc_add_host() multiple times. These mmc_host-s will share their parent device and on devicetree systems also their parent->of_node. This co

[PATCH v2 2/4] dt: bindings: mmc: Add sdio function subnode documentation

2014-05-31 Thread Hans de Goede
From: Sascha Hauer While SDIO devices are runtime probable they sometimes need nonprobable additional information on embedded systems, like an additional gpio interrupt or a clock. This binding describes how to add child nodes to the devicetree to supply this information. Signed-off-by: Sascha H

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

2014-05-31 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 --- v4: replaced several numerical values with macros .../devicetree/bindings/mmc/usdhi6rol0.txt | 33 + drivers/mmc/host/Kconfig

Re: [PATCH v5 02/13] mmc: mmci: convert register bits to use BIT() macro.

2014-05-31 Thread Russell King - ARM Linux
On Fri, May 30, 2014 at 06:13:00PM +0100, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > This patch converts the register bits in the header file to use BIT(() > macro, which looks much neater. > > No functional changes done. > > Signed-off-by: Srinivas Kandagatla This

Re: [PATCH v5 11/13] mmc: mmci: add explicit clk control

2014-05-31 Thread Russell King - ARM Linux
On Fri, May 30, 2014 at 06:14:40PM +0100, srinivas.kandaga...@linaro.org wrote: > @@ -1325,6 +1329,18 @@ static void mmci_set_ios(struct mmc_host *mmc, struct > mmc_ios *ios) > if (!ios->clock && variant->pwrreg_clkgate) > pwr &= ~MCI_PWR_ON; > > + if ((host->variant->exp

Re: [PATCH 03/11] pinctrl: sunxi: Move setting of mux to irq type from unmask to set_type

2014-05-31 Thread Hans de Goede
Hi, On 05/28/2014 12:33 PM, Maxime Ripard wrote: On Wed, May 28, 2014 at 11:51:52AM +0200, Hans de Goede wrote: Hi, On 05/28/2014 11:36 AM, Maxime Ripard wrote: On Tue, May 27, 2014 at 04:18:29PM +0200, Linus Walleij wrote: On Mon, May 26, 2014 at 9:47 AM, Hans de Goede wrote: With level