All of lore.kernel.org
 help / color / mirror / Atom feed
* [cip-dev] [PATCH 4.4.y-cip 0/3] Add DU support
@ 2019-12-19 15:05 Marian-Cristian Rotariu
  2019-12-19 15:05 ` [cip-dev] [PATCH 4.4.y-cip 1/3] dt-bindings: display: renesas: du: Document the r8a7744 bindings Marian-Cristian Rotariu
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Marian-Cristian Rotariu @ 2019-12-19 15:05 UTC (permalink / raw)
  To: cip-dev

This patch series add DU support for iWave iwg20d platform based on RZ/G1N.

This patch series is based on linux-4.4.y-cip and all the patches in this series are cherry-picked from upstream.

Biju Das (3):
  dt-bindings: display: renesas: du: Document the r8a7744 bindings
  drm: rcar-du: Add R8A7744 support
  ARM: dts: r8a7744: Add DU support

 Documentation/devicetree/bindings/display/renesas,du.txt |  2 ++
 arch/arm/boot/dts/r8a7744.dtsi                           | 10 +++++++++-
 drivers/gpu/drm/rcar-du/rcar_du_drv.c                    |  3 ++-
 3 files changed, 13 insertions(+), 2 deletions(-)

-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 1/3] dt-bindings: display: renesas: du: Document the r8a7744 bindings
  2019-12-19 15:05 [cip-dev] [PATCH 4.4.y-cip 0/3] Add DU support Marian-Cristian Rotariu
@ 2019-12-19 15:05 ` Marian-Cristian Rotariu
  2019-12-19 15:05 ` [cip-dev] [PATCH 4.4.y-cip 2/3] drm: rcar-du: Add R8A7744 support Marian-Cristian Rotariu
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Marian-Cristian Rotariu @ 2019-12-19 15:05 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 5eb08d995564c9f9d4818a84050f7716b73c86cc upstream.

Document the RZ/G1N (R8A7744) SoC in the R-Car DU bindings.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
---
 Documentation/devicetree/bindings/display/renesas,du.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/renesas,du.txt b/Documentation/devicetree/bindings/display/renesas,du.txt
index 2cc5fdd..96cc080 100644
--- a/Documentation/devicetree/bindings/display/renesas,du.txt
+++ b/Documentation/devicetree/bindings/display/renesas,du.txt
@@ -4,6 +4,7 @@ Required Properties:
 
   - compatible: must be one of the following.
     - "renesas,du-r8a7743" for R8A7743 (RZ/G1M) compatible DU
+    - "renesas,du-r8a7744" for R8A7744 (RZ/G1N) compatible DU
     - "renesas,du-r8a7745" for R8A7745 (RZ/G1E) compatible DU
     - "renesas,du-r8a7779" for R8A7779 (R-Car H1) compatible DU
     - "renesas,du-r8a7790" for R8A7790 (R-Car H2) compatible DU
@@ -46,6 +47,7 @@ corresponding to each DU output.
                       Port 0         Port1          Port2
 -----------------------------------------------------------------------------
  R8A7743 (RZ/G1M)     DPAD 0         LVDS 0         -
+ R8A7744 (RZ/G1N)     DPAD 0         LVDS 0         -
  R8A7745 (RZ/G1E)     DPAD 0         DPAD 1         -
  R8A7779 (R-Car H1)   DPAD 0         DPAD 1         -
  R8A7790 (R-Car H2)   DPAD 0         LVDS 0         LVDS 1
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 2/3] drm: rcar-du: Add R8A7744 support
  2019-12-19 15:05 [cip-dev] [PATCH 4.4.y-cip 0/3] Add DU support Marian-Cristian Rotariu
  2019-12-19 15:05 ` [cip-dev] [PATCH 4.4.y-cip 1/3] dt-bindings: display: renesas: du: Document the r8a7744 bindings Marian-Cristian Rotariu
@ 2019-12-19 15:05 ` Marian-Cristian Rotariu
  2019-12-19 15:05 ` [cip-dev] [PATCH 4.4.y-cip 3/3] ARM: dts: r8a7744: Add DU support Marian-Cristian Rotariu
  2019-12-20  0:07 ` [cip-dev] [PATCH 4.4.y-cip 0/3] " nobuhiro1.iwamatsu at toshiba.co.jp
  3 siblings, 0 replies; 7+ messages in thread
From: Marian-Cristian Rotariu @ 2019-12-19 15:05 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 5dc34af19c98171174f563a4b9f79a902bf665b4 upstream.

Add support for the R8A7744 DU (which is very similar to the R8A7743 DU);
it has 1 DPAD (RGB) output and 1 LVDS output.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
---
 drivers/gpu/drm/rcar-du/rcar_du_drv.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
index 5187ed3..edb9c3f 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
@@ -41,7 +41,7 @@ static const struct rcar_du_device_info rzg1_du_r8a7743_info = {
 	.num_crtcs = 2,
 	.routes = {
 		/*
-		 * R8A7743 has one RGB output and one LVDS output
+		 * R8A774[34] has one RGB output and one LVDS output
 		 */
 		[RCAR_DU_OUTPUT_DPAD0] = {
 			.possible_crtcs = BIT(1) | BIT(0),
@@ -175,6 +175,7 @@ static const struct rcar_du_device_info rcar_du_r8a7794_info = {
 
 static const struct of_device_id rcar_du_of_table[] = {
 	{ .compatible = "renesas,du-r8a7743", .data = &rzg1_du_r8a7743_info },
+	{ .compatible = "renesas,du-r8a7744", .data = &rzg1_du_r8a7743_info },
 	{ .compatible = "renesas,du-r8a7745", .data = &rzg1_du_r8a7745_info },
 	{ .compatible = "renesas,du-r8a7779", .data = &rcar_du_r8a7779_info },
 	{ .compatible = "renesas,du-r8a7790", .data = &rcar_du_r8a7790_info },
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 3/3] ARM: dts: r8a7744: Add DU support
  2019-12-19 15:05 [cip-dev] [PATCH 4.4.y-cip 0/3] Add DU support Marian-Cristian Rotariu
  2019-12-19 15:05 ` [cip-dev] [PATCH 4.4.y-cip 1/3] dt-bindings: display: renesas: du: Document the r8a7744 bindings Marian-Cristian Rotariu
  2019-12-19 15:05 ` [cip-dev] [PATCH 4.4.y-cip 2/3] drm: rcar-du: Add R8A7744 support Marian-Cristian Rotariu
@ 2019-12-19 15:05 ` Marian-Cristian Rotariu
  2019-12-20  0:07 ` [cip-dev] [PATCH 4.4.y-cip 0/3] " nobuhiro1.iwamatsu at toshiba.co.jp
  3 siblings, 0 replies; 7+ messages in thread
From: Marian-Cristian Rotariu @ 2019-12-19 15:05 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 5f152018d340d90c185ced8ef6230b7044ea5540 upstream.

Add du node to r8a7744 SoC DT. Boards that want to enable the DU
need to specify the output topology.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
[marian: Removed reset and updated clk and power domain properties]
Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7744.dtsi | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index 7902f7e..91e032a 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -1278,8 +1278,17 @@
 		};
 
 		du: display at feb00000 {
+			compatible = "renesas,du-r8a7744";
 			reg = <0 0xfeb00000 0 0x40000>,
 			      <0 0xfeb90000 0 0x1c>;
+			reg-names = "du", "lvds.0";
+			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp7_clks R8A7744_CLK_DU0>,
+				 <&mstp7_clks R8A7744_CLK_DU1>,
+				 <&mstp7_clks R8A7744_CLK_LVDS0>;
+			clock-names = "du.0", "du.1", "lvds.0";
+			status = "disabled";
 
 			ports {
 				#address-cells = <1>;
@@ -1296,7 +1305,6 @@
 					};
 				};
 			};
-			/* placeholder */
 		};
 
 		cmt0: timer at ffca0000 {
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 0/3] Add DU support
  2019-12-19 15:05 [cip-dev] [PATCH 4.4.y-cip 0/3] Add DU support Marian-Cristian Rotariu
                   ` (2 preceding siblings ...)
  2019-12-19 15:05 ` [cip-dev] [PATCH 4.4.y-cip 3/3] ARM: dts: r8a7744: Add DU support Marian-Cristian Rotariu
@ 2019-12-20  0:07 ` nobuhiro1.iwamatsu at toshiba.co.jp
  2019-12-20  8:15   ` Pavel Machek
  3 siblings, 1 reply; 7+ messages in thread
From: nobuhiro1.iwamatsu at toshiba.co.jp @ 2019-12-20  0:07 UTC (permalink / raw)
  To: cip-dev

Hi Marian,

> -----Original Message-----
> From: Marian-Cristian Rotariu
> [mailto:marian-cristian.rotariu.rb at bp.renesas.com]
> Sent: Friday, December 20, 2019 12:06 AM
> To: cip-dev at lists.cip-project.org; iwamatsu nobuhiro(?? ?? ???
> ?????) <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek
> <pavel@denx.de>
> Cc: Chris Paterson <chris.paterson2@renesas.com>; Biju Das
> <biju.das@bp.renesas.com>; Fabrizio Castro
> <fabrizio.castro@bp.renesas.com>
> Subject: [PATCH 4.4.y-cip 0/3] Add DU support
> 
> This patch series add DU support for iWave iwg20d platform based on RZ/G1N.
> 
> This patch series is based on linux-4.4.y-cip and all the patches in this
> series are cherry-picked from upstream.
> 
> Biju Das (3):
>   dt-bindings: display: renesas: du: Document the r8a7744 bindings
>   drm: rcar-du: Add R8A7744 support
>   ARM: dts: r8a7744: Add DU support
> 
>  Documentation/devicetree/bindings/display/renesas,du.txt |  2 ++
>  arch/arm/boot/dts/r8a7744.dtsi                           | 10
> +++++++++-
>  drivers/gpu/drm/rcar-du/rcar_du_drv.c                    |  3 ++-
>  3 files changed, 13 insertions(+), 2 deletions(-)

Looks good to me these patches.
If other reviewer have no opinion, I will apply this series.

Best regards,
  Nobuhiro.

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

* [cip-dev] [PATCH 4.4.y-cip 0/3] Add DU support
  2019-12-20  0:07 ` [cip-dev] [PATCH 4.4.y-cip 0/3] " nobuhiro1.iwamatsu at toshiba.co.jp
@ 2019-12-20  8:15   ` Pavel Machek
  2019-12-23  2:16     ` nobuhiro1.iwamatsu at toshiba.co.jp
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2019-12-20  8:15 UTC (permalink / raw)
  To: cip-dev

Hi!

> > This patch series add DU support for iWave iwg20d platform based on RZ/G1N.
> > 
> > This patch series is based on linux-4.4.y-cip and all the patches in this
> > series are cherry-picked from upstream.
> > 
> > Biju Das (3):
> >   dt-bindings: display: renesas: du: Document the r8a7744 bindings
> >   drm: rcar-du: Add R8A7744 support
> >   ARM: dts: r8a7744: Add DU support
> > 
> >  Documentation/devicetree/bindings/display/renesas,du.txt |  2 ++
> >  arch/arm/boot/dts/r8a7744.dtsi                           | 10
> > +++++++++-
> >  drivers/gpu/drm/rcar-du/rcar_du_drv.c                    |  3 ++-
> >  3 files changed, 13 insertions(+), 2 deletions(-)
> 
> Looks good to me these patches.
> If other reviewer have no opinion, I will apply this series.

Looks good to me, too. Go ahead :-).
								Pavel
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20191220/5ef2b6f3/attachment.sig>

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

* [cip-dev] [PATCH 4.4.y-cip 0/3] Add DU support
  2019-12-20  8:15   ` Pavel Machek
@ 2019-12-23  2:16     ` nobuhiro1.iwamatsu at toshiba.co.jp
  0 siblings, 0 replies; 7+ messages in thread
From: nobuhiro1.iwamatsu at toshiba.co.jp @ 2019-12-23  2:16 UTC (permalink / raw)
  To: cip-dev

Hi,

> -----Original Message-----
> From: Pavel Machek [mailto:pavel at denx.de]
> Sent: Friday, December 20, 2019 5:16 PM
> To: iwamatsu nobuhiro(?? ?? ????????)
> <nobuhiro1.iwamatsu@toshiba.co.jp>
> Cc: marian-cristian.rotariu.rb at bp.renesas.com;
> cip-dev at lists.cip-project.org; pavel at denx.de;
> chris.paterson2 at renesas.com; biju.das at bp.renesas.com;
> fabrizio.castro at bp.renesas.com
> Subject: Re: [PATCH 4.4.y-cip 0/3] Add DU support
> 
> Hi!
> 
> > > This patch series add DU support for iWave iwg20d platform based on
> RZ/G1N.
> > >
> > > This patch series is based on linux-4.4.y-cip and all the patches
> in
> > > this series are cherry-picked from upstream.
> > >
> > > Biju Das (3):
> > >   dt-bindings: display: renesas: du: Document the r8a7744 bindings
> > >   drm: rcar-du: Add R8A7744 support
> > >   ARM: dts: r8a7744: Add DU support
> > >
> > >  Documentation/devicetree/bindings/display/renesas,du.txt |  2 ++
> > >  arch/arm/boot/dts/r8a7744.dtsi                           | 10
> > > +++++++++-
> > >  drivers/gpu/drm/rcar-du/rcar_du_drv.c                    |  3
> ++-
> > >  3 files changed, 13 insertions(+), 2 deletions(-)
> >
> > Looks good to me these patches.
> > If other reviewer have no opinion, I will apply this series.
> 
> Looks good to me, too. Go ahead :-).

Thanks, Pavel.
Applied.

Best regards,
  Nobuhiro

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

end of thread, other threads:[~2019-12-23  2:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-19 15:05 [cip-dev] [PATCH 4.4.y-cip 0/3] Add DU support Marian-Cristian Rotariu
2019-12-19 15:05 ` [cip-dev] [PATCH 4.4.y-cip 1/3] dt-bindings: display: renesas: du: Document the r8a7744 bindings Marian-Cristian Rotariu
2019-12-19 15:05 ` [cip-dev] [PATCH 4.4.y-cip 2/3] drm: rcar-du: Add R8A7744 support Marian-Cristian Rotariu
2019-12-19 15:05 ` [cip-dev] [PATCH 4.4.y-cip 3/3] ARM: dts: r8a7744: Add DU support Marian-Cristian Rotariu
2019-12-20  0:07 ` [cip-dev] [PATCH 4.4.y-cip 0/3] " nobuhiro1.iwamatsu at toshiba.co.jp
2019-12-20  8:15   ` Pavel Machek
2019-12-23  2:16     ` nobuhiro1.iwamatsu at toshiba.co.jp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.