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


Groups > linux.kernel > #1367134

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

From Shawn Lin <shawn.lin@rock-chips.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 0/2] mmc: dw_mmc: controller reset support
Date 2016-03-30 13:50 +0200
Message-ID <rimNl-4K2-25@gated-at.bofh.it> (permalink)
References <riiJH-215-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


+ Heiko
On 2016/3/30 15:24, Guodong Xu wrote:
> mmc 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
> deassert the 'reset' of dw_mmc 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
>
> Guodong Xu (2):
>    Documentation: synopsys-dw-mshc: add binding for resets
>    mmc: dw_mmc: add resets support to dw_mmc
>
>   .../devicetree/bindings/mmc/synopsys-dw-mshc.txt     |  4 ++++
>   drivers/mmc/host/dw_mmc.c                            | 20 +++++++++++++++++++-
>   include/linux/mmc/dw_mmc.h                           |  6 ++++--
>   3 files changed, 27 insertions(+), 3 deletions(-)
>


-- 
Best Regards
Shawn Lin

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


Thread

[PATCH v3 0/2] mmc: dw_mmc: controller reset support Guodong Xu <guodong.xu@linaro.org> - 2016-03-30 09:30 +0200
  [PATCH v3 2/2] mmc: dw_mmc: add resets support to dw_mmc Guodong Xu <guodong.xu@linaro.org> - 2016-03-30 09:30 +0200
    Re: [PATCH v3 2/2] mmc: dw_mmc: add resets support to dw_mmc Jaehoon Chung <jh80.chung@samsung.com> - 2016-03-30 13:50 +0200
      Re: [PATCH v3 2/2] mmc: dw_mmc: add resets support to dw_mmc Heiko Stuebner <heiko@sntech.de> - 2016-04-01 20:50 +0200
    Re: [PATCH v3 2/2] mmc: dw_mmc: add resets support to dw_mmc Heiko Stuebner <heiko@sntech.de> - 2016-04-01 20:50 +0200
      Re: [PATCH v3 2/2] mmc: dw_mmc: add resets support to dw_mmc Heiko Stuebner <heiko@sntech.de> - 2016-04-02 16:10 +0200
  [PATCH v3 1/2] Documentation: synopsys-dw-mshc: add binding for resets Guodong Xu <guodong.xu@linaro.org> - 2016-03-30 09:30 +0200
  Re: [PATCH v3 0/2] mmc: dw_mmc: controller reset support Shawn Lin <shawn.lin@rock-chips.com> - 2016-03-30 13:50 +0200

csiph-web