[v4, 3/6] powerpc/fsl: move mpc85xx.h to include/linux

2015-12-13 Thread Yangbo Lu
Move mpc85xx.h to include/linux and rename it to 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 for v3: - None Changes for v4: - None --- drivers/clk/cl

[v4, 1/6] soc: fsl: add GUTS driver for QorIQ platforms

2015-12-13 Thread Yangbo Lu
The global utilities block controls power management, I/O device enabling, power-onreset(POR) configuration monitoring, alternate function selection for multiplexed signals,and clock control. This patch adds GUTS driver to manage and access global utilities block. Signed-off-by: Yangbo Lu --- Ch

[v4, 4/6] mmc: sdhci-of-esdhc: get SVR from global utilities registers

2015-12-13 Thread Yangbo Lu
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 --- Changes for v2: - Got SVR through iomap instead of

[v4, 6/6] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2015-12-13 Thread Yangbo Lu
The eSDHC of T4240-R1.0-R2.0 has incorrect vender version and spec version. Acturally, the right version numbers should be VVN=0x13 and SVN = 0x1. So, fix it in driver to avoid that incorrect version numbers break down the ADMA data transfer. Signed-off-by: Yangbo Lu --- Changes for v2: -

[v4, 0/6] eSDHC patches introduction

2015-12-13 Thread Yangbo Lu
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 the GUTS driver to access the global utilities registers. So, the first three patches are to add the GUTS driver. The following two patches are to enable GUTS dr

[v4, 5/6] mmc: kconfig: select FSL_GUTS for MMC_SDHCI_OF_ESDHC

2015-12-13 Thread Yangbo Lu
The sdhci-of-esdhc driver needs the GUTS driver support to access the global utilities registers for SVR value. So we select FSL_GUTS for MMC_SDHCI_OF_ESDHC here. Signed-off-by: Yangbo Lu --- Changes for v2: - None Changes for v3: - None Changes for v4: - Added this patch

[v4, 2/6] dt: move guts devicetree doc out of powerpc directory

2015-12-13 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/ since it's used by not only PowerPC but also ARM. Add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu --- Changes for v2: - None Changes for v3: - None Changes for v4: - Added this pa

Re: [PATCH v2] mmc: sdhci: restore behavior when setting VDD via external regulator

2015-12-13 Thread Jisheng Zhang
Dear Ludovic, On Fri, 11 Dec 2015 18:06:17 +0100 Ludovic Desroches wrote: > On Fri, Dec 11, 2015 at 03:48:04PM +0100, Ulf Hansson wrote: > > + Ludovic (We had some discussions around this code recently as well) > > > > Thanks Ulf. > > > On 11 December 2015 at 14:36, Jisheng Zhang wrote: >

Re: [bug] kernel panic if writting data to mmc after suspendding

2015-12-13 Thread Nguyen Viet Dung
Hello Mr.Geert I am sorry for miss attachiing log file. While is testting LTSI-v4.1.13-rc1, we have found the following the failure of mmcif. 1. mount mmc block 2. write data to mmc block 3. suspend/resume 4. write data to mmc block one again => happen kernel panic (Probability in this test pr

Re: [bug] kernel panic if writting data to mmc after suspendding

2015-12-13 Thread Nguyen Viet Dung
Hello Mr.Geert While is testting LTSI-v4.1.13-rc1, we have found the following the failure of mmcif. 1. mount mmc block 2. write data to mmc block 3. suspend/resume 4. write data to mmc block one again => happen kernel panic (Probability in this test procedure is 100%) We have used git bisect