Message ID | 20240826144352.3026980-4-niklas.soderlund+renesas@ragnatech.se (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | rcar-isp: Add support for R-Car V4M | expand |
Hi Niklas, Thank you for the patch. On Mon, Aug 26, 2024 at 04:43:49PM +0200, Niklas Söderlund wrote: > To make it easier to support new Gen4 SoCs add a family fallback > compatible similar to what was done for VIN on Gen4. > > There is no functional change, but the addition of the family fallback > in the bindings produces warnings for V3U for DTS checks if they are not > added. > > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Assuming 1/6 gets accepted, Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> > --- > * Changes since v1 > - New in v2. > --- > arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi > index bf23cc1dc7be..1f4ab27acc33 100644 > --- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi > +++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi > @@ -2501,7 +2501,8 @@ du_out_dsi1: endpoint { > }; > > isp0: isp@fed00000 { > - compatible = "renesas,r8a779a0-isp"; > + compatible = "renesas,r8a779a0-isp", > + "renesas,rcar-gen4-isp"; > reg = <0 0xfed00000 0 0x10000>; > interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; > clocks = <&cpg CPG_MOD 612>; > @@ -2584,7 +2585,8 @@ isp0vin07: endpoint { > }; > > isp1: isp@fed20000 { > - compatible = "renesas,r8a779a0-isp"; > + compatible = "renesas,r8a779a0-isp", > + "renesas,rcar-gen4-isp"; > reg = <0 0xfed20000 0 0x10000>; > interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; > clocks = <&cpg CPG_MOD 613>; > @@ -2667,7 +2669,8 @@ isp1vin15: endpoint { > }; > > isp2: isp@fed30000 { > - compatible = "renesas,r8a779a0-isp"; > + compatible = "renesas,r8a779a0-isp", > + "renesas,rcar-gen4-isp"; > reg = <0 0xfed30000 0 0x10000>; > interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; > clocks = <&cpg CPG_MOD 614>; > @@ -2750,7 +2753,8 @@ isp2vin23: endpoint { > }; > > isp3: isp@fed40000 { > - compatible = "renesas,r8a779a0-isp"; > + compatible = "renesas,r8a779a0-isp", > + "renesas,rcar-gen4-isp"; > reg = <0 0xfed40000 0 0x10000>; > interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>; > clocks = <&cpg CPG_MOD 615>;
On Mon, Aug 26, 2024 at 4:44 PM Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> wrote: > To make it easier to support new Gen4 SoCs add a family fallback > compatible similar to what was done for VIN on Gen4. > > There is no functional change, but the addition of the family fallback > in the bindings produces warnings for V3U for DTS checks if they are not > added. > > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> > --- > * Changes since v1 > - New in v2. Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Gr{oetje,eeting}s, Geert
diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi index bf23cc1dc7be..1f4ab27acc33 100644 --- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi @@ -2501,7 +2501,8 @@ du_out_dsi1: endpoint { }; isp0: isp@fed00000 { - compatible = "renesas,r8a779a0-isp"; + compatible = "renesas,r8a779a0-isp", + "renesas,rcar-gen4-isp"; reg = <0 0xfed00000 0 0x10000>; interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cpg CPG_MOD 612>; @@ -2584,7 +2585,8 @@ isp0vin07: endpoint { }; isp1: isp@fed20000 { - compatible = "renesas,r8a779a0-isp"; + compatible = "renesas,r8a779a0-isp", + "renesas,rcar-gen4-isp"; reg = <0 0xfed20000 0 0x10000>; interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cpg CPG_MOD 613>; @@ -2667,7 +2669,8 @@ isp1vin15: endpoint { }; isp2: isp@fed30000 { - compatible = "renesas,r8a779a0-isp"; + compatible = "renesas,r8a779a0-isp", + "renesas,rcar-gen4-isp"; reg = <0 0xfed30000 0 0x10000>; interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cpg CPG_MOD 614>; @@ -2750,7 +2753,8 @@ isp2vin23: endpoint { }; isp3: isp@fed40000 { - compatible = "renesas,r8a779a0-isp"; + compatible = "renesas,r8a779a0-isp", + "renesas,rcar-gen4-isp"; reg = <0 0xfed40000 0 0x10000>; interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cpg CPG_MOD 615>;
To make it easier to support new Gen4 SoCs add a family fallback compatible similar to what was done for VIN on Gen4. There is no functional change, but the addition of the family fallback in the bindings produces warnings for V3U for DTS checks if they are not added. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> --- * Changes since v1 - New in v2. --- arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)