mbox series

[v2,00/18] Devicetree update for SDX55 platform

Message ID 20210105122649.13581-1-manivannan.sadhasivam@linaro.org
Headers show
Series Devicetree update for SDX55 platform | expand

Message

Manivannan Sadhasivam Jan. 5, 2021, 12:26 p.m. UTC
Hi Bjorn,

This series updates devicetree for the SDX55 platform and the MTP board.
Most of the SDX55 specific driver codes are already merged and some of
existing driver support got reused.

Thanks,
Mani

Changes in v2:

* Changed "SoC" to "platform" and modified FIXME in commit message

Bjorn Andersson (1):
  ARM: dts: qcom: sdx55: Enable ARM SMMU

Manivannan Sadhasivam (9):
  dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible
  ARM: dts: qcom: sdx55: Add support for SDHCI controller
  dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU
  ARM: dts: qcom: sdx55: Add support for TCSR Mutex
  ARM: dts: qcom: sdx55: Add Shared memory manager support
  ARM: dts: qcom: sdx55: Add QPIC BAM support
  ARM: dts: qcom: sdx55: Add QPIC NAND support
  ARM: dts: qcom: sdx55-mtp: Enable BAM DMA
  ARM: dts: qcom: sdx55-mtp: Enable QPIC NAND

Vinod Koul (8):
  ARM: dts: qcom: sdx55: Add pincontrol node
  ARM: dts: qcom: sdx55: Add reserved memory nodes
  ARM: dts: qcom: sdx55: Add spmi node
  ARM: dts: qcom: sdx55-mtp: Add pm8150b pmic
  ARM: dts: qcom: sdx55-mtp: Add pmx55 pmic
  ARM: dts: qcom: sdx55: Add rpmpd node
  ARM: dts: qcom: Add PMIC pmx55 dts
  ARM: dts: qcom: sdx55-mtp: Add regulator nodes

 .../devicetree/bindings/iommu/arm,smmu.yaml   |   1 +
 .../devicetree/bindings/mmc/sdhci-msm.txt     |   1 +
 arch/arm/boot/dts/qcom-pmx55.dtsi             |  91 +++++++
 arch/arm/boot/dts/qcom-sdx55-mtp.dts          | 197 +++++++++++++++
 arch/arm/boot/dts/qcom-sdx55.dtsi             | 234 ++++++++++++++++++
 5 files changed, 524 insertions(+)
 create mode 100644 arch/arm/boot/dts/qcom-pmx55.dtsi

-- 
2.25.1

Comments

Vinod Koul Jan. 5, 2021, 3:49 p.m. UTC | #1
On 05-01-21, 17:56, Manivannan Sadhasivam wrote:
> Add devicetree binding for Qualcomm SDX55 SMMU.

> 

> Cc: Rob Herring <robh+dt@kernel.org>

> Cc: devicetree@vger.kernel.org

> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> ---

>  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 3b63f2ae24db..cc48d90de5fe 100644

> --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml

> +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml

> @@ -37,6 +37,7 @@ properties:

>                - qcom,sdm845-smmu-500

>                - qcom,sm8150-smmu-500

>                - qcom,sm8250-smmu-500

> +              - qcom,sdx55-smmu-500


Keep this sorted?

With that:

Reviewed-by: Vinod Koul <vkoul@kernel.org>


>            - const: arm,mmu-500

>        - description: Qcom Adreno GPUs implementing "arm,smmu-v2"

>          items:

> -- 

> 2.25.1


-- 
~Vinod
Vinod Koul Jan. 5, 2021, 3:53 p.m. UTC | #2
On 05-01-21, 17:56, Manivannan Sadhasivam wrote:
> The SDHCI controller on SDX55 is based on MSM SDHCI v5 IP. Hence,
> document the compatible with "qcom,sdhci-msm-v5" as the fallback.
> 
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> ---
>  Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
> index 3b602fd6180b..31f4a5628595 100644
> --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
> +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
> @@ -21,6 +21,7 @@ Required properties:
>  		"qcom,sdm845-sdhci", "qcom,sdhci-msm-v5"
>  		"qcom,qcs404-sdhci", "qcom,sdhci-msm-v5"
>  		"qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
> +		"qcom,sdx55-sdhci", "qcom,sdhci-msm-v5";

Keep this sorted?

With that:

Reviewed-by: Vinod Koul <vkoul@kernel.org>

>  	NOTE that some old device tree files may be floating around that only
>  	have the string "qcom,sdhci-msm-v4" without the SoC compatible string
>  	but doing that should be considered a deprecated practice.
> -- 
> 2.25.1