Re: [PATCH 3/3] mmc: mediatek: add optional module reset property

2020-08-12 Thread Frank Wunderlich
Tested with these 2 changes below too. Am 12. August 2020 14:08:19 MESZ schrieb Philipp Zabel : >> +if (!IS_ERR(host->reset)) { >> +reset_control_assert(host->reset); >> +usleep_range(10, 50); >> +reset_control_deassert(host->reset); >> +} >> + > >This

Re: [PATCH 3/3] mmc: mediatek: add optional module reset property

2020-08-12 Thread Philipp Zabel
On Wed, 2020-08-12 at 17:37 +0800, Wenbin Mei wrote: > This patch adds a optional reset management for msdc. > Sometimes the bootloader does not bring msdc register > to default state, so need reset the msdc controller. > > Signed-off-by: Wenbin Mei > --- > drivers/mmc/host/mtk-sd.c | 13

Re: Aw: [PATCH 3/3] mmc: mediatek: add optional module reset property

2020-08-12 Thread Wenbin Mei
Thanks for your reply. I will add this in the next version. On Wed, 2020-08-12 at 12:07 +0200, Frank Wunderlich wrote: > > Gesendet: Mittwoch, 12. August 2020 um 11:37 Uhr > > Von: "Wenbin Mei" > > Betreff: [PATCH 3/3] mmc: mediatek: add optional module reset pro

Aw: [PATCH 3/3] mmc: mediatek: add optional module reset property

2020-08-12 Thread Frank Wunderlich
> Gesendet: Mittwoch, 12. August 2020 um 11:37 Uhr > Von: "Wenbin Mei" > Betreff: [PATCH 3/3] mmc: mediatek: add optional module reset property > This patch adds a optional reset management for msdc. > Sometimes the bootloader does not bring msdc register > to

[PATCH 3/3] mmc: mediatek: add optional module reset property

2020-08-12 Thread Wenbin Mei
This patch adds a optional reset management for msdc. Sometimes the bootloader does not bring msdc register to default state, so need reset the msdc controller. Signed-off-by: Wenbin Mei --- drivers/mmc/host/mtk-sd.c | 13 + 1 file changed, 13 insertions(+) diff --git