Message ID | 1432050616-11465-3-git-send-email-eric.nelson@boundarydevices.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi Eric, Am Dienstag, den 19.05.2015, 08:50 -0700 schrieb Eric Nelson: > Also add label for backlight_lvds and connect it to the LVDS display. > > Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> > --- [...] > @@ -129,6 +129,17 @@ > power-supply = <®_3p3v>; > status = "okay"; > }; > + > + panel { > + compatible = "hannstar,hsd100pxn1"; > + backlight = <&backlight_lvds>; > + > + port { > + panel_in: endpoint { > + remote-endpoint = <&lvds0_out>; > + }; > + }; > + }; > }; > > &audmux { > @@ -374,18 +385,11 @@ > fsl,data-width = <18>; The fsl,data-width property shouldn't be needed anymore if you set .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG for the hsd100pxn1 panel in panel-simple.c. regards Philipp
On 05/19/2015 09:04 AM, Philipp Zabel wrote: > Hi Eric, > > Am Dienstag, den 19.05.2015, 08:50 -0700 schrieb Eric Nelson: >> Also add label for backlight_lvds and connect it to the LVDS display. >> >> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> >> --- > [...] >> @@ -129,6 +129,17 @@ >> power-supply = <®_3p3v>; >> status = "okay"; >> }; >> + >> + panel { >> + compatible = "hannstar,hsd100pxn1"; >> + backlight = <&backlight_lvds>; >> + >> + port { >> + panel_in: endpoint { >> + remote-endpoint = <&lvds0_out>; >> + }; >> + }; >> + }; >> }; >> >> &audmux { >> @@ -374,18 +385,11 @@ >> fsl,data-width = <18>; > > The fsl,data-width property shouldn't be needed anymore if you > set .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG for the hsd100pxn1 > panel in panel-simple.c. > Thanks again Philipp. That's a much better place to put it, since this is a panel feature, not a feature of the LVDS channel.
Hi Philipp, On 05/19/2015 09:51 AM, Eric Nelson wrote: > On 05/19/2015 09:04 AM, Philipp Zabel wrote: >> Hi Eric, >> >> Am Dienstag, den 19.05.2015, 08:50 -0700 schrieb Eric Nelson: >>> Also add label for backlight_lvds and connect it to the LVDS display. >>> >>> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> >>> --- >> [...] >>> >>> &audmux { >>> @@ -374,18 +385,11 @@ >>> fsl,data-width = <18>; >> >> The fsl,data-width property shouldn't be needed anymore if you >> set .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG for the hsd100pxn1 >> panel in panel-simple.c. >> Are you planning to submit a patch to panel-simple.c for this? Because of the dependency, I'd like to handle this in a separate patch instead of V3 of this patch set. Please advise, Eric
Hi Eric, Am Dienstag, den 19.05.2015, 11:52 -0700 schrieb Eric Nelson: > Hi Philipp, > > On 05/19/2015 09:51 AM, Eric Nelson wrote: > > On 05/19/2015 09:04 AM, Philipp Zabel wrote: > >> Hi Eric, > >> > >> Am Dienstag, den 19.05.2015, 08:50 -0700 schrieb Eric Nelson: > >>> Also add label for backlight_lvds and connect it to the LVDS display. > >>> > >>> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> > >>> --- > >> [...] > >>> > >>> &audmux { > >>> @@ -374,18 +385,11 @@ > >>> fsl,data-width = <18>; > >> > >> The fsl,data-width property shouldn't be needed anymore if you > >> set .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG for the hsd100pxn1 > >> panel in panel-simple.c. > >> > > Are you planning to submit a patch to panel-simple.c for this? Done. > Because of the dependency, I'd like to handle this in a separate > patch instead of V3 of this patch set. I agree, it's better to remove this in a separate step after the panel driver is merged. regards Philipp
diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi index 483856e2..6ed80b8 100644 --- a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi @@ -121,7 +121,7 @@ status = "okay"; }; - backlight_lvds { + backlight_lvds: backlight_lvds { compatible = "pwm-backlight"; pwms = <&pwm4 0 5000000>; brightness-levels = <0 4 8 16 32 64 128 255>; @@ -129,6 +129,17 @@ power-supply = <®_3p3v>; status = "okay"; }; + + panel { + compatible = "hannstar,hsd100pxn1"; + backlight = <&backlight_lvds>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; }; &audmux { @@ -374,18 +385,11 @@ fsl,data-width = <18>; status = "okay"; - display-timings { - native-mode = <&timing0>; - timing0: hsd100pxn1 { - clock-frequency = <65000000>; - hactive = <1024>; - vactive = <768>; - hback-porch = <220>; - hfront-porch = <40>; - vback-porch = <21>; - vfront-porch = <7>; - hsync-len = <60>; - vsync-len = <10>; + port@4 { + reg = <4>; + + lvds0_out: endpoint { + remote-endpoint = <&panel_in>; }; }; };
Also add label for backlight_lvds and connect it to the LVDS display. Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> --- V2 changes 'alias' in commit message to 'label' arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-)