2022-04-12 21:41:19

by Shaik Sajida Bhanu

[permalink] [raw]
Subject: [PATCH V4 1/2] dt-bindings: mmc: sdhci-msm: Add gcc resets strings

Add gcc hardware reset supported strings for qcom-sdhci controller.

Signed-off-by: Shaik Sajida Bhanu <[email protected]>
---
Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
index 6216ed7..9f02461 100644
--- a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
+++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
@@ -76,6 +76,7 @@ Optional Properties:
"cpu-sdhc".
Please refer to Documentation/devicetree/bindings/
interconnect/ for more details.
+- resets: Phandle and reset specifier for the device's reset.

Example:

@@ -98,6 +99,8 @@ Example:
<&qnoc MASTER_CPU_ID &qnoc SLAVE_SDCC_ID>;
interconnect-names = "sdhc-ddr","cpu-sdhc";

+ resets = <&gcc GCC_SDCC1_BCR>;
+
qcom,dll-config = <0x000f642c>;
qcom,ddr-config = <0x80040868>;
};
@@ -118,6 +121,8 @@ Example:
clocks = <&gcc GCC_SDCC2_APPS_CLK>, <&gcc GCC_SDCC2_AHB_CLK>;
clock-names = "core", "iface";

+ resets = <&gcc GCC_SDCC2_BCR>;
+
qcom,dll-config = <0x0007642c>;
qcom,ddr-config = <0x80040868>;
};
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation


2022-04-12 22:07:07

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH V4 1/2] dt-bindings: mmc: sdhci-msm: Add gcc resets strings

On 12/04/2022 12:32, Shaik Sajida Bhanu wrote:
> Add gcc hardware reset supported strings for qcom-sdhci controller.
>
> Signed-off-by: Shaik Sajida Bhanu <[email protected]>
> ---
> Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 5 +++++
> 1 file changed, 5 insertions(+)
>


Acked-by: Krzysztof Kozlowski <[email protected]>


Best regards,
Krzysztof

2022-04-12 23:51:52

by Ulf Hansson

[permalink] [raw]
Subject: Re: [PATCH V4 1/2] dt-bindings: mmc: sdhci-msm: Add gcc resets strings

+ Bhupesh

On Tue, 12 Apr 2022 at 12:33, Shaik Sajida Bhanu
<[email protected]> wrote:
>
> Add gcc hardware reset supported strings for qcom-sdhci controller.
>
> Signed-off-by: Shaik Sajida Bhanu <[email protected]>

As stated earlier, I would really like to see the binding being
converted to the yaml format first. It seems like Bhupesh is working
on the conversion [1].

Kind regards
Uffe

[1]
https://www.spinics.net/lists/linux-arm-msm/msg107809.html


> ---
> Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
> index 6216ed7..9f02461 100644
> --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
> +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
> @@ -76,6 +76,7 @@ Optional Properties:
> "cpu-sdhc".
> Please refer to Documentation/devicetree/bindings/
> interconnect/ for more details.
> +- resets: Phandle and reset specifier for the device's reset.
>
> Example:
>
> @@ -98,6 +99,8 @@ Example:
> <&qnoc MASTER_CPU_ID &qnoc SLAVE_SDCC_ID>;
> interconnect-names = "sdhc-ddr","cpu-sdhc";
>
> + resets = <&gcc GCC_SDCC1_BCR>;
> +
> qcom,dll-config = <0x000f642c>;
> qcom,ddr-config = <0x80040868>;
> };
> @@ -118,6 +121,8 @@ Example:
> clocks = <&gcc GCC_SDCC2_APPS_CLK>, <&gcc GCC_SDCC2_AHB_CLK>;
> clock-names = "core", "iface";
>
> + resets = <&gcc GCC_SDCC2_BCR>;
> +
> qcom,dll-config = <0x0007642c>;
> qcom,ddr-config = <0x80040868>;
> };
> --
> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
> of Code Aurora Forum, hosted by The Linux Foundation
>