diff mbox series

[v4,3/4] arm64: dts: qcom: add gpi-dma fallback compatible

Message ID 20221001211934.62511-4-mailingradian@gmail.com
State Superseded
Headers show
Series SDM670 GPI DMA support | expand

Commit Message

Richard Acayan Oct. 1, 2022, 9:19 p.m. UTC
The dt schema for gpi-dma has been updated with a new fallback
compatible string. Add the compatible strings to existing device trees.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8150.dtsi | 6 +++---
 arch/arm64/boot/dts/qcom/sm8250.dtsi | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

Comments

Konrad Dybcio Oct. 1, 2022, 9:20 p.m. UTC | #1
On 1.10.2022 23:19, Richard Acayan wrote:
> The dt schema for gpi-dma has been updated with a new fallback
> compatible string. Add the compatible strings to existing device trees.
> 
> Signed-off-by: Richard Acayan <mailingradian@gmail.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>

Konrad
>  arch/arm64/boot/dts/qcom/sm8150.dtsi | 6 +++---
>  arch/arm64/boot/dts/qcom/sm8250.dtsi | 6 +++---
>  2 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> index cef8c4f4f0ff..281d5109ac3b 100644
> --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> @@ -887,7 +887,7 @@ gcc: clock-controller@100000 {
>  		};
>  
>  		gpi_dma0: dma-controller@800000 {
> -			compatible = "qcom,sm8150-gpi-dma";
> +			compatible = "qcom,sm8150-gpi-dma", "qcom,sdm845-gpi-dma";
>  			reg = <0 0x800000 0 0x60000>;
>  			interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
> @@ -1222,7 +1222,7 @@ spi7: spi@89c000 {
>  		};
>  
>  		gpi_dma1: dma-controller@a00000 {
> -			compatible = "qcom,sm8150-gpi-dma";
> +			compatible = "qcom,sm8150-gpi-dma", "qcom,sdm845-gpi-dma";
>  			reg = <0 0xa00000 0 0x60000>;
>  			interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
> @@ -1471,7 +1471,7 @@ spi16: spi@a94000 {
>  		};
>  
>  		gpi_dma2: dma-controller@c00000 {
> -			compatible = "qcom,sm8150-gpi-dma";
> +			compatible = "qcom,sm8150-gpi-dma", "qcom,sdm845-gpi-dma";
>  			reg = <0 0xc00000 0 0x60000>;
>  			interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
> diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
> index a5b62cadb129..5d5de7eead08 100644
> --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
> @@ -936,7 +936,7 @@ rng: rng@793000 {
>  		};
>  
>  		gpi_dma2: dma-controller@800000 {
> -			compatible = "qcom,sm8250-gpi-dma";
> +			compatible = "qcom,sm8250-gpi-dma", "qcom,sdm845-gpi-dma";
>  			reg = <0 0x00800000 0 0x70000>;
>  			interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
> @@ -1187,7 +1187,7 @@ spi19: spi@894000 {
>  		};
>  
>  		gpi_dma0: dma-controller@900000 {
> -			compatible = "qcom,sm8250-gpi-dma";
> +			compatible = "qcom,sm8250-gpi-dma", "qcom,sdm845-gpi-dma";
>  			reg = <0 0x00900000 0 0x70000>;
>  			interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
> @@ -1505,7 +1505,7 @@ spi7: spi@99c000 {
>  		};
>  
>  		gpi_dma1: dma-controller@a00000 {
> -			compatible = "qcom,sm8250-gpi-dma";
> +			compatible = "qcom,sm8250-gpi-dma", "qcom,sdm845-gpi-dma";
>  			reg = <0 0x00a00000 0 0x70000>;
>  			interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index cef8c4f4f0ff..281d5109ac3b 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -887,7 +887,7 @@  gcc: clock-controller@100000 {
 		};
 
 		gpi_dma0: dma-controller@800000 {
-			compatible = "qcom,sm8150-gpi-dma";
+			compatible = "qcom,sm8150-gpi-dma", "qcom,sdm845-gpi-dma";
 			reg = <0 0x800000 0 0x60000>;
 			interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
@@ -1222,7 +1222,7 @@  spi7: spi@89c000 {
 		};
 
 		gpi_dma1: dma-controller@a00000 {
-			compatible = "qcom,sm8150-gpi-dma";
+			compatible = "qcom,sm8150-gpi-dma", "qcom,sdm845-gpi-dma";
 			reg = <0 0xa00000 0 0x60000>;
 			interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
@@ -1471,7 +1471,7 @@  spi16: spi@a94000 {
 		};
 
 		gpi_dma2: dma-controller@c00000 {
-			compatible = "qcom,sm8150-gpi-dma";
+			compatible = "qcom,sm8150-gpi-dma", "qcom,sdm845-gpi-dma";
 			reg = <0 0xc00000 0 0x60000>;
 			interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index a5b62cadb129..5d5de7eead08 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -936,7 +936,7 @@  rng: rng@793000 {
 		};
 
 		gpi_dma2: dma-controller@800000 {
-			compatible = "qcom,sm8250-gpi-dma";
+			compatible = "qcom,sm8250-gpi-dma", "qcom,sdm845-gpi-dma";
 			reg = <0 0x00800000 0 0x70000>;
 			interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
@@ -1187,7 +1187,7 @@  spi19: spi@894000 {
 		};
 
 		gpi_dma0: dma-controller@900000 {
-			compatible = "qcom,sm8250-gpi-dma";
+			compatible = "qcom,sm8250-gpi-dma", "qcom,sdm845-gpi-dma";
 			reg = <0 0x00900000 0 0x70000>;
 			interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
@@ -1505,7 +1505,7 @@  spi7: spi@99c000 {
 		};
 
 		gpi_dma1: dma-controller@a00000 {
-			compatible = "qcom,sm8250-gpi-dma";
+			compatible = "qcom,sm8250-gpi-dma", "qcom,sdm845-gpi-dma";
 			reg = <0 0x00a00000 0 0x70000>;
 			interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,