[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 slo

[RFC 1/2] dw_mmc: revert removal multislot support

2018-04-17 Thread Eugeniy Paltsev
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 slot variable" Revert "mmc: dw_mmc: update kernel-doc comments for dw_mci" Revert "mmc: dw_mmc: use the 'slot' instead

[RFC 2/2] dw_mmc: add multislot support

2018-04-17 Thread Eugeniy Paltsev
This patch adds missing stuff to support multislot mode in DesignWare MMC driver. The main changes: * 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

[PATCH] clocksource: arc_timer: add comments about locking while read GFRC

2018-04-17 Thread Eugeniy Paltsev
This came to light in some internal discussions and it is nice to have this documented rather than digging up the PRM (Prog Ref Manual) again. Signed-off-by: Eugeniy Paltsev --- drivers/clocksource/arc_timer.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/clocksource

Re: [PATCH] clocksource: arc_timer: add comments about locking while read GFRC

2018-04-17 Thread Vineet Gupta
On 04/17/2018 08:52 AM, Eugeniy Paltsev wrote: This came to light in some internal discussions and it is nice to have this documented rather than digging up the PRM (Prog Ref Manual) again. Signed-off-by: Eugeniy Paltsev Minor nits below, otherwise LGTM ! Acked-by: Vineet Gupta --- drive