Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-26 Thread Jaehoon Chung
Hi, On 04/17/2018 09:11 PM, Eugeniy Paltsev wrote: > This series consists of two patches: > 1. revert removal of previously existed "pseudo-multislot" support. > * Revert "mmc: dw_mmc: remove the deprecated "num-slots"" > * Revert "mmc: dw_mmc: fix the wrong condition check of getting num-slots

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-26 Thread Jaehoon Chung
Hi, On 04/17/2018 09:11 PM, Eugeniy Paltsev wrote: > This series consists of two patches: > 1. revert removal of previously existed "pseudo-multislot" support. > * Revert "mmc: dw_mmc: remove the deprecated "num-slots"" > * Revert "mmc: dw_mmc: fix the wrong condition check of getting num-slots

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-26 Thread Ulf Hansson
[...] > A bit remark for better understanding: > > All card settings change are serialized too. These settings are applied > after slot switch before execution of new request for this slot. > > So situations like calling any host_0 ops while another host (host_1) is > active > are handled by

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-26 Thread Ulf Hansson
[...] > A bit remark for better understanding: > > All card settings change are serialized too. These settings are applied > after slot switch before execution of new request for this slot. > > So situations like calling any host_0 ops while another host (host_1) is > active > are handled by

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-25 Thread Eugeniy Paltsev
On Mon, 2018-04-23 at 08:47 +0200, Ulf Hansson wrote: > On 20 April 2018 at 17:53, Eugeniy Paltsev > wrote: > > Hi Ulf, > > > > On Fri, 2018-04-20 at 09:35 +0200, Ulf Hansson wrote: > > > [...] > > > > > > > > > > > 2. Add missing stuff to support multislot mode

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-25 Thread Eugeniy Paltsev
On Mon, 2018-04-23 at 08:47 +0200, Ulf Hansson wrote: > On 20 April 2018 at 17:53, Eugeniy Paltsev > wrote: > > Hi Ulf, > > > > On Fri, 2018-04-20 at 09:35 +0200, Ulf Hansson wrote: > > > [...] > > > > > > > > > > > 2. Add missing stuff to support multislot mode in DesignWare MMC driver. > >

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-23 Thread Ulf Hansson
On 20 April 2018 at 17:53, Eugeniy Paltsev wrote: > Hi Ulf, > > On Fri, 2018-04-20 at 09:35 +0200, Ulf Hansson wrote: >> [...] >> >> > >> > 2. Add missing stuff to support multislot mode in DesignWare MMC driver. >> > * Add missing slot switch to

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-23 Thread Ulf Hansson
On 20 April 2018 at 17:53, Eugeniy Paltsev wrote: > Hi Ulf, > > On Fri, 2018-04-20 at 09:35 +0200, Ulf Hansson wrote: >> [...] >> >> > >> > 2. Add missing stuff to support multislot mode in DesignWare MMC driver. >> > * Add missing slot switch to __dw_mci_start_request() function. >> > *

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-20 Thread Eugeniy Paltsev
Hi Ulf, On Fri, 2018-04-20 at 09:35 +0200, Ulf Hansson wrote: > [...] > > > > > 2. Add missing stuff to support multislot mode in DesignWare MMC driver. > > * Add missing slot switch to __dw_mci_start_request() function. > > * Refactor set_ios function: > >a) Calculate common clock which

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-20 Thread Eugeniy Paltsev
Hi Ulf, On Fri, 2018-04-20 at 09:35 +0200, Ulf Hansson wrote: > [...] > > > > > 2. Add missing stuff to support multislot mode in DesignWare MMC driver. > > * Add missing slot switch to __dw_mci_start_request() function. > > * Refactor set_ios function: > >a) Calculate common clock which

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-20 Thread Ulf Hansson
On 20 April 2018 at 09:42, Alexey Brodkin wrote: > Hi Ulf, > > On Fri, 2018-04-20 at 09:35 +0200, Ulf Hansson wrote: >> [...] >> >> > >> > 2. Add missing stuff to support multislot mode in DesignWare MMC driver. >> > * Add missing slot switch to

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-20 Thread Ulf Hansson
On 20 April 2018 at 09:42, Alexey Brodkin wrote: > Hi Ulf, > > On Fri, 2018-04-20 at 09:35 +0200, Ulf Hansson wrote: >> [...] >> >> > >> > 2. Add missing stuff to support multislot mode in DesignWare MMC driver. >> > * Add missing slot switch to __dw_mci_start_request() function. >> > *

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-20 Thread Alexey Brodkin
Hi Ulf, On Fri, 2018-04-20 at 09:35 +0200, Ulf Hansson wrote: > [...] > > > > > 2. Add missing stuff to support multislot mode in DesignWare MMC driver. > > * Add missing slot switch to __dw_mci_start_request() function. > > * Refactor set_ios function: > >a) Calculate common clock which

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-20 Thread Alexey Brodkin
Hi Ulf, On Fri, 2018-04-20 at 09:35 +0200, Ulf Hansson wrote: > [...] > > > > > 2. Add missing stuff to support multislot mode in DesignWare MMC driver. > > * Add missing slot switch to __dw_mci_start_request() function. > > * Refactor set_ios function: > >a) Calculate common clock which

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-20 Thread Ulf Hansson
[...] > > 2. Add missing stuff to support multislot mode in DesignWare MMC driver. > * Add missing slot switch to __dw_mci_start_request() function. > * Refactor set_ios function: >a) Calculate common clock which is > suitable for all slots instead of directly use clock value >

Re: [RFC 0/2] dw_mmc: add multislot support

2018-04-20 Thread Ulf Hansson
[...] > > 2. Add missing stuff to support multislot mode in DesignWare MMC driver. > * Add missing slot switch to __dw_mci_start_request() function. > * Refactor set_ios function: >a) Calculate common clock which is > suitable for all slots instead of directly use clock value >

[RFC 0/2] dw_mmc: add multislot support

2018-04-17 Thread Eugeniy Paltsev
This series consists of two patches: 1. revert removal of previously existed "pseudo-multislot" support. * Revert "mmc: dw_mmc: remove the deprecated "num-slots"" * Revert "mmc: dw_mmc: fix the wrong condition check of getting num-slots from DT" * Revert "mmc: dw_mmc: remove the unnecessary

[RFC 0/2] dw_mmc: add multislot support

2018-04-17 Thread Eugeniy Paltsev
This series consists of two patches: 1. revert removal of previously existed "pseudo-multislot" support. * Revert "mmc: dw_mmc: remove the deprecated "num-slots"" * Revert "mmc: dw_mmc: fix the wrong condition check of getting num-slots from DT" * Revert "mmc: dw_mmc: remove the unnecessary