All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH v5 03/14] ARM: shmobile: r8a7791: Add DU node to device tree
Date: Sun, 27 Dec 2015 00:07:55 +0000	[thread overview]
Message-ID: <5605418.zMeoe6IPNy@avalon> (raw)
In-Reply-To: <1414332679-15497-4-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

Hi Sergei,

On Thursday 24 December 2015 22:45:33 Sergei Shtylyov wrote:
> On 10/26/2014 05:11 PM, Laurent Pinchart wrote:
> > Add the DU device with a disabled state. Boards that want to enable the
> > DU need to specify the output topology
> > 
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas@ideasonboard.com>
> > ---
> > 
> >   arch/arm/boot/dts/r8a7791.dtsi | 30 ++++++++++++++++++++++++++++++
> >   1 file changed, 30 insertions(+)
> > 
> > diff --git a/arch/arm/boot/dts/r8a7791.dtsi
> > b/arch/arm/boot/dts/r8a7791.dtsi index 74f18d89a35f..6b06a7665fae 100644
> > --- a/arch/arm/boot/dts/r8a7791.dtsi
> > +++ b/arch/arm/boot/dts/r8a7791.dtsi
> > @@ -695,6 +695,36 @@
> >   		renesas,#wpf = <4>;
> >   	};
> > 
> > +	du: display@feb00000 {
> > +		compatible = "renesas,du-r8a7791";
> > +		reg = <0 0xfeb00000 0 0x40000>,
> > +		      <0 0xfeb90000 0 0x1c>;
> > +		reg-names = "du", "lvds.0";
> > +		interrupts = <0 256 IRQ_TYPE_LEVEL_HIGH>,
> > +			     <0 268 IRQ_TYPE_LEVEL_HIGH>;
> > +		clocks = <&mstp7_clks R8A7791_CLK_DU0>,
> > +			 <&mstp7_clks R8A7791_CLK_DU1>,
> > +			 <&mstp7_clks R8A7791_CLK_LVDS0>;
> > +		clock-names = "du.0", "du.1", "lvds.0";
> > +		status = "disabled";
> > +
> > +		ports {
> > +			#address-cells = <1>;
> > +			#size-cells = <0>;
> > +
> > +			port@0 {
> > +				reg = <0>;
> > +				du_out_rgb: endpoint {
> > +				};
> > +			};
> > +			port@1 {
> > +				reg = <1>;
> > +				du_out_lvds0: endpoint {
> > +				};
> 
> Hm, my manual tell me LVDS is supported on DU0 only for R8A7791/3...

Yes, but note that the port number doesn't correspond to the DU number. A 
given port can be driven by multiple DU channels on some of the R-Car SoCs. 
The routing tables are defined in the per-SoC device info in 
drivers/gpu/drm/rcar-du/rcar_du_drv.c.

-- 
Regards,

Laurent Pinchart


  parent reply	other threads:[~2015-12-27  0:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-26 14:11 [PATCH v5 03/14] ARM: shmobile: r8a7791: Add DU node to device tree Laurent Pinchart
2015-12-24 19:45 ` Sergei Shtylyov
2015-12-27  0:07 ` Laurent Pinchart [this message]
2015-12-30 22:06 ` Sergei Shtylyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5605418.zMeoe6IPNy@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.