Message ID | 1414332679-15497-10-git-send-email-laurent.pinchart+renesas@ideasonboard.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 0ee56d403549fd97d8acac6b7ba3a17f6999c30a |
Headers | show |
On 10/26/2014 05:11 PM, Laurent Pinchart wrote: > Specify the DU output topology, enable the DU device and configure the > related pins. > > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> > --- > arch/arm/boot/dts/r8a7791-koelsch.dts | 16 +++++++++++++--- > 1 file changed, 13 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts > index 53184637f160..0402c498b05b 100644 > --- a/arch/arm/boot/dts/r8a7791-koelsch.dts > +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts > @@ -212,14 +212,24 @@ > }; > }; > > +&du { > + pinctrl-0 = <&du_pins>; > + pinctrl-names = "default"; > + status = "okay"; > + > + ports { > + port@1 { > + lvds_connector: endpoint { I don't understand what this unreferenced label achieves. Also, the Koelsch schematics tells me LVDS is connected to DU0, not DU1... [...] MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello. On 12/24/2015 10:54 PM, Sergei Shtylyov wrote: >> Specify the DU output topology, enable the DU device and configure the >> related pins. >> >> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> >> --- >> arch/arm/boot/dts/r8a7791-koelsch.dts | 16 +++++++++++++--- >> 1 file changed, 13 insertions(+), 3 deletions(-) >> >> diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts >> b/arch/arm/boot/dts/r8a7791-koelsch.dts >> index 53184637f160..0402c498b05b 100644 >> --- a/arch/arm/boot/dts/r8a7791-koelsch.dts >> +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts >> @@ -212,14 +212,24 @@ >> }; >> }; >> >> +&du { >> + pinctrl-0 = <&du_pins>; >> + pinctrl-names = "default"; >> + status = "okay"; >> + >> + ports { >> + port@1 { >> + lvds_connector: endpoint { > > I don't understand what this unreferenced label achieves. Also, the > Koelsch schematics tells me LVDS is connected to DU0, not DU1... OK, figured it out now! However in the absence of #include for a LCD panel this still makes little sense. > [...] MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Sergei, On Saturday 26 December 2015 02:45:55 Sergei Shtylyov wrote: > On 12/24/2015 10:54 PM, Sergei Shtylyov wrote: > >> Specify the DU output topology, enable the DU device and configure the > >> related pins. > >> > >> Signed-off-by: Laurent Pinchart > >> <laurent.pinchart+renesas@ideasonboard.com> > >> --- > >> > >> arch/arm/boot/dts/r8a7791-koelsch.dts | 16 +++++++++++++--- > >> 1 file changed, 13 insertions(+), 3 deletions(-) > >> > >> diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts > >> b/arch/arm/boot/dts/r8a7791-koelsch.dts > >> index 53184637f160..0402c498b05b 100644 > >> --- a/arch/arm/boot/dts/r8a7791-koelsch.dts > >> +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts > >> @@ -212,14 +212,24 @@ > >> }; > >> }; > >> > >> +&du { > >> + pinctrl-0 = <&du_pins>; > >> + pinctrl-names = "default"; > >> + status = "okay"; > >> + > >> + ports { > >> + port@1 { > >> + lvds_connector: endpoint { > > > > I don't understand what this unreferenced label achieves. Also, the > > Koelsch schematics tells me LVDS is connected to DU0, not DU1... > > OK, figured it out now! However in the absence of #include for a LCD > panel this still makes little sense. That's right, but there's no panel mounted directly on the Koelsch board, so we can't hardcode a particular panel model in r8a7791-koelsch.dts. This is where DT overlays can be handy.
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts index 53184637f160..0402c498b05b 100644 --- a/arch/arm/boot/dts/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts @@ -212,14 +212,24 @@ }; }; +&du { + pinctrl-0 = <&du_pins>; + pinctrl-names = "default"; + status = "okay"; + + ports { + port@1 { + lvds_connector: endpoint { + }; + }; + }; +}; + &extal_clk { clock-frequency = <20000000>; }; &pfc { - pinctrl-0 = <&du_pins>; - pinctrl-names = "default"; - i2c2_pins: i2c2 { renesas,groups = "i2c2"; renesas,function = "i2c2";
Specify the DU output topology, enable the DU device and configure the related pins. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> --- arch/arm/boot/dts/r8a7791-koelsch.dts | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-)