linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/3] media: dt-bindings: media: renesas,fcp: Update maxItems for the clock property
       [not found] <20220831100913.1731285-1-biju.das.jz@bp.renesas.com>
@ 2022-08-31 10:09 ` Biju Das
  2022-08-31 12:47   ` Krzysztof Kozlowski
  2022-08-31 10:09 ` [PATCH v3 2/3] arm64: dts: renesas: r9a07g044: Add fcpvd node Biju Das
  2022-08-31 10:09 ` [PATCH v3 3/3] arm64: dts: renesas: r9a07g044: Add vspd node Biju Das
  2 siblings, 1 reply; 5+ messages in thread
From: Biju Das @ 2022-08-31 10:09 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski
  Cc: Biju Das, Laurent Pinchart, linux-media, linux-renesas-soc,
	devicetree, Geert Uytterhoeven, Chris Paterson, Biju Das,
	Prabhakar Mahadev Lad

RZ/G2L has 3 shared clocks between du, vspd and fcpvd. Update the
bindings to reflect this.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 Documentation/devicetree/bindings/media/renesas,fcp.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/renesas,fcp.yaml b/Documentation/devicetree/bindings/media/renesas,fcp.yaml
index 43f2fed8cd33..419b110e34fe 100644
--- a/Documentation/devicetree/bindings/media/renesas,fcp.yaml
+++ b/Documentation/devicetree/bindings/media/renesas,fcp.yaml
@@ -29,7 +29,8 @@ properties:
     maxItems: 1
 
   clocks:
-    maxItems: 1
+    minItems: 1
+    maxItems: 3
 
   iommus:
     maxItems: 1
-- 
2.25.1


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

* [PATCH v3 2/3] arm64: dts: renesas: r9a07g044: Add fcpvd node
       [not found] <20220831100913.1731285-1-biju.das.jz@bp.renesas.com>
  2022-08-31 10:09 ` [PATCH v3 1/3] media: dt-bindings: media: renesas,fcp: Update maxItems for the clock property Biju Das
@ 2022-08-31 10:09 ` Biju Das
  2022-08-31 10:09 ` [PATCH v3 3/3] arm64: dts: renesas: r9a07g044: Add vspd node Biju Das
  2 siblings, 0 replies; 5+ messages in thread
From: Biju Das @ 2022-08-31 10:09 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski
  Cc: Biju Das, Laurent Pinchart, Geert Uytterhoeven, Magnus Damm,
	linux-renesas-soc, devicetree, Chris Paterson, Biju Das,
	Prabhakar Mahadev Lad

Add fcpvd node to SoC DTSI.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
index 3652e511160f..fc86a5567d04 100644
--- a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
@@ -611,6 +611,16 @@ sbc: spi@10060000 {
 			status = "disabled";
 		};
 
+		fcpvd: fcp@10880000 {
+			compatible = "renesas,fcpv";
+			reg = <0 0x10880000 0 0x10000>;
+			clocks = <&cpg CPG_MOD R9A07G044_LCDC_CLK_A>,
+				 <&cpg CPG_MOD R9A07G044_LCDC_CLK_P>,
+				 <&cpg CPG_MOD R9A07G044_LCDC_CLK_D>;
+			power-domains = <&cpg>;
+			resets = <&cpg R9A07G044_LCDC_RESET_N>;
+		};
+
 		cpg: clock-controller@11010000 {
 			compatible = "renesas,r9a07g044-cpg";
 			reg = <0 0x11010000 0 0x10000>;
-- 
2.25.1


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

* [PATCH v3 3/3] arm64: dts: renesas: r9a07g044: Add vspd node
       [not found] <20220831100913.1731285-1-biju.das.jz@bp.renesas.com>
  2022-08-31 10:09 ` [PATCH v3 1/3] media: dt-bindings: media: renesas,fcp: Update maxItems for the clock property Biju Das
  2022-08-31 10:09 ` [PATCH v3 2/3] arm64: dts: renesas: r9a07g044: Add fcpvd node Biju Das
@ 2022-08-31 10:09 ` Biju Das
  2 siblings, 0 replies; 5+ messages in thread
From: Biju Das @ 2022-08-31 10:09 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski
  Cc: Biju Das, Laurent Pinchart, Geert Uytterhoeven, Magnus Damm,
	linux-renesas-soc, devicetree, Chris Paterson, Biju Das,
	Prabhakar Mahadev Lad

Add vspd node to SoC DTSI.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 Note:
  * This patch depend upon [1] and [2] in the next
    [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20220831&id=17b5179ef6cd6430945c1da4174ceaf43c93cf1e
    [2] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20220831&id=882bda188f691320a001c6adc738c4a7ec102a8d
---
 arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
index fc86a5567d04..36df099d7933 100644
--- a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
@@ -611,6 +611,19 @@ sbc: spi@10060000 {
 			status = "disabled";
 		};
 
+		vspd: vsp@10870000 {
+			compatible = "renesas,r9a07g044-vsp2";
+			reg = <0 0x10870000 0 0x10000>;
+			interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD R9A07G044_LCDC_CLK_A>,
+				 <&cpg CPG_MOD R9A07G044_LCDC_CLK_P>,
+				 <&cpg CPG_MOD R9A07G044_LCDC_CLK_D>;
+			clock-names = "aclk", "pclk", "vclk";
+			power-domains = <&cpg>;
+			resets = <&cpg R9A07G044_LCDC_RESET_N>;
+			renesas,fcp = <&fcpvd>;
+		};
+
 		fcpvd: fcp@10880000 {
 			compatible = "renesas,fcpv";
 			reg = <0 0x10880000 0 0x10000>;
-- 
2.25.1


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

* Re: [PATCH v3 1/3] media: dt-bindings: media: renesas,fcp: Update maxItems for the clock property
  2022-08-31 10:09 ` [PATCH v3 1/3] media: dt-bindings: media: renesas,fcp: Update maxItems for the clock property Biju Das
@ 2022-08-31 12:47   ` Krzysztof Kozlowski
  2022-08-31 12:51     ` Biju Das
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-31 12:47 UTC (permalink / raw)
  To: Biju Das, Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski
  Cc: Laurent Pinchart, linux-media, linux-renesas-soc, devicetree,
	Geert Uytterhoeven, Chris Paterson, Biju Das,
	Prabhakar Mahadev Lad

On 31/08/2022 13:09, Biju Das wrote:
> RZ/G2L has 3 shared clocks between du, vspd and fcpvd. Update the
> bindings to reflect this.
> 
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/media/renesas,fcp.yaml | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/renesas,fcp.yaml b/Documentation/devicetree/bindings/media/renesas,fcp.yaml
> index 43f2fed8cd33..419b110e34fe 100644
> --- a/Documentation/devicetree/bindings/media/renesas,fcp.yaml
> +++ b/Documentation/devicetree/bindings/media/renesas,fcp.yaml
> @@ -29,7 +29,8 @@ properties:
>      maxItems: 1
>  
>    clocks:
> -    maxItems: 1
> +    minItems: 1
> +    maxItems: 3

The clocks should be strictly defined/described.

Best regards,
Krzysztof

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

* RE: [PATCH v3 1/3] media: dt-bindings: media: renesas,fcp: Update maxItems for the clock property
  2022-08-31 12:47   ` Krzysztof Kozlowski
@ 2022-08-31 12:51     ` Biju Das
  0 siblings, 0 replies; 5+ messages in thread
From: Biju Das @ 2022-08-31 12:51 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski
  Cc: Laurent Pinchart, linux-media, linux-renesas-soc, devicetree,
	Geert Uytterhoeven, Chris Paterson, Biju Das,
	Prabhakar Mahadev Lad

Hi Krzysztof Kozlowski,

Thanks for the feedback.

> Subject: Re: [PATCH v3 1/3] media: dt-bindings: media: renesas,fcp:
> Update maxItems for the clock property
> 
> On 31/08/2022 13:09, Biju Das wrote:
> > RZ/G2L has 3 shared clocks between du, vspd and fcpvd. Update the
> > bindings to reflect this.
> >
> > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > ---
> >  Documentation/devicetree/bindings/media/renesas,fcp.yaml | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/Documentation/devicetree/bindings/media/renesas,fcp.yaml
> > b/Documentation/devicetree/bindings/media/renesas,fcp.yaml
> > index 43f2fed8cd33..419b110e34fe 100644
> > --- a/Documentation/devicetree/bindings/media/renesas,fcp.yaml
> > +++ b/Documentation/devicetree/bindings/media/renesas,fcp.yaml
> > @@ -29,7 +29,8 @@ properties:
> >      maxItems: 1
> >
> >    clocks:
> > -    maxItems: 1
> > +    minItems: 1
> > +    maxItems: 3
> 
> The clocks should be strictly defined/described.

OK, Will Document like [1]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20220831&id=17b5179ef6cd6430945c1da4174ceaf43c93cf1e

Cheers,
Biju


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

end of thread, other threads:[~2022-08-31 12:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220831100913.1731285-1-biju.das.jz@bp.renesas.com>
2022-08-31 10:09 ` [PATCH v3 1/3] media: dt-bindings: media: renesas,fcp: Update maxItems for the clock property Biju Das
2022-08-31 12:47   ` Krzysztof Kozlowski
2022-08-31 12:51     ` Biju Das
2022-08-31 10:09 ` [PATCH v3 2/3] arm64: dts: renesas: r9a07g044: Add fcpvd node Biju Das
2022-08-31 10:09 ` [PATCH v3 3/3] arm64: dts: renesas: r9a07g044: Add vspd node Biju Das

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).