Re: [v3, 4/5] powerpc: dts: t4240: add syscon support for DCFG node

2015-12-08 Thread Scott Wood
On Tue, 2015-12-08 at 22:30 -0600, Lu Yangbo-B47093 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, December 09, 2015 1:46 AM > > To: Lu Yangbo-B47093; linux-mmc@vger.kernel.org; ulf.hans...@linaro.org > > Cc: Xie Xiaobo-R63061; Li Yang-Leo-R58472 > > Subject:

Re: [PATCH v4] mmc: meson: Add driver for the SD/MMC host found on Amlogic MesonX SoCs

2015-12-08 Thread Ulf Hansson
[...] > > I have actually a problem and a question related to this value. On the > boards I'm currently using to test this driver I have no CD GPIO. In > this case do I have to specify the MMC as "non-removable"? Also if I "non-removable" is intended to be used for eMMC or other cards (SD/SDIO) t

Re: [v3, 1/5] powerpc/fsl: move mpc85xx.h to include/linux

2015-12-08 Thread Scott Wood
On Fri, 2015-11-27 at 11:20 +0800, Yangbo Lu wrote: > Move mpc85xx.h to include/linux and rename it to fsl-svr.h as > a common header file. It has been used for mpc85xx and it will > be used for ARM-based SoC as well. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - None > Changes f

Re: [v3, 3/5] mmc: kconfig: select MFD_SYSCON for MMC_SDHCI_OF_ESDHC

2015-12-08 Thread Scott Wood
On Tue, 2015-12-08 at 14:49 +0100, Ulf Hansson wrote: > On 27 November 2015 at 04:20, Yangbo Lu wrote: > > The sdhci-of-esdhc driver needs the syscon support to do > > regmap and access the global utilities registers. So we > > select MFD_SYSCON for MMC_SDHCI_OF_ESDHC here. > > > > Signed-off-by:

Re: [v3, 4/5] powerpc: dts: t4240: add syscon support for DCFG node

2015-12-08 Thread Scott Wood
On Fri, 2015-11-27 at 11:20 +0800, Yangbo Lu wrote: > Add syscon support for DCFG node, so that the driver could use > syscon regmap interface to access the device config module registers. > And the CONFIG_MFD_SYSCON should be enabled for this. > > Signed-off-by: Yangbo Lu > --- > Changes for v2:

Re: [v3, 2/5] mmc: sdhci-of-esdhc: get SVR from global utilities registers

2015-12-08 Thread Scott Wood
On Fri, 2015-11-27 at 11:20 +0800, Yangbo Lu wrote: > Most of silicon errata about the eSDHC need to be identified through > the SoC version/revision. This patch makes the driver get these > information from SVR(system version register) of global utilities > registers. > > Signed-off-by: Yangbo Lu

Re: [v3, 1/5] powerpc/fsl: move mpc85xx.h to include/linux

2015-12-08 Thread Scott Wood
On Tue, 2015-12-08 at 14:49 +0100, Ulf Hansson wrote: > +Lee Jones > > On 27 November 2015 at 04:20, Yangbo Lu wrote: > > Move mpc85xx.h to include/linux and rename it to fsl-svr.h as > > a common header file. It has been used for mpc85xx and it will > > be used for ARM-based SoC as well. > > >

Fwd: [BUG] mfd: rtsx_usb data corruption with SDCX microsd

2015-12-08 Thread Daniel Lenski
On Dec 8, 2015 6:11 AM, "Ulf Hansson" wrote: > > On 4 December 2015 at 21:34, Daniel Lenski wrote: > > In conclusion... it seems that the kernel is attempting to drive this > > card faster than it can actually work. What I'm trying to figure out > > now: > > - How does the kernel attempt to figur

Re: [PATCH v4] mmc: meson: Add driver for the SD/MMC host found on Amlogic MesonX SoCs

2015-12-08 Thread Carlo Caione
On Tue, Dec 8, 2015 at 4:06 PM, Ulf Hansson wrote: > On 1 December 2015 at 17:41, Carlo Caione wrote: >> +Required properties: >> + - compatible : "amlogic,meson-mmc" >> + - reg : mmc controller base registers >> + - interrupts : mmc controller interrupt >> + - clocks : phandle to clock provider

Re: [PATCH] mmc: pwrseq_simple: Fix regression with optional GPIOs

2015-12-08 Thread Tony Lindgren
* Ulf Hansson [151208 05:18]: > On 8 December 2015 at 01:32, Tony Lindgren wrote: > > * Ulf Hansson [151207 16:20]: > >> +Linus > >> > >> On 7 December 2015 at 23:54, Tony Lindgren wrote: > >> > Commit ce037275861e ("mmc: pwrseq_simple: use GPIO descriptors array > >> > API") > >> > changed th

Re: [PATCH v4] mmc: meson: Add driver for the SD/MMC host found on Amlogic MesonX SoCs

2015-12-08 Thread Ulf Hansson
On 1 December 2015 at 17:41, Carlo Caione wrote: > From: Carlo Caione > > Add a driver for the SD/MMC host found on the Amlogic MesonX SoCs. This > is an MMC controller which provides an interface between the application > processor and various memory cards. It supports the SD specification > v2.

Re: [BUG] mfd: rtsx_usb data corruption with SDCX microsd

2015-12-08 Thread Ulf Hansson
On 4 December 2015 at 21:34, Daniel Lenski wrote: > On Fri, Dec 4, 2015 at 11:21 AM, Daniel Lenski wrote: >> On 21 October 2015 at 12:02, Ulf Hansson linaro.org> wrote: >>> As I don't know the HW, I can just provide some guesses of how to narrow >>> down the problem. >>> >>> If you re-build the

Re: [v3, 0/5] eSDHC patches introduction

2015-12-08 Thread Ulf Hansson
On 27 November 2015 at 04:20, Yangbo Lu wrote: > This patchset is used to fix host version in eSDHC_HOSTVER for > T4240-R1.0-R2.0. > To get the SoC version and revision, it's needed to add syscon support to > access > the SVR(system version register) of global utilities registers through regmap.

Re: [v3, 3/5] mmc: kconfig: select MFD_SYSCON for MMC_SDHCI_OF_ESDHC

2015-12-08 Thread Ulf Hansson
On 27 November 2015 at 04:20, Yangbo Lu wrote: > The sdhci-of-esdhc driver needs the syscon support to do > regmap and access the global utilities registers. So we > select MFD_SYSCON for MMC_SDHCI_OF_ESDHC here. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - None > Changes for

Re: [v3, 1/5] powerpc/fsl: move mpc85xx.h to include/linux

2015-12-08 Thread Ulf Hansson
+Lee Jones On 27 November 2015 at 04:20, Yangbo Lu wrote: > Move mpc85xx.h to include/linux and rename it to fsl-svr.h as > a common header file. It has been used for mpc85xx and it will > be used for ARM-based SoC as well. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - None >

Re: [PATCH] mmc: pwrseq_simple: Fix regression with optional GPIOs

2015-12-08 Thread Ulf Hansson
On 8 December 2015 at 01:32, Tony Lindgren wrote: > * Ulf Hansson [151207 16:20]: >> +Linus >> >> On 7 December 2015 at 23:54, Tony Lindgren wrote: >> > Commit ce037275861e ("mmc: pwrseq_simple: use GPIO descriptors array API") >> > changed the handling MMC power sequence so GPIOs no longer are