Re: [PATCH] arm64: dts: qcom: sm8250: Fix PDC compatible and reg

From: Vinod Koul
Date: Tue Apr 21 2020 - 03:02:35 EST


On 14-04-20, 22:47, Bjorn Andersson wrote:
> The pdc node suffers from both too narrow compatible and insufficient
> cells in the reg, fix these.

Reviewed-by: Vinod Koul <vkoul@xxxxxxxxxx>
Tested-by: Vinod Koul <vkoul@xxxxxxxxxx>

> Fixes: 60378f1a171e ("arm64: dts: qcom: sm8250: Add sm8250 dts file")
> Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
> ---
> arch/arm64/boot/dts/qcom/sm8250.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
> index 891d83b2afea..2a7eaefd221d 100644
> --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
> @@ -314,8 +314,8 @@ intc: interrupt-controller@17a00000 {
> };
>
> pdc: interrupt-controller@b220000 {
> - compatible = "qcom,sm8250-pdc";
> - reg = <0x0b220000 0x30000>, <0x17c000f0 0x60>;
> + compatible = "qcom,sm8250-pdc", "qcom,pdc";
> + reg = <0 0x0b220000 0 0x30000>, <0 0x17c000f0 0 0x60>;
> qcom,pdc-ranges = <0 480 94>, <94 609 31>,
> <125 63 1>, <126 716 12>;
> #interrupt-cells = <2>;
> --
> 2.24.0

--
~Vinod