* [PATCH v2 1/7] dt-bindings: display: renesas: Add R-Car M3-W HDMI TX DT bindings
2017-06-21 9:31 [PATCH v2 0/7] R-Car Salvator-X M3-W: Enable DU support Laurent Pinchart
@ 2017-06-21 9:31 ` Laurent Pinchart
2017-06-21 9:35 ` Geert Uytterhoeven
2017-06-26 15:56 ` Rob Herring
2017-06-21 9:31 ` [PATCH v2 2/7] arm64: dts: renesas: r8a7796: Add FCPF and FCPV instances Laurent Pinchart
` (5 subsequent siblings)
6 siblings, 2 replies; 31+ messages in thread
From: Laurent Pinchart @ 2017-06-21 9:31 UTC (permalink / raw)
To: linux-renesas-soc; +Cc: devicetree, dri-devel
The M3-W HDMI TX controller seems to be compatible for the H3. No
extension to the DT bindings are needed, add an SoC-specific compatible
string in case differences between the IP versions are found later and
require model-specific handling.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt b/Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt
index f6b3f36d422b..c93a3858a98a 100644
--- a/Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt
+++ b/Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt
@@ -13,6 +13,7 @@ Required properties:
- compatible : Shall contain one or more of
- "renesas,r8a7795-hdmi" for R8A7795 (R-Car H3) compatible HDMI TX
+ - "renesas,r8a7796-hdmi" for R8A7796 (R-Car M3-W) compatible HDMI TX
- "renesas,rcar-gen3-hdmi" for the generic R-Car Gen3 compatible HDMI TX
When compatible with generic versions, nodes must list the SoC-specific
--
Regards,
Laurent Pinchart
^ permalink raw reply related [flat|nested] 31+ messages in thread* Re: [PATCH v2 1/7] dt-bindings: display: renesas: Add R-Car M3-W HDMI TX DT bindings
@ 2017-06-21 9:35 ` Geert Uytterhoeven
0 siblings, 0 replies; 31+ messages in thread
From: Geert Uytterhoeven @ 2017-06-21 9:35 UTC (permalink / raw)
To: Laurent Pinchart
Cc: Linux-Renesas, devicetree@vger.kernel.org, DRI Development
On Wed, Jun 21, 2017 at 11:31 AM, Laurent Pinchart
<laurent.pinchart+renesas@ideasonboard.com> wrote:
> The M3-W HDMI TX controller seems to be compatible for the H3. No
> extension to the DT bindings are needed, add an SoC-specific compatible
> string in case differences between the IP versions are found later and
> require model-specific handling.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 31+ messages in thread* Re: [PATCH v2 1/7] dt-bindings: display: renesas: Add R-Car M3-W HDMI TX DT bindings
@ 2017-06-21 9:35 ` Geert Uytterhoeven
0 siblings, 0 replies; 31+ messages in thread
From: Geert Uytterhoeven @ 2017-06-21 9:35 UTC (permalink / raw)
To: Laurent Pinchart
Cc: Linux-Renesas, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
DRI Development
On Wed, Jun 21, 2017 at 11:31 AM, Laurent Pinchart
<laurent.pinchart+renesas-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org> wrote:
> The M3-W HDMI TX controller seems to be compatible for the H3. No
> extension to the DT bindings are needed, add an SoC-specific compatible
> string in case differences between the IP versions are found later and
> require model-specific handling.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org>
Acked-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [PATCH v2 1/7] dt-bindings: display: renesas: Add R-Car M3-W HDMI TX DT bindings
2017-06-21 9:31 ` [PATCH v2 1/7] dt-bindings: display: renesas: Add R-Car M3-W HDMI TX DT bindings Laurent Pinchart
@ 2017-06-26 15:56 ` Rob Herring
2017-06-26 15:56 ` Rob Herring
1 sibling, 0 replies; 31+ messages in thread
From: Rob Herring @ 2017-06-26 15:56 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: linux-renesas-soc, devicetree, dri-devel
On Wed, Jun 21, 2017 at 12:31:27PM +0300, Laurent Pinchart wrote:
> The M3-W HDMI TX controller seems to be compatible for the H3. No
> extension to the DT bindings are needed, add an SoC-specific compatible
> string in case differences between the IP versions are found later and
> require model-specific handling.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
> Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | 1 +
> 1 file changed, 1 insertion(+)
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [PATCH v2 1/7] dt-bindings: display: renesas: Add R-Car M3-W HDMI TX DT bindings
@ 2017-06-26 15:56 ` Rob Herring
0 siblings, 0 replies; 31+ messages in thread
From: Rob Herring @ 2017-06-26 15:56 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: linux-renesas-soc, devicetree, dri-devel
On Wed, Jun 21, 2017 at 12:31:27PM +0300, Laurent Pinchart wrote:
> The M3-W HDMI TX controller seems to be compatible for the H3. No
> extension to the DT bindings are needed, add an SoC-specific compatible
> string in case differences between the IP versions are found later and
> require model-specific handling.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
> Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | 1 +
> 1 file changed, 1 insertion(+)
Acked-by: Rob Herring <robh@kernel.org>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [PATCH v2 1/7] dt-bindings: display: renesas: Add R-Car M3-W HDMI TX DT bindings
2017-06-26 15:56 ` Rob Herring
(?)
@ 2017-07-10 9:25 ` Simon Horman
2017-07-11 9:00 ` Simon Horman
-1 siblings, 1 reply; 31+ messages in thread
From: Simon Horman @ 2017-07-10 9:25 UTC (permalink / raw)
To: Rob Herring; +Cc: Laurent Pinchart, linux-renesas-soc, devicetree, dri-devel
On Mon, Jun 26, 2017 at 10:56:42AM -0500, Rob Herring wrote:
> On Wed, Jun 21, 2017 at 12:31:27PM +0300, Laurent Pinchart wrote:
> > The M3-W HDMI TX controller seems to be compatible for the H3. No
> > extension to the DT bindings are needed, add an SoC-specific compatible
> > string in case differences between the IP versions are found later and
> > require model-specific handling.
> >
> > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> > ---
> > Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | 1 +
> > 1 file changed, 1 insertion(+)
>
> Acked-by: Rob Herring <robh@kernel.org>
Applied for v4.14.
I am not applying the dts changes for now pending resolution of the
potential bisection problem in patch 4 which I pointed out in response to that patch.
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [PATCH v2 1/7] dt-bindings: display: renesas: Add R-Car M3-W HDMI TX DT bindings
@ 2017-07-11 9:00 ` Simon Horman
0 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2017-07-11 9:00 UTC (permalink / raw)
To: Rob Herring; +Cc: Laurent Pinchart, linux-renesas-soc, devicetree, dri-devel
On Mon, Jul 10, 2017 at 11:25:31AM +0200, Simon Horman wrote:
> On Mon, Jun 26, 2017 at 10:56:42AM -0500, Rob Herring wrote:
> > On Wed, Jun 21, 2017 at 12:31:27PM +0300, Laurent Pinchart wrote:
> > > The M3-W HDMI TX controller seems to be compatible for the H3. No
> > > extension to the DT bindings are needed, add an SoC-specific compatible
> > > string in case differences between the IP versions are found later and
> > > require model-specific handling.
> > >
> > > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> > > ---
> > > Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | 1 +
> > > 1 file changed, 1 insertion(+)
> >
> > Acked-by: Rob Herring <robh@kernel.org>
>
> Applied for v4.14.
>
> I am not applying the dts changes for now pending resolution of the
> potential bisection problem in patch 4 which I pointed out in response to that patch.
That problem has now been resolved and I have applied this series for v4.14.
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [PATCH v2 1/7] dt-bindings: display: renesas: Add R-Car M3-W HDMI TX DT bindings
@ 2017-07-11 9:00 ` Simon Horman
0 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2017-07-11 9:00 UTC (permalink / raw)
To: Rob Herring
Cc: Laurent Pinchart, linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
On Mon, Jul 10, 2017 at 11:25:31AM +0200, Simon Horman wrote:
> On Mon, Jun 26, 2017 at 10:56:42AM -0500, Rob Herring wrote:
> > On Wed, Jun 21, 2017 at 12:31:27PM +0300, Laurent Pinchart wrote:
> > > The M3-W HDMI TX controller seems to be compatible for the H3. No
> > > extension to the DT bindings are needed, add an SoC-specific compatible
> > > string in case differences between the IP versions are found later and
> > > require model-specific handling.
> > >
> > > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org>
> > > ---
> > > Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | 1 +
> > > 1 file changed, 1 insertion(+)
> >
> > Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
>
> Applied for v4.14.
>
> I am not applying the dts changes for now pending resolution of the
> potential bisection problem in patch 4 which I pointed out in response to that patch.
That problem has now been resolved and I have applied this series for v4.14.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 31+ messages in thread
* [PATCH v2 2/7] arm64: dts: renesas: r8a7796: Add FCPF and FCPV instances
2017-06-21 9:31 [PATCH v2 0/7] R-Car Salvator-X M3-W: Enable DU support Laurent Pinchart
2017-06-21 9:31 ` [PATCH v2 1/7] dt-bindings: display: renesas: Add R-Car M3-W HDMI TX DT bindings Laurent Pinchart
@ 2017-06-21 9:31 ` Laurent Pinchart
2017-07-12 7:22 ` Geert Uytterhoeven
2017-06-21 9:31 ` [PATCH v2 3/7] arm64: dts: renesas: r8a7796: Add VSP instances Laurent Pinchart
` (4 subsequent siblings)
6 siblings, 1 reply; 31+ messages in thread
From: Laurent Pinchart @ 2017-06-21 9:31 UTC (permalink / raw)
To: linux-renesas-soc
The FCPs handle the interface between various IP cores and memory. Add
the instances related to the FDPs and VSP2s.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 42 ++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index 1f6710912045..28b0e2127021 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -1440,6 +1440,48 @@
/* placeholder */
};
+ fcpf0: fcp@fe950000 {
+ compatible = "renesas,fcpf";
+ reg = <0 0xfe950000 0 0x200>;
+ clocks = <&cpg CPG_MOD 615>;
+ power-domains = <&sysc R8A7796_PD_A3VC>;
+ };
+
+ fcpvb0: fcp@fe96f000 {
+ compatible = "renesas,fcpv";
+ reg = <0 0xfe96f000 0 0x200>;
+ clocks = <&cpg CPG_MOD 607>;
+ power-domains = <&sysc R8A7796_PD_A3VC>;
+ };
+
+ fcpvi0: fcp@fe9af000 {
+ compatible = "renesas,fcpv";
+ reg = <0 0xfe9af000 0 0x200>;
+ clocks = <&cpg CPG_MOD 611>;
+ power-domains = <&sysc R8A7796_PD_A3VC>;
+ };
+
+ fcpvd0: fcp@fea27000 {
+ compatible = "renesas,fcpv";
+ reg = <0 0xfea27000 0 0x200>;
+ clocks = <&cpg CPG_MOD 603>;
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+ };
+
+ fcpvd1: fcp@fea2f000 {
+ compatible = "renesas,fcpv";
+ reg = <0 0xfea2f000 0 0x200>;
+ clocks = <&cpg CPG_MOD 602>;
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+ };
+
+ fcpvd2: fcp@fea37000 {
+ compatible = "renesas,fcpv";
+ reg = <0 0xfea37000 0 0x200>;
+ clocks = <&cpg CPG_MOD 601>;
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+ };
+
du: display@feb00000 {
/* placeholder */
--
Regards,
Laurent Pinchart
^ permalink raw reply related [flat|nested] 31+ messages in thread* Re: [PATCH v2 2/7] arm64: dts: renesas: r8a7796: Add FCPF and FCPV instances
2017-06-21 9:31 ` [PATCH v2 2/7] arm64: dts: renesas: r8a7796: Add FCPF and FCPV instances Laurent Pinchart
@ 2017-07-12 7:22 ` Geert Uytterhoeven
2017-07-12 8:45 ` Laurent Pinchart
0 siblings, 1 reply; 31+ messages in thread
From: Geert Uytterhoeven @ 2017-07-12 7:22 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: Linux-Renesas
Hi Laurent, Simon,
On Wed, Jun 21, 2017 at 11:31 AM, Laurent Pinchart
<laurent.pinchart+renesas@ideasonboard.com> wrote:
> The FCPs handle the interface between various IP cores and memory. Add
> the instances related to the FDPs and VSP2s.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Ah, the pitfalls of reposting patches 8 months later...
> arch/arm64/boot/dts/renesas/r8a7796.dtsi | 42 ++++++++++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> index 1f6710912045..28b0e2127021 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> @@ -1440,6 +1440,48 @@
> /* placeholder */
> };
>
> + fcpf0: fcp@fe950000 {
> + compatible = "renesas,fcpf";
> + reg = <0 0xfe950000 0 0x200>;
> + clocks = <&cpg CPG_MOD 615>;
> + power-domains = <&sysc R8A7796_PD_A3VC>;
... missing resets properties.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 31+ messages in thread* Re: [PATCH v2 2/7] arm64: dts: renesas: r8a7796: Add FCPF and FCPV instances
2017-07-12 7:22 ` Geert Uytterhoeven
@ 2017-07-12 8:45 ` Laurent Pinchart
2017-07-13 7:48 ` Simon Horman
0 siblings, 1 reply; 31+ messages in thread
From: Laurent Pinchart @ 2017-07-12 8:45 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Laurent Pinchart, Linux-Renesas
Hi Geert,
On Wednesday 12 Jul 2017 09:22:50 Geert Uytterhoeven wrote:
> On Wed, Jun 21, 2017 at 11:31 AM, Laurent Pinchart wrote:
> > The FCPs handle the interface between various IP cores and memory. Add
> > the instances related to the FDPs and VSP2s.
> >
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas@ideasonboard.com>
> > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Ah, the pitfalls of reposting patches 8 months later...
>
> > arch/arm64/boot/dts/renesas/r8a7796.dtsi | 42
> > ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index
> > 1f6710912045..28b0e2127021 100644
> > --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > @@ -1440,6 +1440,48 @@
> > /* placeholder */
> > };
> >
> > + fcpf0: fcp@fe950000 {
> > + compatible = "renesas,fcpf";
> > + reg = <0 0xfe950000 0 0x200>;
> > + clocks = <&cpg CPG_MOD 615>;
> > + power-domains = <&sysc R8A7796_PD_A3VC>;
>
> ... missing resets properties.
Oops :-/
Simon, can I send an incremental patch ?
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 31+ messages in thread* Re: [PATCH v2 2/7] arm64: dts: renesas: r8a7796: Add FCPF and FCPV instances
2017-07-12 8:45 ` Laurent Pinchart
@ 2017-07-13 7:48 ` Simon Horman
0 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2017-07-13 7:48 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: Geert Uytterhoeven, Laurent Pinchart, Linux-Renesas
On Wed, Jul 12, 2017 at 11:45:41AM +0300, Laurent Pinchart wrote:
> Hi Geert,
>
> On Wednesday 12 Jul 2017 09:22:50 Geert Uytterhoeven wrote:
> > On Wed, Jun 21, 2017 at 11:31 AM, Laurent Pinchart wrote:
> > > The FCPs handle the interface between various IP cores and memory. Add
> > > the instances related to the FDPs and VSP2s.
> > >
> > > Signed-off-by: Laurent Pinchart
> > > <laurent.pinchart+renesas@ideasonboard.com>
> > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> >
> > Ah, the pitfalls of reposting patches 8 months later...
> >
> > > arch/arm64/boot/dts/renesas/r8a7796.dtsi | 42
> > > ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+)
> > >
> > > diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > > b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index
> > > 1f6710912045..28b0e2127021 100644
> > > --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > > +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > > @@ -1440,6 +1440,48 @@
> > > /* placeholder */
> > > };
> > >
> > > + fcpf0: fcp@fe950000 {
> > > + compatible = "renesas,fcpf";
> > > + reg = <0 0xfe950000 0 0x200>;
> > > + clocks = <&cpg CPG_MOD 615>;
> > > + power-domains = <&sysc R8A7796_PD_A3VC>;
> >
> > ... missing resets properties.
>
> Oops :-/
>
> Simon, can I send an incremental patch ?
Yes, please do.
^ permalink raw reply [flat|nested] 31+ messages in thread
* [PATCH v2 3/7] arm64: dts: renesas: r8a7796: Add VSP instances
2017-06-21 9:31 [PATCH v2 0/7] R-Car Salvator-X M3-W: Enable DU support Laurent Pinchart
2017-06-21 9:31 ` [PATCH v2 1/7] dt-bindings: display: renesas: Add R-Car M3-W HDMI TX DT bindings Laurent Pinchart
2017-06-21 9:31 ` [PATCH v2 2/7] arm64: dts: renesas: r8a7796: Add FCPF and FCPV instances Laurent Pinchart
@ 2017-06-21 9:31 ` Laurent Pinchart
2017-07-12 7:24 ` Geert Uytterhoeven
2017-06-21 9:31 ` [PATCH v2 4/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance Laurent Pinchart
` (3 subsequent siblings)
6 siblings, 1 reply; 31+ messages in thread
From: Laurent Pinchart @ 2017-06-21 9:31 UTC (permalink / raw)
To: linux-renesas-soc
The r8a7796 has 5 VSP instances.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 50 ++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index 28b0e2127021..ad9cd1c3199f 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -1447,6 +1447,16 @@
power-domains = <&sysc R8A7796_PD_A3VC>;
};
+ vspb: vsp@fe960000 {
+ compatible = "renesas,vsp2";
+ reg = <0 0xfe960000 0 0x8000>;
+ interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 626>;
+ power-domains = <&sysc R8A7796_PD_A3VC>;
+
+ renesas,fcp = <&fcpvb0>;
+ };
+
fcpvb0: fcp@fe96f000 {
compatible = "renesas,fcpv";
reg = <0 0xfe96f000 0 0x200>;
@@ -1454,6 +1464,16 @@
power-domains = <&sysc R8A7796_PD_A3VC>;
};
+ vspi0: vsp@fe9a0000 {
+ compatible = "renesas,vsp2";
+ reg = <0 0xfe9a0000 0 0x8000>;
+ interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 631>;
+ power-domains = <&sysc R8A7796_PD_A3VC>;
+
+ renesas,fcp = <&fcpvi0>;
+ };
+
fcpvi0: fcp@fe9af000 {
compatible = "renesas,fcpv";
reg = <0 0xfe9af000 0 0x200>;
@@ -1461,6 +1481,16 @@
power-domains = <&sysc R8A7796_PD_A3VC>;
};
+ vspd0: vsp@fea20000 {
+ compatible = "renesas,vsp2";
+ reg = <0 0xfea20000 0 0x4000>;
+ interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 623>;
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+
+ renesas,fcp = <&fcpvd0>;
+ };
+
fcpvd0: fcp@fea27000 {
compatible = "renesas,fcpv";
reg = <0 0xfea27000 0 0x200>;
@@ -1468,6 +1498,16 @@
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
};
+ vspd1: vsp@fea28000 {
+ compatible = "renesas,vsp2";
+ reg = <0 0xfea28000 0 0x4000>;
+ interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 622>;
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+
+ renesas,fcp = <&fcpvd1>;
+ };
+
fcpvd1: fcp@fea2f000 {
compatible = "renesas,fcpv";
reg = <0 0xfea2f000 0 0x200>;
@@ -1475,6 +1515,16 @@
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
};
+ vspd2: vsp@fea30000 {
+ compatible = "renesas,vsp2";
+ reg = <0 0xfea30000 0 0x4000>;
+ interrupts = <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 621>;
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+
+ renesas,fcp = <&fcpvd2>;
+ };
+
fcpvd2: fcp@fea37000 {
compatible = "renesas,fcpv";
reg = <0 0xfea37000 0 0x200>;
--
Regards,
Laurent Pinchart
^ permalink raw reply related [flat|nested] 31+ messages in thread* Re: [PATCH v2 3/7] arm64: dts: renesas: r8a7796: Add VSP instances
2017-06-21 9:31 ` [PATCH v2 3/7] arm64: dts: renesas: r8a7796: Add VSP instances Laurent Pinchart
@ 2017-07-12 7:24 ` Geert Uytterhoeven
2017-07-13 7:49 ` Simon Horman
0 siblings, 1 reply; 31+ messages in thread
From: Geert Uytterhoeven @ 2017-07-12 7:24 UTC (permalink / raw)
To: Laurent Pinchart, Simon Horman; +Cc: Linux-Renesas
Hi Laurent, Simon,
On Wed, Jun 21, 2017 at 11:31 AM, Laurent Pinchart
<laurent.pinchart+renesas@ideasonboard.com> wrote:
> The r8a7796 has 5 VSP instances.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Ah, the pitfalls of reposting patches 8 months later...
> ---
> arch/arm64/boot/dts/renesas/r8a7796.dtsi | 50 ++++++++++++++++++++++++++++++++
> 1 file changed, 50 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> index 28b0e2127021..ad9cd1c3199f 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> @@ -1447,6 +1447,16 @@
> power-domains = <&sysc R8A7796_PD_A3VC>;
> };
>
> + vspb: vsp@fe960000 {
> + compatible = "renesas,vsp2";
> + reg = <0 0xfe960000 0 0x8000>;
> + interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&cpg CPG_MOD 626>;
> + power-domains = <&sysc R8A7796_PD_A3VC>;
... missing resets properties.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 31+ messages in thread* Re: [PATCH v2 3/7] arm64: dts: renesas: r8a7796: Add VSP instances
2017-07-12 7:24 ` Geert Uytterhoeven
@ 2017-07-13 7:49 ` Simon Horman
0 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2017-07-13 7:49 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Laurent Pinchart, Linux-Renesas
On Wed, Jul 12, 2017 at 09:24:22AM +0200, Geert Uytterhoeven wrote:
> Hi Laurent, Simon,
>
> On Wed, Jun 21, 2017 at 11:31 AM, Laurent Pinchart
> <laurent.pinchart+renesas@ideasonboard.com> wrote:
> > The r8a7796 has 5 VSP instances.
> >
> > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Ah, the pitfalls of reposting patches 8 months later...
>
> > ---
> > arch/arm64/boot/dts/renesas/r8a7796.dtsi | 50 ++++++++++++++++++++++++++++++++
> > 1 file changed, 50 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > index 28b0e2127021..ad9cd1c3199f 100644
> > --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > @@ -1447,6 +1447,16 @@
> > power-domains = <&sysc R8A7796_PD_A3VC>;
> > };
> >
> > + vspb: vsp@fe960000 {
> > + compatible = "renesas,vsp2";
> > + reg = <0 0xfe960000 0 0x8000>;
> > + interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&cpg CPG_MOD 626>;
> > + power-domains = <&sysc R8A7796_PD_A3VC>;
>
> ... missing resets properties.
Sorry for letting that slip through.
Laurent, please send an incremental patch.
^ permalink raw reply [flat|nested] 31+ messages in thread
* [PATCH v2 4/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance
2017-06-21 9:31 [PATCH v2 0/7] R-Car Salvator-X M3-W: Enable DU support Laurent Pinchart
` (2 preceding siblings ...)
2017-06-21 9:31 ` [PATCH v2 3/7] arm64: dts: renesas: r8a7796: Add VSP instances Laurent Pinchart
@ 2017-06-21 9:31 ` Laurent Pinchart
2017-06-21 9:35 ` Sergei Shtylyov
2017-06-21 12:17 ` [PATCH v2.1 " Laurent Pinchart
2017-06-21 9:31 ` [PATCH v2 5/7] " Laurent Pinchart
` (2 subsequent siblings)
6 siblings, 2 replies; 31+ messages in thread
From: Laurent Pinchart @ 2017-06-21 9:31 UTC (permalink / raw)
To: linux-renesas-soc
Add the HDMI encoder to the R8A7796 DT in disabled state.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index ad9cd1c3199f..25e51d20b7ef 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -1532,6 +1532,31 @@
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
};
+ hdmi0: hdmi0@fead0000 {
+ compatible = "renesas,r8a7796-hdmi", "renesas,rcar-gen3-hdmi";
+ reg = <0 0xfead0000 0 0x10000>;
+ interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE R8A7796_CLK_HDMI>;
+ clock-names = "iahb", "isfr";
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+ resets = <&cpg 729>;
+ status = "disabled";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ dw_hdmi0_in: endpoint {
+ remote-endpoint = <&du_out_hdmi0>;
+ };
+ };
+ port@1 {
+ reg = <1>;
+ };
+ };
+ };
+
du: display@feb00000 {
/* placeholder */
--
Regards,
Laurent Pinchart
^ permalink raw reply related [flat|nested] 31+ messages in thread* Re: [PATCH v2 4/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance
2017-06-21 9:31 ` [PATCH v2 4/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance Laurent Pinchart
@ 2017-06-21 9:35 ` Sergei Shtylyov
2017-06-21 9:43 ` Laurent Pinchart
2017-06-21 12:17 ` [PATCH v2.1 " Laurent Pinchart
1 sibling, 1 reply; 31+ messages in thread
From: Sergei Shtylyov @ 2017-06-21 9:35 UTC (permalink / raw)
To: Laurent Pinchart, linux-renesas-soc
Hello!
On 6/21/2017 12:31 PM, Laurent Pinchart wrote:
> Add the HDMI encoder to the R8A7796 DT in disabled state.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
> arch/arm64/boot/dts/renesas/r8a7796.dtsi | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> index ad9cd1c3199f..25e51d20b7ef 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> @@ -1532,6 +1532,31 @@
> power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
> };
>
> + hdmi0: hdmi0@fead0000 {
Why not name it just hdmi@fead0000 as required by the DT spec 0.1?
[...]
MBR, Sergei
^ permalink raw reply [flat|nested] 31+ messages in thread* Re: [PATCH v2 4/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance
2017-06-21 9:35 ` Sergei Shtylyov
@ 2017-06-21 9:43 ` Laurent Pinchart
0 siblings, 0 replies; 31+ messages in thread
From: Laurent Pinchart @ 2017-06-21 9:43 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: Laurent Pinchart, linux-renesas-soc
Hi Sergei,
On Wednesday 21 Jun 2017 12:35:11 Sergei Shtylyov wrote:
> On 6/21/2017 12:31 PM, Laurent Pinchart wrote:
> > Add the HDMI encoder to the R8A7796 DT in disabled state.
> >
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas@ideasonboard.com>
> > ---
> >
> > arch/arm64/boot/dts/renesas/r8a7796.dtsi | 25 +++++++++++++++++++++++++
> > 1 file changed, 25 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index
> > ad9cd1c3199f..25e51d20b7ef 100644
> > --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > @@ -1532,6 +1532,31 @@
> > power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
> > };
> >
> > + hdmi0: hdmi0@fead0000 {
>
> Why not name it just hdmi@fead0000 as required by the DT spec 0.1?
Good point, fixed in my tree. The fix will be included in my pull request, or
in v3 if other non-trival fixes are required.
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 31+ messages in thread
* [PATCH v2.1 4/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance
2017-06-21 9:31 ` [PATCH v2 4/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance Laurent Pinchart
2017-06-21 9:35 ` Sergei Shtylyov
@ 2017-06-21 12:17 ` Laurent Pinchart
2017-06-26 11:45 ` Geert Uytterhoeven
` (2 more replies)
1 sibling, 3 replies; 31+ messages in thread
From: Laurent Pinchart @ 2017-06-21 12:17 UTC (permalink / raw)
To: linux-renesas-soc
Add the HDMI encoder to the R8A7796 DT in disabled state.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Changes since v2:
- Rename node to hdmi@fead0000
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index ad9cd1c3199f..8c1a770c41cd 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -1532,6 +1532,31 @@
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
};
+ hdmi0: hdmi@fead0000 {
+ compatible = "renesas,r8a7796-hdmi", "renesas,rcar-gen3-hdmi";
+ reg = <0 0xfead0000 0 0x10000>;
+ interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE R8A7796_CLK_HDMI>;
+ clock-names = "iahb", "isfr";
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+ resets = <&cpg 729>;
+ status = "disabled";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ dw_hdmi0_in: endpoint {
+ remote-endpoint = <&du_out_hdmi0>;
+ };
+ };
+ port@1 {
+ reg = <1>;
+ };
+ };
+ };
+
du: display@feb00000 {
/* placeholder */
--
Regards,
Laurent Pinchart
^ permalink raw reply related [flat|nested] 31+ messages in thread* Re: [PATCH v2.1 4/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance
2017-06-21 12:17 ` [PATCH v2.1 " Laurent Pinchart
@ 2017-06-26 11:45 ` Geert Uytterhoeven
2017-07-10 9:07 ` Simon Horman
2017-07-10 9:56 ` [PATCH v2.2 4/7] arm64: dts: renesas: r8a7796: Add DU device to DT Laurent Pinchart
2 siblings, 0 replies; 31+ messages in thread
From: Geert Uytterhoeven @ 2017-06-26 11:45 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: Linux-Renesas
On Wed, Jun 21, 2017 at 2:17 PM, Laurent Pinchart
<laurent.pinchart+renesas@ideasonboard.com> wrote:
> Add the HDMI encoder to the R8A7796 DT in disabled state.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
(disclaimer: I'm no ports/endpoint expert).
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 31+ messages in thread* Re: [PATCH v2.1 4/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance
2017-06-21 12:17 ` [PATCH v2.1 " Laurent Pinchart
2017-06-26 11:45 ` Geert Uytterhoeven
@ 2017-07-10 9:07 ` Simon Horman
2017-07-10 9:49 ` Laurent Pinchart
2017-07-10 9:56 ` [PATCH v2.2 4/7] arm64: dts: renesas: r8a7796: Add DU device to DT Laurent Pinchart
2 siblings, 1 reply; 31+ messages in thread
From: Simon Horman @ 2017-07-10 9:07 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: linux-renesas-soc
On Wed, Jun 21, 2017 at 03:17:30PM +0300, Laurent Pinchart wrote:
> Add the HDMI encoder to the R8A7796 DT in disabled state.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
> arch/arm64/boot/dts/renesas/r8a7796.dtsi | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> Changes since v2:
>
> - Rename node to hdmi@fead0000
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> index ad9cd1c3199f..8c1a770c41cd 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> @@ -1532,6 +1532,31 @@
> power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
> };
>
> + hdmi0: hdmi@fead0000 {
> + compatible = "renesas,r8a7796-hdmi", "renesas,rcar-gen3-hdmi";
> + reg = <0 0xfead0000 0 0x10000>;
> + interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE R8A7796_CLK_HDMI>;
> + clock-names = "iahb", "isfr";
> + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
> + resets = <&cpg 729>;
> + status = "disabled";
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + port@0 {
> + reg = <0>;
> + dw_hdmi0_in: endpoint {
> + remote-endpoint = <&du_out_hdmi0>;
du_out_hdmi0 is used here but does not exist until the following patch is
applied. What to do?
> + };
> + };
> + port@1 {
> + reg = <1>;
> + };
> + };
> + };
> +
> du: display@feb00000 {
> /* placeholder */
>
> --
> Regards,
>
> Laurent Pinchart
>
^ permalink raw reply [flat|nested] 31+ messages in thread* Re: [PATCH v2.1 4/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance
2017-07-10 9:07 ` Simon Horman
@ 2017-07-10 9:49 ` Laurent Pinchart
2017-07-11 9:00 ` Simon Horman
0 siblings, 1 reply; 31+ messages in thread
From: Laurent Pinchart @ 2017-07-10 9:49 UTC (permalink / raw)
To: Simon Horman; +Cc: Laurent Pinchart, linux-renesas-soc
Hi Simon,
On Monday 10 Jul 2017 11:07:50 Simon Horman wrote:
> On Wed, Jun 21, 2017 at 03:17:30PM +0300, Laurent Pinchart wrote:
> > Add the HDMI encoder to the R8A7796 DT in disabled state.
> >
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas@ideasonboard.com>
> > ---
> >
> > arch/arm64/boot/dts/renesas/r8a7796.dtsi | 25 +++++++++++++++++++++++++
> > 1 file changed, 25 insertions(+)
> >
> > Changes since v2:
> >
> > - Rename node to hdmi@fead0000
> >
> > diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index
> > ad9cd1c3199f..8c1a770c41cd 100644
> > --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > @@ -1532,6 +1532,31 @@
> >
> > power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
> >
> > };
> >
> > + hdmi0: hdmi@fead0000 {
> > + compatible = "renesas,r8a7796-hdmi", "renesas,rcar-
gen3-hdmi";
> > + reg = <0 0xfead0000 0 0x10000>;
> > + interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE
R8A7796_CLK_HDMI>;
> > + clock-names = "iahb", "isfr";
> > + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
> > + resets = <&cpg 729>;
> > + status = "disabled";
> > +
> > + ports {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + port@0 {
> > + reg = <0>;
> > + dw_hdmi0_in: endpoint {
> > + remote-endpoint =
<&du_out_hdmi0>;
>
> du_out_hdmi0 is used here but does not exist until the following patch is
> applied. What to do?
Good point. I'll resubmit patches 4/7 and 5/7 with a fix.
> > + };
> > + };
> > + port@1 {
> > + reg = <1>;
> > + };
> > + };
> > + };
> > +
> > du: display@feb00000 {
> > /* placeholder */
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 31+ messages in thread* Re: [PATCH v2.1 4/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance
2017-07-10 9:49 ` Laurent Pinchart
@ 2017-07-11 9:00 ` Simon Horman
0 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2017-07-11 9:00 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: Laurent Pinchart, linux-renesas-soc
On Mon, Jul 10, 2017 at 12:49:45PM +0300, Laurent Pinchart wrote:
> Hi Simon,
>
> On Monday 10 Jul 2017 11:07:50 Simon Horman wrote:
> > On Wed, Jun 21, 2017 at 03:17:30PM +0300, Laurent Pinchart wrote:
> > > Add the HDMI encoder to the R8A7796 DT in disabled state.
> > >
> > > Signed-off-by: Laurent Pinchart
> > > <laurent.pinchart+renesas@ideasonboard.com>
> > > ---
> > >
> > > arch/arm64/boot/dts/renesas/r8a7796.dtsi | 25 +++++++++++++++++++++++++
> > > 1 file changed, 25 insertions(+)
> > >
> > > Changes since v2:
> > >
> > > - Rename node to hdmi@fead0000
> > >
> > > diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > > b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index
> > > ad9cd1c3199f..8c1a770c41cd 100644
> > > --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > > +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > > @@ -1532,6 +1532,31 @@
> > >
> > > power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
> > >
> > > };
> > >
> > > + hdmi0: hdmi@fead0000 {
> > > + compatible = "renesas,r8a7796-hdmi", "renesas,rcar-
> gen3-hdmi";
> > > + reg = <0 0xfead0000 0 0x10000>;
> > > + interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
> > > + clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE
> R8A7796_CLK_HDMI>;
> > > + clock-names = "iahb", "isfr";
> > > + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
> > > + resets = <&cpg 729>;
> > > + status = "disabled";
> > > +
> > > + ports {
> > > + #address-cells = <1>;
> > > + #size-cells = <0>;
> > > + port@0 {
> > > + reg = <0>;
> > > + dw_hdmi0_in: endpoint {
> > > + remote-endpoint =
> <&du_out_hdmi0>;
> >
> > du_out_hdmi0 is used here but does not exist until the following patch is
> > applied. What to do?
>
> Good point. I'll resubmit patches 4/7 and 5/7 with a fix.
Thanks, that seems better.
I have queued up the resulting series.
^ permalink raw reply [flat|nested] 31+ messages in thread
* [PATCH v2.2 4/7] arm64: dts: renesas: r8a7796: Add DU device to DT
2017-06-21 12:17 ` [PATCH v2.1 " Laurent Pinchart
2017-06-26 11:45 ` Geert Uytterhoeven
2017-07-10 9:07 ` Simon Horman
@ 2017-07-10 9:56 ` Laurent Pinchart
2 siblings, 0 replies; 31+ messages in thread
From: Laurent Pinchart @ 2017-07-10 9:56 UTC (permalink / raw)
To: linux-renesas-soc
Add the DU device to r8a7796.dtsi in a disabled state.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index edeb7ed5756d..ce4ddd1d60f7 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -1655,7 +1655,21 @@
};
du: display@feb00000 {
- /* placeholder */
+ compatible = "renesas,du-r8a7796";
+ reg = <0 0xfeb00000 0 0x70000>,
+ <0 0xfeb90000 0 0x14>;
+ reg-names = "du", "lvds.0";
+ interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 724>,
+ <&cpg CPG_MOD 723>,
+ <&cpg CPG_MOD 722>,
+ <&cpg CPG_MOD 727>;
+ clock-names = "du.0", "du.1", "du.2", "lvds.0";
+ status = "disabled";
+
+ vsps = <&vspd0 &vspd1 &vspd2>;
ports {
#address-cells = <1>;
@@ -1666,6 +1680,16 @@
du_out_rgb: endpoint {
};
};
+ port@1 {
+ reg = <1>;
+ du_out_hdmi0: endpoint {
+ };
+ };
+ port@2 {
+ reg = <2>;
+ du_out_lvds0: endpoint {
+ };
+ };
};
};
--
Regards,
Laurent Pinchart
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [PATCH v2 5/7] arm64: dts: renesas: r8a7796: Add DU device to DT
2017-06-21 9:31 [PATCH v2 0/7] R-Car Salvator-X M3-W: Enable DU support Laurent Pinchart
` (3 preceding siblings ...)
2017-06-21 9:31 ` [PATCH v2 4/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance Laurent Pinchart
@ 2017-06-21 9:31 ` Laurent Pinchart
2017-07-10 9:57 ` [PATCH v2.2 5/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance Laurent Pinchart
2017-06-21 9:31 ` [PATCH v2 6/7] arm64: dts: renesas: r8a7796-salvator-x: Add DU external dot clocks Laurent Pinchart
2017-06-21 9:31 ` [PATCH v2 7/7] arm64: dts: renesas: r8a7796-salvator-x: Enable HDMI output Laurent Pinchart
6 siblings, 1 reply; 31+ messages in thread
From: Laurent Pinchart @ 2017-06-21 9:31 UTC (permalink / raw)
To: linux-renesas-soc
Add the DU device to r8a7796.dtsi in a disabled state.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index 25e51d20b7ef..2522e9301cc0 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -1558,7 +1558,21 @@
};
du: display@feb00000 {
- /* placeholder */
+ compatible = "renesas,du-r8a7796";
+ reg = <0 0xfeb00000 0 0x70000>,
+ <0 0xfeb90000 0 0x14>;
+ reg-names = "du", "lvds.0";
+ interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 724>,
+ <&cpg CPG_MOD 723>,
+ <&cpg CPG_MOD 722>,
+ <&cpg CPG_MOD 727>;
+ clock-names = "du.0", "du.1", "du.2", "lvds.0";
+ status = "disabled";
+
+ vsps = <&vspd0 &vspd1 &vspd2>;
ports {
#address-cells = <1>;
@@ -1569,6 +1583,17 @@
du_out_rgb: endpoint {
};
};
+ port@1 {
+ reg = <1>;
+ du_out_hdmi0: endpoint {
+ remote-endpoint = <&dw_hdmi0_in>;
+ };
+ };
+ port@2 {
+ reg = <2>;
+ du_out_lvds0: endpoint {
+ };
+ };
};
};
};
--
Regards,
Laurent Pinchart
^ permalink raw reply related [flat|nested] 31+ messages in thread* [PATCH v2.2 5/7] arm64: dts: renesas: r8a7796: Add HDMI encoder instance
2017-06-21 9:31 ` [PATCH v2 5/7] " Laurent Pinchart
@ 2017-07-10 9:57 ` Laurent Pinchart
0 siblings, 0 replies; 31+ messages in thread
From: Laurent Pinchart @ 2017-07-10 9:57 UTC (permalink / raw)
To: linux-renesas-soc
Add the HDMI encoder to the R8A7796 DT in disabled state.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index ce4ddd1d60f7..1392c4388a04 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -1654,6 +1654,31 @@
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
};
+ hdmi0: hdmi@fead0000 {
+ compatible = "renesas,r8a7796-hdmi", "renesas,rcar-gen3-hdmi";
+ reg = <0 0xfead0000 0 0x10000>;
+ interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE R8A7796_CLK_HDMI>;
+ clock-names = "iahb", "isfr";
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+ resets = <&cpg 729>;
+ status = "disabled";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ dw_hdmi0_in: endpoint {
+ remote-endpoint = <&du_out_hdmi0>;
+ };
+ };
+ port@1 {
+ reg = <1>;
+ };
+ };
+ };
+
du: display@feb00000 {
compatible = "renesas,du-r8a7796";
reg = <0 0xfeb00000 0 0x70000>,
@@ -1683,6 +1708,7 @@
port@1 {
reg = <1>;
du_out_hdmi0: endpoint {
+ remote-endpoint = <&dw_hdmi0_in>;
};
};
port@2 {
--
Regards,
Laurent Pinchart
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [PATCH v2 6/7] arm64: dts: renesas: r8a7796-salvator-x: Add DU external dot clocks
2017-06-21 9:31 [PATCH v2 0/7] R-Car Salvator-X M3-W: Enable DU support Laurent Pinchart
` (4 preceding siblings ...)
2017-06-21 9:31 ` [PATCH v2 5/7] " Laurent Pinchart
@ 2017-06-21 9:31 ` Laurent Pinchart
2017-06-21 11:17 ` Geert Uytterhoeven
2017-06-21 9:31 ` [PATCH v2 7/7] arm64: dts: renesas: r8a7796-salvator-x: Enable HDMI output Laurent Pinchart
6 siblings, 1 reply; 31+ messages in thread
From: Laurent Pinchart @ 2017-06-21 9:31 UTC (permalink / raw)
To: linux-renesas-soc
The DU1 external dot clock is provided by the fixed frequency clock
generator X21, while the DU0 and DU2 clocks are provided by the
programmable Versaclock5 clock generator.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
index db4f162d6bdd..1b8d1314763f 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
@@ -29,3 +29,15 @@
reg = <0x6 0x00000000 0x0 0x80000000>;
};
};
+
+&du {
+ clocks = <&cpg CPG_MOD 724>,
+ <&cpg CPG_MOD 723>,
+ <&cpg CPG_MOD 722>,
+ <&cpg CPG_MOD 727>,
+ <&versaclock5 1>,
+ <&x21_clk>,
+ <&versaclock5 2>;
+ clock-names = "du.0", "du.1", "du.2", "lvds.0",
+ "dclkin.0", "dclkin.1", "dclkin.2";
+};
--
Regards,
Laurent Pinchart
^ permalink raw reply related [flat|nested] 31+ messages in thread* Re: [PATCH v2 6/7] arm64: dts: renesas: r8a7796-salvator-x: Add DU external dot clocks
2017-06-21 9:31 ` [PATCH v2 6/7] arm64: dts: renesas: r8a7796-salvator-x: Add DU external dot clocks Laurent Pinchart
@ 2017-06-21 11:17 ` Geert Uytterhoeven
0 siblings, 0 replies; 31+ messages in thread
From: Geert Uytterhoeven @ 2017-06-21 11:17 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: Linux-Renesas
On Wed, Jun 21, 2017 at 11:31 AM, Laurent Pinchart
<laurent.pinchart+renesas@ideasonboard.com> wrote:
> The DU1 external dot clock is provided by the fixed frequency clock
> generator X21, while the DU0 and DU2 clocks are provided by the
> programmable Versaclock5 clock generator.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 31+ messages in thread
* [PATCH v2 7/7] arm64: dts: renesas: r8a7796-salvator-x: Enable HDMI output
2017-06-21 9:31 [PATCH v2 0/7] R-Car Salvator-X M3-W: Enable DU support Laurent Pinchart
` (5 preceding siblings ...)
2017-06-21 9:31 ` [PATCH v2 6/7] arm64: dts: renesas: r8a7796-salvator-x: Add DU external dot clocks Laurent Pinchart
@ 2017-06-21 9:31 ` Laurent Pinchart
2017-06-21 11:19 ` Geert Uytterhoeven
6 siblings, 1 reply; 31+ messages in thread
From: Laurent Pinchart @ 2017-06-21 9:31 UTC (permalink / raw)
To: linux-renesas-soc
Enable the HDMI encoder for the M3-W Salvator-X board and hook it up to
the HDMI connector.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
index 1b8d1314763f..805f1e85db91 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
@@ -41,3 +41,20 @@
clock-names = "du.0", "du.1", "du.2", "lvds.0",
"dclkin.0", "dclkin.1", "dclkin.2";
};
+
+&hdmi0 {
+ status = "okay";
+
+ ports {
+ port@1 {
+ reg = <1>;
+ rcar_dw_hdmi0_out: endpoint {
+ remote-endpoint = <&hdmi0_con>;
+ };
+ };
+ };
+};
+
+&hdmi0_con {
+ remote-endpoint = <&rcar_dw_hdmi0_out>;
+};
--
Regards,
Laurent Pinchart
^ permalink raw reply related [flat|nested] 31+ messages in thread* Re: [PATCH v2 7/7] arm64: dts: renesas: r8a7796-salvator-x: Enable HDMI output
2017-06-21 9:31 ` [PATCH v2 7/7] arm64: dts: renesas: r8a7796-salvator-x: Enable HDMI output Laurent Pinchart
@ 2017-06-21 11:19 ` Geert Uytterhoeven
0 siblings, 0 replies; 31+ messages in thread
From: Geert Uytterhoeven @ 2017-06-21 11:19 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: Linux-Renesas
On Wed, Jun 21, 2017 at 11:31 AM, Laurent Pinchart
<laurent.pinchart+renesas@ideasonboard.com> wrote:
> Enable the HDMI encoder for the M3-W Salvator-X board and hook it up to
> the HDMI connector.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 31+ messages in thread