Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753052AbcCGJxY (ORCPT ); Mon, 7 Mar 2016 04:53:24 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:41610 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752651AbcCGJvp convert rfc822-to-8bit (ORCPT ); Mon, 7 Mar 2016 04:51:45 -0500 X-AuditID: cbfee68f-f793a6d000001364-72-56dd4f2e84da MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT Message-id: <56DD4F2E.3040904@samsung.com> Date: Mon, 07 Mar 2016 18:51:42 +0900 From: Jaehoon Chung User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 To: Shawn Lin , Guodong Xu , 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@kernel-upstream.org Subject: Re: [PATCH 1/2] Documentation: synopsys-dw-mshc: add binding for resets References: <1457254062-22677-1-git-send-email-guodong.xu@linaro.org> <56DCD11E.5000901@samsung.com> <56DD4B79.2090509@rock-chips.com> In-reply-to: <56DD4B79.2090509@rock-chips.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEIsWRmVeSWpSXmKPExsWyRsSkWFfP/26YwdtHAhbzj5xjteh/s5DV 4v+dHlaLc69WMlpc3jWHzeLI/35Gi6XXLzJZTJi+lsWide8Rdot7m48xWdx5sp7V4vjacAce jzXz1jB6XO7rZfJYufwLm8eL+a+ZPTat6mTzuHNtD5vH31n7WTw+b5IL4IjisklJzcksSy3S t0vgyliy9Q5zwWbhivk3jrA3ML7h72Lk5JAQMJGYuuoYK4QtJnHh3nq2LkYuDiGBFYwSU+bt ZoQpWvK0hwkiMYtRomPlLBaQ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q1JJ407ARrZRFQlVhx9jkbiM0moCOx/dtxsF2iAmESD9btZQVpFhHYwiSxc8s5 RpAEs4CiRPPcH2BFwgIBEiuXHGKF2NDBKDHx3WVmkM2cAnoSrQvZJzACXYlw3iyE82YhnLeA kXkVo0RqQXJBcVJ6rlFearlecWJucWleul5yfu4mRnCSeCa9g/HwLvdDjAIcjEo8vBUcd8OE WBPLiitzDzFKcDArifD2uAKFeFMSK6tSi/Lji0pzUosPMZoC/TeRWUo0OR+YwPJK4g2NTcyM LI3MDS2MjM2VxHkf/18XJiSQnliSmp2aWpBaBNPHxMEp1cA4RX1p0VIvFx/OymuLph9WdA55 Gs5tUan9eMbVTWY74zVeeKTfustziiV/dXWe9EnfHMdty5ZkrK9vvPxA8OCLaqbnOzyzY3t+ u6/nOntHIit93/Qrm2+wnXXb58L35F1uZvdviQV3EhrtHJ9+qZTy+OMqk5Kb5Rj2NvlMfeLf TTXrfzfefWutxFKckWioxVxUnAgA41pzxigDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2398 Lines: 69 Hi Shawn, On 03/07/2016 06:35 PM, Shawn Lin wrote: > 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 >>> Acked-by: Rob Herring >>> --- >>> 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) Thanks for this information. :) > >> >> 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. >>> >>> >> >> >> >> > >