Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1461025

Re: [PATCH v5 0/2] mmc: dw_mmc: host controller reset support

From Jaehoon Chung <jh80.chung@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 0/2] mmc: dw_mmc: host controller reset support
Date 2016-08-12 11:20 +0200
Message-ID <s5gNc-8dR-11@gated-at.bofh.it> (permalink)
References <s5gNc-8dR-13@gated-at.bofh.it> <s5gtP-7QJ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Guodong,

On 08/12/2016 05:51 PM, Guodong Xu wrote:
> mmc host controller registers may in abnormal state if mmc is used in
> bootloader, eg. to load kernel from eMMC. Some controllers cann't
> clear their registers when clk is set. They use dedicated reset
> logics to do this.
> 
> In this patch, a 'resets' property is added into dw_mmc dts
> node. When driver does parse_dt and probe, it calls reset API to
> triiger 'reset' of dwmmc host controller. When probe error or
> remove, it calls reset API to assert it.
> 
> Chip vendor's actual reset logics is implemented in reset driver, not
> in dw_mmc code.
> 
> Please also refer to Documentation/devicetree/bindings/reset/reset.txt
> 
> Changelog:
> v5:
>  * rebase onto https://github.com/jh80chung/dw-mmc
> v4:
>  * add reset_control_assert() and usleep() before calling _deassert().
> 
> Guodong Xu (2):
>   Documentation: synopsys-dw-mshc: add binding for resets
>   mmc: dw_mmc: add reset support to dwmmc host controller

Applied on my dw-mmc tree. Thanks!

Best Regards,
Jaehoon Chung

> 
>  .../devicetree/bindings/mmc/synopsys-dw-mshc.txt   |  4 ++++
>  drivers/mmc/host/dw_mmc.c                          | 23 +++++++++++++++++++++-
>  include/linux/mmc/dw_mmc.h                         |  2 ++
>  3 files changed, 28 insertions(+), 1 deletion(-)
> 

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v5 0/2] mmc: dw_mmc: host controller reset support Guodong Xu <guodong.xu@linaro.org> - 2016-08-12 11:00 +0200
  [PATCH v5 1/2] Documentation: synopsys-dw-mshc: add binding for resets Guodong Xu <guodong.xu@linaro.org> - 2016-08-12 11:00 +0200
  [PATCH v5 2/2] mmc: dw_mmc: add reset support to dwmmc host controller Guodong Xu <guodong.xu@linaro.org> - 2016-08-12 11:00 +0200
  Re: [PATCH v5 0/2] mmc: dw_mmc: host controller reset support Jaehoon Chung <jh80.chung@samsung.com> - 2016-08-12 11:20 +0200

csiph-web