Re: [PATCH RFC 1/2] mmc: sdhci: Allow platform controlled voltage switching

2018-07-17 Thread Vijay Viswanath
On 7/17/2018 3:24 PM, Adrian Hunter wrote: On 17/07/18 12:45, Vijay Viswanath wrote: On 7/17/2018 2:12 PM, Adrian Hunter wrote: On 17/07/18 11:40, Vijay Viswanath wrote: On 7/17/2018 1:00 PM, Adrian Hunter wrote: On 17/07/18 08:14, Vijay Viswanath wrote: On 7/10/2018 4:37 PM, Adrian

Re: [PATCH RFC 1/2] mmc: sdhci: Allow platform controlled voltage switching

2018-07-17 Thread Adrian Hunter
On 17/07/18 12:45, Vijay Viswanath wrote: > > > On 7/17/2018 2:12 PM, Adrian Hunter wrote: >> On 17/07/18 11:40, Vijay Viswanath wrote: >>> >>> >>> On 7/17/2018 1:00 PM, Adrian Hunter wrote: On 17/07/18 08:14, Vijay Viswanath wrote: > > > On 7/10/2018 4:37 PM, Adrian Hunter wrote

Re: [PATCH RFC 1/2] mmc: sdhci: Allow platform controlled voltage switching

2018-07-17 Thread Vijay Viswanath
On 7/17/2018 2:12 PM, Adrian Hunter wrote: On 17/07/18 11:40, Vijay Viswanath wrote: On 7/17/2018 1:00 PM, Adrian Hunter wrote: On 17/07/18 08:14, Vijay Viswanath wrote: On 7/10/2018 4:37 PM, Adrian Hunter wrote: On 21/06/18 15:23, Vijay Viswanath wrote: Some controllers can have inte

Re: [PATCH RFC 1/2] mmc: sdhci: Allow platform controlled voltage switching

2018-07-17 Thread Adrian Hunter
On 17/07/18 11:40, Vijay Viswanath wrote: > > > On 7/17/2018 1:00 PM, Adrian Hunter wrote: >> On 17/07/18 08:14, Vijay Viswanath wrote: >>> >>> >>> On 7/10/2018 4:37 PM, Adrian Hunter wrote: On 21/06/18 15:23, Vijay Viswanath wrote: > Some controllers can have internal mechanism to infor

Re: [PATCH RFC 1/2] mmc: sdhci: Allow platform controlled voltage switching

2018-07-17 Thread Vijay Viswanath
On 7/17/2018 1:00 PM, Adrian Hunter wrote: On 17/07/18 08:14, Vijay Viswanath wrote: On 7/10/2018 4:37 PM, Adrian Hunter wrote: On 21/06/18 15:23, Vijay Viswanath wrote: Some controllers can have internal mechanism to inform the SW that it is ready for voltage switching. For such controll

Re: [PATCH RFC 1/2] mmc: sdhci: Allow platform controlled voltage switching

2018-07-17 Thread Adrian Hunter
On 17/07/18 08:14, Vijay Viswanath wrote: > > > On 7/10/2018 4:37 PM, Adrian Hunter wrote: >> On 21/06/18 15:23, Vijay Viswanath wrote: >>> Some controllers can have internal mechanism to inform the SW that it >>> is ready for voltage switching. For such controllers, changing voltage >>> before t

Re: [PATCH RFC 1/2] mmc: sdhci: Allow platform controlled voltage switching

2018-07-16 Thread Vijay Viswanath
On 7/10/2018 4:37 PM, Adrian Hunter wrote: On 21/06/18 15:23, Vijay Viswanath wrote: Some controllers can have internal mechanism to inform the SW that it is ready for voltage switching. For such controllers, changing voltage before the HW is ready can result in various issues. Add a quirk,

Re: [PATCH RFC 1/2] mmc: sdhci: Allow platform controlled voltage switching

2018-07-10 Thread Adrian Hunter
On 21/06/18 15:23, Vijay Viswanath wrote: > Some controllers can have internal mechanism to inform the SW that it > is ready for voltage switching. For such controllers, changing voltage > before the HW is ready can result in various issues. > > Add a quirk, which can be used by drivers of such co

[PATCH RFC 1/2] mmc: sdhci: Allow platform controlled voltage switching

2018-06-21 Thread Vijay Viswanath
Some controllers can have internal mechanism to inform the SW that it is ready for voltage switching. For such controllers, changing voltage before the HW is ready can result in various issues. Add a quirk, which can be used by drivers of such controllers. Signed-off-by: Vijay Viswanath --- dri