[PATCH] mmc: sdhci-pci: mention DMA mode only once

2013-07-26 Thread Paul Bolle
A laptop I use prints a warning twice at every boot and every resume: sdhci-pci :05:00.2: Will use DMA mode even though HW doesn't fully claim to support it. sdhci-pci :05:00.2: Will use DMA mode even though HW doesn't fully claim to support it. These warnings are always printed

Re: [PATCH 1/2] mmc: add Device Tree properties for UHS modes

2013-07-26 Thread Stephen Warren
On 07/26/2013 02:23 PM, Guennadi Liakhovetski wrote: > Hi Stephen > > On Fri, 26 Jul 2013, Stephen Warren wrote: > >> On 07/26/2013 09:51 AM, Guennadi Liakhovetski wrote: >>> Add DT properties for UHS SDR12, SDR25, SDR50, SDR104 and DDR50 modes and >>> for supported by the host in DDR mode VccQ v

Re: [PATCH] ARM: socfpga: dts: Add support for SD/MMC

2013-07-26 Thread Dinh Nguyen
On Fri, 2013-07-26 at 15:13 -0600, Stephen Warren wrote: > On 07/26/2013 02:44 PM, Dinh Nguyen wrote: > > On Fri, 2013-07-26 at 14:02 -0600, Stephen Warren wrote: > >> On 07/26/2013 01:33 PM, Dinh Nguyen wrote: > >>> On Fri, 2013-07-26 at 11:24 -0600, Stephen Warren wrote: > On 07/25/2013 04:0

Re: [PATCH] ARM: socfpga: dts: Add support for SD/MMC

2013-07-26 Thread Stephen Warren
On 07/26/2013 02:44 PM, Dinh Nguyen wrote: > On Fri, 2013-07-26 at 14:02 -0600, Stephen Warren wrote: >> On 07/26/2013 01:33 PM, Dinh Nguyen wrote: >>> On Fri, 2013-07-26 at 11:24 -0600, Stephen Warren wrote: On 07/25/2013 04:04 PM, dingu...@altera.com wrote: > From: Dinh Nguyen > >>>

Re: [PATCH] ARM: socfpga: dts: Add support for SD/MMC

2013-07-26 Thread Dinh Nguyen
On Fri, 2013-07-26 at 14:02 -0600, Stephen Warren wrote: > On 07/26/2013 01:33 PM, Dinh Nguyen wrote: > > On Fri, 2013-07-26 at 11:24 -0600, Stephen Warren wrote: > >> On 07/25/2013 04:04 PM, dingu...@altera.com wrote: > >>> From: Dinh Nguyen > >>> > >>> Add bindings for SD/MMC for SOCFPGA. > >>>

Re: [PATCH 1/2] mmc: add Device Tree properties for UHS modes

2013-07-26 Thread Guennadi Liakhovetski
Hi Stephen On Fri, 26 Jul 2013, Stephen Warren wrote: > On 07/26/2013 09:51 AM, Guennadi Liakhovetski wrote: > > Add DT properties for UHS SDR12, SDR25, SDR50, SDR104 and DDR50 modes and > > for supported by the host in DDR mode VccQ values. Adding them to DT will > > automatically enable respect

Re: [PATCH] ARM: socfpga: dts: Add support for SD/MMC

2013-07-26 Thread Stephen Warren
On 07/26/2013 01:33 PM, Dinh Nguyen wrote: > On Fri, 2013-07-26 at 11:24 -0600, Stephen Warren wrote: >> On 07/25/2013 04:04 PM, dingu...@altera.com wrote: >>> From: Dinh Nguyen >>> >>> Add bindings for SD/MMC for SOCFPGA. >>> Add "syscon" to the "altr,sys-mgr" binding. >>> diff --git a/Documenta

Re: [PATCH] ARM: socfpga: dts: Add support for SD/MMC

2013-07-26 Thread Dinh Nguyen
On Fri, 2013-07-26 at 11:24 -0600, Stephen Warren wrote: > On 07/25/2013 04:04 PM, dingu...@altera.com wrote: > > From: Dinh Nguyen > > > > Add bindings for SD/MMC for SOCFPGA. > > Add "syscon" to the "altr,sys-mgr" binding. > > > diff --git a/Documentation/devicetree/bindings/mmc/socfpga-dw-msh

Re: [PATCH 2/2 V2] mmc: esdhc: get voltage from dts file

2013-07-26 Thread Anton Vorontsov
On Thu, Jul 25, 2013 at 08:38:11AM +0800, Haijun Zhang wrote: > Add voltage-range support in esdhc of T4, So we can choose > to read voltages from dts file as one optional. > If we can get a valid voltage-range from device node, we use > this voltage as the final voltage support. Else we still read

Re: [PATCH 2/2] mmc: esdhc: get voltage from dts file

2013-07-26 Thread Anton Vorontsov
On Mon, Jul 22, 2013 at 09:41:34PM -0500, Scott Wood wrote: [...] > >> > +static void esdhc_get_voltage(struct sdhci_host *host, > >> > +struct platform_device *pdev) > >> > +{ > >> > +} > >> > >> Don't duplicate this code. Move it somewhere common and share it. > >[Ha

Re: [PATCH] ARM: socfpga: dts: Add support for SD/MMC

2013-07-26 Thread Stephen Warren
On 07/25/2013 04:04 PM, dingu...@altera.com wrote: > From: Dinh Nguyen > > Add bindings for SD/MMC for SOCFPGA. > Add "syscon" to the "altr,sys-mgr" binding. > diff --git a/Documentation/devicetree/bindings/mmc/socfpga-dw-mshc.txt > b/Documentation/devicetree/bindings/mmc/socfpga-dw-mshc.txt >

Re: [PATCH 1/2] mmc: add Device Tree properties for UHS modes

2013-07-26 Thread Stephen Warren
On 07/26/2013 09:51 AM, Guennadi Liakhovetski wrote: > Add DT properties for UHS SDR12, SDR25, SDR50, SDR104 and DDR50 modes and > for supported by the host in DDR mode VccQ values. Adding them to DT will > automatically enable respective MMC host capabilities. > diff --git a/Documentation/devicet

Re: [RFC/RFT PATCH 0/5] mm: ARM nobootmem and few dma_mask fixes

2013-07-26 Thread Santosh Shilimkar
On Friday 26 July 2013 11:10 AM, Russell King - ARM Linux wrote: > On Fri, Jul 12, 2013 at 05:48:09PM -0400, Santosh Shilimkar wrote: >> The series is an attempt to move ARM port to NO_BOOTMEM. As discussed >> on list NO_BOOTMEM move needed updates to max*pfn meaning to be maximum >> PFNs but that

RE: [PATCH 02/12] ARM: ep93xx: vision_ep9307: Use MMC CD and RO GPIO

2013-07-26 Thread H Hartley Sweeten
On Friday, July 26, 2013 2:55 AM, Laurent Pinchart wrote: > On Thursday 25 July 2013 19:19:52 H Hartley Sweeten wrote: >> On Thursday, July 25, 2013 4:27 PM, Laurent Pinchart wrote: >>> Pass the CD and RO GPIO numbers to the MMC SPI driver and remove the >>> custom .get_cd() and .get_ro() callback

[PATCH/RFC 2/2] ARM: shmobile: kzm9g: support DDR50 mode with 1.8V VccQ on MMCIF

2013-07-26 Thread Guennadi Liakhovetski
MMCIF on sh73a0 supports the UHS DDR50 mode and on the kzm9g board it can be used with MMC VccQ = 1.8V. This patch enables them. Signed-off-by: Guennadi Liakhovetski --- This patch is correct AFAICS, but pointless on kzm9g, because (at least on my board) th eMMC chip, installed on the board and

[PATCH 1/2] mmc: add Device Tree properties for UHS modes

2013-07-26 Thread Guennadi Liakhovetski
Add DT properties for UHS SDR12, SDR25, SDR50, SDR104 and DDR50 modes and for supported by the host in DDR mode VccQ values. Adding them to DT will automatically enable respective MMC host capabilities. Signed-off-by: Guennadi Liakhovetski --- Documentation/devicetree/bindings/mmc/mmc.txt |7

Re: [PATCH] ARM: socfpga: dts: Add support for SD/MMC

2013-07-26 Thread Dinh Nguyen
On Fri, 2013-07-26 at 16:00 +0100, Pawel Moll wrote: > On Fri, 2013-07-26 at 15:49 +0100, Dinh Nguyen wrote: > > Dinh please... > > Uh, accept my apologies. I know exactly how it feels ;-) > > > > I've also noticed that Exynos defines almost identical bindings: > > > > > > > samsung,dw-mshc-ciu-

Re: [PATCH] ARM: socfpga: dts: Add support for SD/MMC

2013-07-26 Thread Pawel Moll
On Fri, 2013-07-26 at 15:49 +0100, Dinh Nguyen wrote: > Dinh please... Uh, accept my apologies. I know exactly how it feels ;-) > > I've also noticed that Exynos defines almost identical bindings: > > > > > samsung,dw-mshc-ciu-div > > > samsung,dw-mshc-sdr-timing > > > samsung,dw-mshc-ddr-timing

Re: [PATCH] ARM: socfpga: dts: Add support for SD/MMC

2013-07-26 Thread Dinh Nguyen
Hi Pawel, On Fri, 2013-07-26 at 14:49 +0100, Pawel Moll wrote: > Hello Ding, Dinh please... > > Excuse me if the questions below were already asked and feel free to > point me at the appropriate mail archive... > > On Thu, 2013-07-25 at 23:04 +0100, dingu...@altera.com wrote: > > Add bindings f

Re: [PATCH] ARM: socfpga: dts: Add support for SD/MMC

2013-07-26 Thread Pawel Moll
Hello Ding, Excuse me if the questions below were already asked and feel free to point me at the appropriate mail archive... On Thu, 2013-07-25 at 23:04 +0100, dingu...@altera.com wrote: > Add bindings for SD/MMC for SOCFPGA. > Add "syscon" to the "altr,sys-mgr" binding. Are those two related? A

Re: [PATCH 02/12] ARM: ep93xx: vision_ep9307: Use MMC CD and RO GPIO

2013-07-26 Thread Laurent Pinchart
Hi Hartley, On Thursday 25 July 2013 19:19:52 H Hartley Sweeten wrote: > On Thursday, July 25, 2013 4:27 PM, Laurent Pinchart wrote: > > Pass the CD and RO GPIO numbers to the MMC SPI driver and remove the > > custom .get_cd() and .get_ro() callback functions. > > > > Signed-off-by: Laurent Pinch

Re: [PATCH 01/12] mmc: mmc_spi: Support CD/RO GPIOs

2013-07-26 Thread Laurent Pinchart
Hi Ryan, On Friday 26 July 2013 10:23:01 Ryan Mallon wrote: > On 26/07/13 10:04, Laurent Pinchart wrote: > > On Friday 26 July 2013 09:45:26 Ryan Mallon wrote: > >> On 26/07/13 09:26, Laurent Pinchart wrote: > >>> Add support for passing CD/RO GPIO numbers directly to the mmc_spi > >>> driver inst

Re: [RFC 0/2] Set mmc(blk)X with DT alias

2013-07-26 Thread Steffen Trumtrar
On Thu, Jul 25, 2013 at 10:28:38AM -0700, Stephen Warren wrote: > On 07/24/2013 02:09 AM, Steffen Trumtrar wrote: > > Hi! > > > > Embedded devices often use multiple SD/MMC devices as boot/rootfs disks. > > Some of them are removable, some not. If the removable cards are not > > present, but are p

Re: [PATCH 00/12] Remove platform callbacks from mmc_spi, sh_mmcif and sh_mobile_sdhi drivers

2013-07-26 Thread Guennadi Liakhovetski
Hi Laurent On Fri, 26 Jul 2013, Laurent Pinchart wrote: > Hello, > > This patch set replaces callbacks to board code with regulators and GPIOs in > the mmc_spi, sh_mmcif and sh_mobile_sdhi MMC drivers. > > Most of the required infrastructure is in place already on the drivers side, > except for