From: Shawn Lin <shawn.lin@rock-chips.com>
To: Jaehoon Chung <jh80.chung@samsung.com>,
Guodong Xu <guodong.xu@linaro.org>,
robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
ulf.hansson@linaro.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org
Cc: shawn.lin@rock-chips.com, shawn.lin@kernel-upstream.org
Subject: Re: [PATCH 1/2] Documentation: synopsys-dw-mshc: add binding for resets
Date: Mon, 7 Mar 2016 17:35:53 +0800 [thread overview]
Message-ID: <56DD4B79.2090509@rock-chips.com> (raw)
In-Reply-To: <56DCD11E.5000901@samsung.com>
Hi Jaehoon,
On 2016/3/7 8:53, Jaehoon Chung wrote:
> Hi Goudong,
>
> On 03/06/2016 05:47 PM, Guodong Xu wrote:
>> Add resets property to synopsys-dw-mshc bindings. It is intended to
>> represent the hardware reset signal present internally in some host
>> controller IC designs.
>>
>> See Documentation/devicetree/bindings/reset/reset.txt for details.
>>
>> Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
>> Acked-by: Rob Herring <robh@kernel.org>
>> ---
>> Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
>> index 8636f5a..4e00e85 100644
>> --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
>> +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
>> @@ -39,6 +39,10 @@ Required Properties:
>>
>> Optional properties:
>>
>> +* resets: phandle + reset specifier pair, intended to represent hardware
>> + reset signal present internally in some host controller IC designs.
>> + See Documentation/devicetree/bindings/reset/reset.txt for details.
>
> Is this reset property for common dwmmc IP controller?
I think so. By discussion with my ASIC team, it's provided by synopsys.
From dw_mmc databook version 270a, section 3.2.5, FBE Scenarios:
An FBE occurs due to an AHB error response on the AHB bus. This is a
system error, so the software driver should not perform any further
programming to the DWC_mobile_storage. The only recovery mechanism
from such scenarios is to do one of the following:
■ Issue a hard reset by asserting the reset_n signal
■ Do a program controller reset by writing to the CTRL[0] register
the reset_n signal can be used to reset all the internal logic block
with dwmmc and reset the register value to default stat.
Note: reset_n is a internal signal, which is diff from rst_n for mmc hw
reset. (refer to databook section 5.2 Signal Descriptions, table 5-1)
>
> Best Regards,
> Jaehoon Chung
>
>> +
>> * clocks: from common clock binding: handle to biu and ciu clocks for the
>> bus interface unit clock and the card interface unit clock.
>>
>>
>
>
>
>
--
Best Regards
Shawn Lin
next prev parent reply other threads:[~2016-03-07 9:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-06 8:47 [PATCH 1/2] Documentation: synopsys-dw-mshc: add binding for resets Guodong Xu
2016-03-06 8:47 ` [PATCH 2/2] mmc: dw_mmc: add resets support to dw_mmc Guodong Xu
2016-03-06 9:11 ` kbuild test robot
2016-03-06 14:16 ` Shawn Lin
[not found] ` <CAFGCpxz3GfFeduaz1Dkg0WvRJWs+GHdVu8uY0-wV=RGyRfBE=A@mail.gmail.com>
[not found] ` <56F9E6E5.9000100@kernel-upstream.org>
2016-03-29 5:56 ` Jaehoon Chung
2016-03-29 6:09 ` Shawn Lin
2016-03-29 6:15 ` Jaehoon Chung
2016-03-29 8:23 ` zhangfei
2016-03-29 8:30 ` Jaehoon Chung
2016-03-30 0:46 ` Shawn Lin
2016-03-30 1:18 ` zhangfei
2016-03-07 0:53 ` [PATCH 1/2] Documentation: synopsys-dw-mshc: add binding for resets Jaehoon Chung
2016-03-07 9:35 ` Shawn Lin [this message]
2016-03-07 9:51 ` Jaehoon Chung
-- strict thread matches above, loose matches on Subject: below --
2016-03-03 1:33 Guodong Xu
2016-03-05 4:28 ` Rob Herring
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=56DD4B79.2090509@rock-chips.com \
--to=shawn.lin@rock-chips.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=guodong.xu@linaro.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jh80.chung@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=shawn.lin@kernel-upstream.org \
--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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox