devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V5] dt-bindings: mmc: sdhci-msm: Add gcc resets strings
@ 2022-06-02 11:44 Shaik Sajida Bhanu
  2022-06-02 14:34 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Shaik Sajida Bhanu @ 2022-06-02 11:44 UTC (permalink / raw)
  To: ulf.hansson, robh+dt, krzysztof.kozlowski+dt, bhupesh.sharma
  Cc: linux-mmc, devicetree, linux-kernel, quic_rampraka, quic_pragalla,
	quic_sartgarg, quic_nitirawa, quic_sayalil, Shaik Sajida Bhanu

Add gcc hardware reset supported strings for qcom-sdhci controller

Signed-off-by: Shaik Sajida Bhanu <quic_c_sbhanu@quicinc.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Changes since V4:
	- Updated Dt bindings changes YAML format as suggested by
	  Ulf Hansson.

Changes since V3:
	- Removed reset-names from DT bindings as suggested by
	  Stephen Boyd.
---
 Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
index e423633..5548c35 100644
--- a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
+++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
@@ -121,6 +121,9 @@ properties:
     description: A phandle to sdhci power domain node
     maxItems: 1
 
+  resets:
+    description: Phandle and reset specifier for the device's reset.
+
 patternProperties:
   '^opp-table(-[a-z0-9]+)?$':
     if:
@@ -157,6 +160,8 @@ examples:
                    <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
       interrupt-names = "hc_irq", "pwr_irq";
 
+      resets = <&gcc GCC_SDCC2_BCR>;
+
       clocks = <&gcc GCC_SDCC2_AHB_CLK>,
                <&gcc GCC_SDCC2_APPS_CLK>,
                <&rpmhcc RPMH_CXO_CLK>;
-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member 
of Code Aurora Forum, hosted by The Linux Foundation


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH V5] dt-bindings: mmc: sdhci-msm: Add gcc resets strings
  2022-06-02 11:44 [PATCH V5] dt-bindings: mmc: sdhci-msm: Add gcc resets strings Shaik Sajida Bhanu
@ 2022-06-02 14:34 ` Rob Herring
  2022-06-07 10:15   ` Ulf Hansson
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2022-06-02 14:34 UTC (permalink / raw)
  To: Shaik Sajida Bhanu
  Cc: ulf.hansson, krzysztof.kozlowski+dt, bhupesh.sharma, linux-mmc,
	devicetree, linux-kernel, quic_rampraka, quic_pragalla,
	quic_sartgarg, quic_nitirawa, quic_sayalil

On Thu, Jun 02, 2022 at 05:14:51PM +0530, Shaik Sajida Bhanu wrote:
> Add gcc hardware reset supported strings for qcom-sdhci controller
> 
> Signed-off-by: Shaik Sajida Bhanu <quic_c_sbhanu@quicinc.com>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> Changes since V4:
> 	- Updated Dt bindings changes YAML format as suggested by
> 	  Ulf Hansson.
> 
> Changes since V3:
> 	- Removed reset-names from DT bindings as suggested by
> 	  Stephen Boyd.
> ---
>  Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
> index e423633..5548c35 100644
> --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
> +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
> @@ -121,6 +121,9 @@ properties:
>      description: A phandle to sdhci power domain node
>      maxItems: 1
>  
> +  resets:
> +    description: Phandle and reset specifier for the device's reset.

Don't need generic descriptions for common properties. What you do need 
is how many entries and what each entry is if more than one.

Rob

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH V5] dt-bindings: mmc: sdhci-msm: Add gcc resets strings
  2022-06-02 14:34 ` Rob Herring
@ 2022-06-07 10:15   ` Ulf Hansson
  0 siblings, 0 replies; 3+ messages in thread
From: Ulf Hansson @ 2022-06-07 10:15 UTC (permalink / raw)
  To: Rob Herring
  Cc: Shaik Sajida Bhanu, krzysztof.kozlowski+dt, bhupesh.sharma,
	linux-mmc, devicetree, linux-kernel, quic_rampraka, quic_pragalla,
	quic_sartgarg, quic_nitirawa, quic_sayalil

On Thu, 2 Jun 2022 at 16:34, Rob Herring <robh@kernel.org> wrote:
>
> On Thu, Jun 02, 2022 at 05:14:51PM +0530, Shaik Sajida Bhanu wrote:
> > Add gcc hardware reset supported strings for qcom-sdhci controller
> >
> > Signed-off-by: Shaik Sajida Bhanu <quic_c_sbhanu@quicinc.com>
> > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > ---
> > Changes since V4:
> >       - Updated Dt bindings changes YAML format as suggested by
> >         Ulf Hansson.
> >
> > Changes since V3:
> >       - Removed reset-names from DT bindings as suggested by
> >         Stephen Boyd.
> > ---
> >  Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 5 +++++
> >  1 file changed, 5 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
> > index e423633..5548c35 100644
> > --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
> > +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
> > @@ -121,6 +121,9 @@ properties:
> >      description: A phandle to sdhci power domain node
> >      maxItems: 1
> >
> > +  resets:
> > +    description: Phandle and reset specifier for the device's reset.
>
> Don't need generic descriptions for common properties. What you do need
> is how many entries and what each entry is if more than one.

I guess we should also specify whether the reset is optional or required. Right?

Kind regards
Uffe

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-07 10:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-02 11:44 [PATCH V5] dt-bindings: mmc: sdhci-msm: Add gcc resets strings Shaik Sajida Bhanu
2022-06-02 14:34 ` Rob Herring
2022-06-07 10:15   ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).