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 2/2] mmc: esdhc: get voltage from dts file

2013-07-22 Thread Zhang Haijun-B42677
rg; Fleming > Andy-AFLEMING > Subject: Re: [PATCH 2/2] mmc: esdhc: get voltage from dts file > > On 07/22/2013 09:38:33 PM, Zhang Haijun-B42677 wrote: > > > -Original Message- > > > From: Wood Scott-B07421 > > > Sent: Tuesday, July 23, 2013 1:41 AM > >

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

2013-07-22 Thread Scott Wood
.org; Fleming Andy-AFLEMING; Zhang > Haijun-B42677; Zhang Haijun-B42677 > Subject: Re: [PATCH 2/2] mmc: esdhc: get voltage from dts file > > On 07/22/2013 02:53:56 AM, Haijun Zhang wrote: > > Add voltage-range support in esdhc of T4, So we can choose to read > > voltages from d

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

2013-07-22 Thread Zhang Haijun-B42677
NG; Zhang > Haijun-B42677; Zhang Haijun-B42677 > Subject: Re: [PATCH 2/2] mmc: esdhc: get voltage from dts file > > On 07/22/2013 02:53:56 AM, Haijun Zhang wrote: > > Add voltage-range support in esdhc of T4, So we can choose to read > > voltages from dts file as one optional. &g

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

2013-07-22 Thread Scott Wood
On 07/22/2013 02:53:56 AM, 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 from capacity or fro

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

2013-07-22 Thread Haijun Zhang
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 from capacity or from other provider. Signed-off-by: Haijun Zhang S