linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible
@ 2021-01-07 14:31 Manivannan Sadhasivam
  2021-01-07 14:31 ` [PATCH 2/2] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU Manivannan Sadhasivam
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Manivannan Sadhasivam @ 2021-01-07 14:31 UTC (permalink / raw)
  To: robh+dt, devicetree
  Cc: bjorn.andersson, linux-arm-kernel, linux-kernel,
	Manivannan Sadhasivam, Ulf Hansson, linux-mmc, Vinod Koul

The SDHCI controller on SDX55 is based on MSM SDHCI v5 IP. Hence,
document the compatible with "qcom,sdhci-msm-v5" as the fallback.
While at it, let's also sort the compatibles in ascending order.

Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: linux-mmc@vger.kernel.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
---
 Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
index 3b602fd6180b..9fa8a24fbc97 100644
--- a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
+++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
@@ -17,10 +17,11 @@ Required properties:
 		"qcom,msm8916-sdhci", "qcom,sdhci-msm-v4"
 		"qcom,msm8992-sdhci", "qcom,sdhci-msm-v4"
 		"qcom,msm8996-sdhci", "qcom,sdhci-msm-v4"
-		"qcom,sm8250-sdhci", "qcom,sdhci-msm-v5"
-		"qcom,sdm845-sdhci", "qcom,sdhci-msm-v5"
 		"qcom,qcs404-sdhci", "qcom,sdhci-msm-v5"
 		"qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
+		"qcom,sdm845-sdhci", "qcom,sdhci-msm-v5"
+		"qcom,sdx55-sdhci", "qcom,sdhci-msm-v5";
+		"qcom,sm8250-sdhci", "qcom,sdhci-msm-v5"
 	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


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

* [PATCH 2/2] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU
  2021-01-07 14:31 [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible Manivannan Sadhasivam
@ 2021-01-07 14:31 ` Manivannan Sadhasivam
  2021-01-13  3:22   ` Rob Herring
  2021-01-13  3:22 ` [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible Rob Herring
  2021-01-13 11:25 ` Ulf Hansson
  2 siblings, 1 reply; 7+ messages in thread
From: Manivannan Sadhasivam @ 2021-01-07 14:31 UTC (permalink / raw)
  To: robh+dt, devicetree
  Cc: bjorn.andersson, linux-arm-kernel, linux-kernel,
	Manivannan Sadhasivam, Will Deacon, Robin Murphy, Joerg Roedel,
	iommu, Vinod Koul

Add devicetree binding for Qualcomm SDX55 SMMU.

Cc: Will Deacon <will@kernel.org>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: iommu@lists.linux-foundation.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Vinod Koul <vkoul@kernel.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..3a1cefce8bc4 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -35,6 +35,7 @@ properties:
           - enum:
               - qcom,sc7180-smmu-500
               - qcom,sdm845-smmu-500
+              - qcom,sdx55-smmu-500
               - qcom,sm8150-smmu-500
               - qcom,sm8250-smmu-500
           - const: arm,mmu-500
-- 
2.25.1


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

* Re: [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible
  2021-01-07 14:31 [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible Manivannan Sadhasivam
  2021-01-07 14:31 ` [PATCH 2/2] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU Manivannan Sadhasivam
@ 2021-01-13  3:22 ` Rob Herring
  2021-01-13 11:25 ` Ulf Hansson
  2 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2021-01-13  3:22 UTC (permalink / raw)
  To: Manivannan Sadhasivam
  Cc: bjorn.andersson, linux-mmc, linux-kernel, Vinod Koul,
	Ulf Hansson, linux-arm-kernel, robh+dt, devicetree

On Thu, 07 Jan 2021 20:01:17 +0530, 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.
> While at it, let's also sort the compatibles in ascending order.
> 
> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> Cc: linux-mmc@vger.kernel.org
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> Reviewed-by: Vinod Koul <vkoul@kernel.org>
> ---
>  Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 2/2] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU
  2021-01-07 14:31 ` [PATCH 2/2] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU Manivannan Sadhasivam
@ 2021-01-13  3:22   ` Rob Herring
  2021-01-22 13:14     ` Will Deacon
  0 siblings, 1 reply; 7+ messages in thread
From: Rob Herring @ 2021-01-13  3:22 UTC (permalink / raw)
  To: Manivannan Sadhasivam
  Cc: devicetree, Will Deacon, linux-arm-kernel, Robin Murphy,
	Vinod Koul, robh+dt, iommu, bjorn.andersson, linux-kernel,
	Joerg Roedel

On Thu, 07 Jan 2021 20:01:18 +0530, Manivannan Sadhasivam wrote:
> Add devicetree binding for Qualcomm SDX55 SMMU.
> 
> Cc: Will Deacon <will@kernel.org>
> Cc: Robin Murphy <robin.murphy@arm.com>
> Cc: Joerg Roedel <joro@8bytes.org>
> Cc: iommu@lists.linux-foundation.org
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> Reviewed-by: Vinod Koul <vkoul@kernel.org>
> ---
>  Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible
  2021-01-07 14:31 [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible Manivannan Sadhasivam
  2021-01-07 14:31 ` [PATCH 2/2] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU Manivannan Sadhasivam
  2021-01-13  3:22 ` [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible Rob Herring
@ 2021-01-13 11:25 ` Ulf Hansson
  2 siblings, 0 replies; 7+ messages in thread
From: Ulf Hansson @ 2021-01-13 11:25 UTC (permalink / raw)
  To: Manivannan Sadhasivam
  Cc: Rob Herring, DTML, Bjorn Andersson, Linux ARM,
	Linux Kernel Mailing List, linux-mmc, Vinod Koul

On Thu, 7 Jan 2021 at 15:31, Manivannan Sadhasivam
<manivannan.sadhasivam@linaro.org> 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.
> While at it, let's also sort the compatibles in ascending order.
>
> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> Cc: linux-mmc@vger.kernel.org
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> Reviewed-by: Vinod Koul <vkoul@kernel.org>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
> index 3b602fd6180b..9fa8a24fbc97 100644
> --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
> +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
> @@ -17,10 +17,11 @@ Required properties:
>                 "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4"
>                 "qcom,msm8992-sdhci", "qcom,sdhci-msm-v4"
>                 "qcom,msm8996-sdhci", "qcom,sdhci-msm-v4"
> -               "qcom,sm8250-sdhci", "qcom,sdhci-msm-v5"
> -               "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5"
>                 "qcom,qcs404-sdhci", "qcom,sdhci-msm-v5"
>                 "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
> +               "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5"
> +               "qcom,sdx55-sdhci", "qcom,sdhci-msm-v5";
> +               "qcom,sm8250-sdhci", "qcom,sdhci-msm-v5"
>         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
>

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

* Re: [PATCH 2/2] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU
  2021-01-13  3:22   ` Rob Herring
@ 2021-01-22 13:14     ` Will Deacon
  2021-01-22 13:50       ` Manivannan Sadhasivam
  0 siblings, 1 reply; 7+ messages in thread
From: Will Deacon @ 2021-01-22 13:14 UTC (permalink / raw)
  To: Rob Herring
  Cc: Manivannan Sadhasivam, devicetree, linux-arm-kernel,
	Robin Murphy, Vinod Koul, robh+dt, iommu, bjorn.andersson,
	linux-kernel, Joerg Roedel

On Tue, Jan 12, 2021 at 09:22:23PM -0600, Rob Herring wrote:
> On Thu, 07 Jan 2021 20:01:18 +0530, Manivannan Sadhasivam wrote:
> > Add devicetree binding for Qualcomm SDX55 SMMU.
> > 
> > Cc: Will Deacon <will@kernel.org>
> > Cc: Robin Murphy <robin.murphy@arm.com>
> > Cc: Joerg Roedel <joro@8bytes.org>
> > Cc: iommu@lists.linux-foundation.org
> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> > Reviewed-by: Vinod Koul <vkoul@kernel.org>
> > ---
> >  Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> 
> Acked-by: Rob Herring <robh@kernel.org>

Is there another patch adding driver support for matching this new binding?

Will

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

* Re: [PATCH 2/2] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU
  2021-01-22 13:14     ` Will Deacon
@ 2021-01-22 13:50       ` Manivannan Sadhasivam
  0 siblings, 0 replies; 7+ messages in thread
From: Manivannan Sadhasivam @ 2021-01-22 13:50 UTC (permalink / raw)
  To: Will Deacon
  Cc: Rob Herring, devicetree, linux-arm-kernel, Robin Murphy,
	Vinod Koul, robh+dt, iommu, bjorn.andersson, linux-kernel,
	Joerg Roedel

On Fri, Jan 22, 2021 at 01:14:49PM +0000, Will Deacon wrote:
> On Tue, Jan 12, 2021 at 09:22:23PM -0600, Rob Herring wrote:
> > On Thu, 07 Jan 2021 20:01:18 +0530, Manivannan Sadhasivam wrote:
> > > Add devicetree binding for Qualcomm SDX55 SMMU.
> > > 
> > > Cc: Will Deacon <will@kernel.org>
> > > Cc: Robin Murphy <robin.murphy@arm.com>
> > > Cc: Joerg Roedel <joro@8bytes.org>
> > > Cc: iommu@lists.linux-foundation.org
> > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> > > Reviewed-by: Vinod Koul <vkoul@kernel.org>
> > > ---
> > >  Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
> > >  1 file changed, 1 insertion(+)
> > > 
> > 
> > Acked-by: Rob Herring <robh@kernel.org>
> 
> Is there another patch adding driver support for matching this new binding?
> 

Nope. But the compatible is used as a fallback with "arm,mmu-500". The
dts patch is merged into qcom tree:

https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git/commit/?h=dts-for-5.12&id=a2bdfdfba2afb532f2a2c8082bdb7de8379a4b6c

Thanks,
Mani

> Will

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

end of thread, other threads:[~2021-01-22 13:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 14:31 [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible Manivannan Sadhasivam
2021-01-07 14:31 ` [PATCH 2/2] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU Manivannan Sadhasivam
2021-01-13  3:22   ` Rob Herring
2021-01-22 13:14     ` Will Deacon
2021-01-22 13:50       ` Manivannan Sadhasivam
2021-01-13  3:22 ` [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible Rob Herring
2021-01-13 11:25 ` 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).