Re: [v2, 2/3] mmc: sdhci-of-esdhc: get SOC version and revision from GUTS_SVR

2015-09-22 Thread Scott Wood
On Tue, 2015-09-22 at 03:56 -0500, Lu Yangbo-B47093 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, September 02, 2015 8:24 AM > > To: Lu Yangbo-B47093 > > Cc: linux-mmc@vger.kernel.org; ulf.hans...@linaro.org > > Subjec

Re: [v2, 2/3] mmc: sdhci-of-esdhc: get SOC version and revision from GUTS_SVR

2015-09-02 Thread Ulf Hansson
On 27 August 2015 at 11:29, Yangbo Lu wrote: > Freescale QorIQ SOCs have the SVR(System version register) containing > the system version number for the device. Sometimes the eSDHC driver > needs to know this information for some errata workaround. So, we read > SVR from the global utilities block

Re: [v2, 2/3] mmc: sdhci-of-esdhc: get SOC version and revision from GUTS_SVR

2015-09-01 Thread Scott Wood
On Thu, 2015-08-27 at 17:29 +0800, Yangbo Lu wrote: > @@ -24,6 +25,16 @@ > > #define VENDOR_V_22 0x12 > #define VENDOR_V_23 0x13 > + > +/* Global Utility Registers */ > +#define GUTS_SVR 0xa4/* System Version Register */ > +/* SOC version definition */ > +#define SVR_T4240

[v2, 2/3] mmc: sdhci-of-esdhc: get SOC version and revision from GUTS_SVR

2015-08-27 Thread Yangbo Lu
Freescale QorIQ SOCs have the SVR(System version register) containing the system version number for the device. Sometimes the eSDHC driver needs to know this information for some errata workaround. So, we read SVR from the global utilities block of the chip. Signed-off-by: Yangbo Lu --- drivers/