From: Jaehoon Chung <jh80.chung@samsung.com> To: Guodong Xu <guodong.xu@linaro.org>, heiko@sntech.de, shawn.lin@rock-chips.com, robh+dt@kernel.org, mark.rutland@arm.com, ulf.hansson@linaro.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org Subject: Re: [PATCH v5 0/2] mmc: dw_mmc: host controller reset support Date: Fri, 12 Aug 2016 18:19:39 +0900 [thread overview] Message-ID: <724bc267-1f6b-0211-4645-10cc49eedd48@samsung.com> (raw) In-Reply-To: <1470991886-22412-1-git-send-email-guodong.xu@linaro.org> 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(-) >
WARNING: multiple messages have this Message-ID (diff)
From: jh80.chung@samsung.com (Jaehoon Chung) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 0/2] mmc: dw_mmc: host controller reset support Date: Fri, 12 Aug 2016 18:19:39 +0900 [thread overview] Message-ID: <724bc267-1f6b-0211-4645-10cc49eedd48@samsung.com> (raw) In-Reply-To: <1470991886-22412-1-git-send-email-guodong.xu@linaro.org> 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(-) >
next prev parent reply other threads:[~2016-08-12 9:19 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <CGME20160812085218epcas1p34d84a42a931dcc09fe7a77be59065499@epcas1p3.samsung.com> 2016-08-12 8:51 ` [PATCH v5 0/2] mmc: dw_mmc: host controller reset support Guodong Xu 2016-08-12 8:51 ` Guodong Xu 2016-08-12 8:51 ` Guodong Xu 2016-08-12 8:51 ` [PATCH v5 1/2] Documentation: synopsys-dw-mshc: add binding for resets Guodong Xu 2016-08-12 8:51 ` Guodong Xu 2016-08-12 8:51 ` Guodong Xu 2016-08-12 8:51 ` [PATCH v5 2/2] mmc: dw_mmc: add reset support to dwmmc host controller Guodong Xu 2016-08-12 8:51 ` Guodong Xu 2016-08-12 9:19 ` Jaehoon Chung [this message] 2016-08-12 9:19 ` [PATCH v5 0/2] mmc: dw_mmc: host controller reset support Jaehoon Chung
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=724bc267-1f6b-0211-4645-10cc49eedd48@samsung.com \ --to=jh80.chung@samsung.com \ --cc=devicetree@vger.kernel.org \ --cc=guodong.xu@linaro.org \ --cc=heiko@sntech.de \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mmc@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=robh+dt@kernel.org \ --cc=shawn.lin@rock-chips.com \ --cc=ulf.hansson@linaro.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.