2022-05-02 20:36:10

by Rohit Agarwal

[permalink] [raw]
Subject: [PATCH 0/4] SDHCI and SMEM updates for sdx65.

Hello,

This series adds some patches addressing comments from Bjorn and Ulf.
The patches are from the original series "SDX65 devicetree updates" that
were needed some changes.

Thanks,
Rohit.

Rohit Agarwal (4):
dt-bindings: mmc: sdhci-msm: Document the SDX65 compatible
mmc: host/sdhci-msm: Add compatible string check for sdx65
dt-bindings: arm-smmu: Add binding for SDX65 SMMU
ARM: dts: qcom: sdx65: Add Shared memory manager support

Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 1 +
arch/arm/boot/dts/qcom-sdx65.dtsi | 4 +++-
drivers/mmc/host/sdhci-msm.c | 1 +
4 files changed, 6 insertions(+), 1 deletion(-)

--
2.7.4


2022-05-02 23:25:54

by Rohit Agarwal

[permalink] [raw]
Subject: [PATCH 2/4] mmc: host/sdhci-msm: Add compatible string check for sdx65

Add sdx65 SoC specific compatible string check inside qcom
'sdhci-msm' controller driver.

Signed-off-by: Rohit Agarwal <[email protected]>
---
drivers/mmc/host/sdhci-msm.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index fd8b4a9..65661ad 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -2453,6 +2453,7 @@ static const struct of_device_id sdhci_msm_dt_match[] = {
*/
{.compatible = "qcom,qcs404-sdhci", .data = &sdhci_msm_v5_var},
{.compatible = "qcom,sdx55-sdhci", .data = &sdhci_msm_v5_var},
+ {.compatible = "qcom,sdx65-sdhci", .data = &sdhci_msm_v5_var},
{.compatible = "qcom,sdm630-sdhci", .data = &sdhci_msm_v5_var},
{.compatible = "qcom,sm6125-sdhci", .data = &sdhci_msm_v5_var},
{.compatible = "qcom,sm6350-sdhci", .data = &sdhci_msm_v5_var},
--
2.7.4

2022-05-03 00:11:17

by Rohit Agarwal

[permalink] [raw]
Subject: [PATCH 3/4] dt-bindings: arm-smmu: Add binding for SDX65 SMMU

Add devicetree binding for Qualcomm SDX65 SMMU.

Signed-off-by: Rohit Agarwal <[email protected]>
---
Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
index da5381c..1f99bff 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -39,6 +39,7 @@ properties:
- qcom,sc8180x-smmu-500
- qcom,sdm845-smmu-500
- qcom,sdx55-smmu-500
+ - qcom,sdx65-smmu-500
- qcom,sm6350-smmu-500
- qcom,sm8150-smmu-500
- qcom,sm8250-smmu-500
--
2.7.4

2022-05-03 00:21:21

by Rohit Agarwal

[permalink] [raw]
Subject: [PATCH 4/4] ARM: dts: qcom: sdx65: Add Shared memory manager support

Add smem node to support shared memory manager on SDX65 platform.

Signed-off-by: Rohit Agarwal <[email protected]>
---
arch/arm/boot/dts/qcom-sdx65.dtsi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi
index 210e55c..57bda62 100644
--- a/arch/arm/boot/dts/qcom-sdx65.dtsi
+++ b/arch/arm/boot/dts/qcom-sdx65.dtsi
@@ -87,8 +87,10 @@
};

smem_mem: memory@8fe20000 {
- no-map;
+ compatible = "qcom,smem";
reg = <0x8fe20000 0xc0000>;
+ hwlocks = <&tcsr_mutex 3>;
+ no-map;
};

cmd_db: reserved-memory@8fee0000 {
--
2.7.4

2022-05-03 01:19:33

by Rohit Agarwal

[permalink] [raw]
Subject: [PATCH 1/4] dt-bindings: mmc: sdhci-msm: Document the SDX65 compatible

The SDHCI controller on SDX65 is based on MSM SDHCI v5 IP. Hence,
document the compatible with "qcom,sdhci-msm-v5" as the fallback.

Signed-off-by: Rohit Agarwal <[email protected]>
---
Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
index da42a88..e423633 100644
--- a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
+++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
@@ -33,6 +33,7 @@ properties:
- qcom,sdm630-sdhci
- qcom,sdm845-sdhci
- qcom,sdx55-sdhci
+ - qcom,sdx65-sdhci
- qcom,sm6125-sdhci
- qcom,sm6350-sdhci
- qcom,sm8150-sdhci
--
2.7.4

2022-05-03 13:03:10

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 3/4] dt-bindings: arm-smmu: Add binding for SDX65 SMMU

On 02/05/2022 10:37, Rohit Agarwal wrote:
> Add devicetree binding for Qualcomm SDX65 SMMU.
>
> Signed-off-by: Rohit Agarwal <[email protected]>


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


Best regards,
Krzysztof

2022-05-04 17:49:01

by Ulf Hansson

[permalink] [raw]
Subject: Re: [PATCH 2/4] mmc: host/sdhci-msm: Add compatible string check for sdx65

On Mon, 2 May 2022 at 10:38, Rohit Agarwal <[email protected]> wrote:
>
> Add sdx65 SoC specific compatible string check inside qcom
> 'sdhci-msm' controller driver.
>
> Signed-off-by: Rohit Agarwal <[email protected]>

Applied for next, thanks!

Kind regards
Uffe


> ---
> drivers/mmc/host/sdhci-msm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
> index fd8b4a9..65661ad 100644
> --- a/drivers/mmc/host/sdhci-msm.c
> +++ b/drivers/mmc/host/sdhci-msm.c
> @@ -2453,6 +2453,7 @@ static const struct of_device_id sdhci_msm_dt_match[] = {
> */
> {.compatible = "qcom,qcs404-sdhci", .data = &sdhci_msm_v5_var},
> {.compatible = "qcom,sdx55-sdhci", .data = &sdhci_msm_v5_var},
> + {.compatible = "qcom,sdx65-sdhci", .data = &sdhci_msm_v5_var},
> {.compatible = "qcom,sdm630-sdhci", .data = &sdhci_msm_v5_var},
> {.compatible = "qcom,sm6125-sdhci", .data = &sdhci_msm_v5_var},
> {.compatible = "qcom,sm6350-sdhci", .data = &sdhci_msm_v5_var},
> --
> 2.7.4
>

2022-05-05 16:50:57

by Ulf Hansson

[permalink] [raw]
Subject: Re: [PATCH 1/4] dt-bindings: mmc: sdhci-msm: Document the SDX65 compatible

On Mon, 2 May 2022 at 10:38, Rohit Agarwal <[email protected]> wrote:
>
> The SDHCI controller on SDX65 is based on MSM SDHCI v5 IP. Hence,
> document the compatible with "qcom,sdhci-msm-v5" as the fallback.
>
> Signed-off-by: Rohit Agarwal <[email protected]>

Applied for next, thanks!

Kind regards
Uffe


> ---
> Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
> index da42a88..e423633 100644
> --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
> +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
> @@ -33,6 +33,7 @@ properties:
> - qcom,sdm630-sdhci
> - qcom,sdm845-sdhci
> - qcom,sdx55-sdhci
> + - qcom,sdx65-sdhci
> - qcom,sm6125-sdhci
> - qcom,sm6350-sdhci
> - qcom,sm8150-sdhci
> --
> 2.7.4
>

2022-06-28 21:28:39

by Bjorn Andersson

[permalink] [raw]
Subject: Re: (subset) [PATCH 4/4] ARM: dts: qcom: sdx65: Add Shared memory manager support

On Mon, 2 May 2022 14:07:45 +0530, Rohit Agarwal wrote:
> Add smem node to support shared memory manager on SDX65 platform.
>
>

Applied, thanks!

[4/4] ARM: dts: qcom: sdx65: Add Shared memory manager support
commit: e378b965330d99e8622eb369021d0dac01591046

Best regards,
--
Bjorn Andersson <[email protected]>