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

2018-04-26 Thread Jaehoon Chung
ns. > * Use timing field in each slot structure instead of common field in >host structure. > * Add locks to serialize access to registers. Sorry for late. :( Well, I will read the other comments..and reply soon. Best Regards, Jaehoon Chung > > NOTE: this patch is based off of v4.

Re: [PATCH v4] mmc: dw_mmc: Fix the DTO/CTO timeout overflow calculation for 32-bit systems

2018-03-02 Thread Jaehoon Chung
bgcc and so >> code gets compiled on all 32-bit platforms as opposed to usage >> of DIV_ROUND_UP when we may only compile stuff on a very few arches. >> >> Lets cast this multiply to u64 type which prevents overflow. > > Reviewed-by: Jisheng Zhang Acked-by: Jaeho

Re: [PATCH] arc: remove num-slots from arc platforms

2017-07-07 Thread Jaehoon Chung
On 07/07/2017 05:13 PM, Alexey Brodkin wrote: > Hi Shawn, > > On Wed, 2017-07-05 at 15:10 +0800, Shawn Lin wrote: >> dwmmc driver deprecated num-slots and plan to get rid >> of it finally. Just move a step to cleanup it from DT. >> >> Cc: Jaehoon C

Re: [PATCH] arc: remove num-slots from arc platforms

2017-07-05 Thread Jaehoon Chung
On 07/05/2017 07:14 PM, Alexey Brodkin wrote: > Hi Jaehoon, > > On Wed, 2017-07-05 at 18:58 +0900, Jaehoon Chung wrote: >> Hi Alexey, >> >> On 07/05/2017 06:23 PM, Alexey Brodkin wrote: >>> >>> Hi Jaehoon, >>> >>> On Wed, 2017

Re: [PATCH] arc: remove num-slots from arc platforms

2017-07-05 Thread Jaehoon Chung
Hi Alexey, On 07/05/2017 06:23 PM, Alexey Brodkin wrote: > Hi Jaehoon, > > On Wed, 2017-07-05 at 18:13 +0900, Jaehoon Chung wrote: >> Hi Alexey, >> >> On 07/05/2017 06:05 PM, Alexey Brodkin wrote: >>> >>> Hi Shawn, >>> >>> On W

Re: [PATCH] arc: remove num-slots from arc platforms

2017-07-05 Thread Jaehoon Chung
r. > > So the question is if multi-slot support gets removed from dwmmc driver or > it's just a .dts option gets obsoleted. In latter case I'm wondering how to > enable a second slot in dwmmc driver (will it just auto-probe it etc)? In dwmmc controller, already r