* [PATCH 0/2] ARM: dts: use simple-panel for nitrogen6x and sabrelite @ 2015-05-16 19:23 Eric Nelson [not found] ` <1431804202-11067-1-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> 0 siblings, 1 reply; 13+ messages in thread From: Eric Nelson @ 2015-05-16 19:23 UTC (permalink / raw) To: devicetree-u79uwXL29TY76Z2rM5mHXA Cc: shawn.guo-QSEj5FYQhm4dnm+yROfE0A, p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, fabio.estevam-KZfg59tc24xl57MIdRCFDg, gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR, Eric Nelson Patch originated with informal submission by Philipp Zabel: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-April/337115.html Update the LVDS0 configuration for imx6qdl-nitrogen6x and imx6qdl-sabrelite to use simple panel to allow the connection of backlights and simplify the process of (re)configuring displays. A U-Boot script to configure the displays based on detection of the touch controller is available for reference here: https://github.com/boundarydevices/u-boot-imx6/blob/staging/board/boundary/nitrogen6x/6x_bootscript-mainline.txt Addition of panel hannstar,hsd100pxn1 is queued for 4.2: https://patchwork.kernel.org/patch/6212451/ Eric Nelson (2): ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 ARM: dts: sabrelite: use simple-panel instead of display-timings for LVDS0 arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 30 +++++++++++++++++------------- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 30 +++++++++++++++++------------- 2 files changed, 34 insertions(+), 26 deletions(-) -- 2.1.4 -- 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] 13+ messages in thread
[parent not found: <1431804202-11067-1-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>]
* [PATCH 1/2] ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 [not found] ` <1431804202-11067-1-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> @ 2015-05-16 19:23 ` Eric Nelson 2015-05-18 5:58 ` Lothar Waßmann 2015-05-16 19:23 ` [PATCH 2/2] ARM: dts: sabrelite: use simple-panel instead of display-timings for LVDS0 Eric Nelson 1 sibling, 1 reply; 13+ messages in thread From: Eric Nelson @ 2015-05-16 19:23 UTC (permalink / raw) To: devicetree-u79uwXL29TY76Z2rM5mHXA Cc: shawn.guo-QSEj5FYQhm4dnm+yROfE0A, p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, fabio.estevam-KZfg59tc24xl57MIdRCFDg, gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR, Eric Nelson Also add alias for backlight_lvds and connect it to the display. Signed-off-by: Eric Nelson <eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> --- arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi index fd096dc..712c5ec 100644 --- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi @@ -122,7 +122,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>; @@ -130,6 +130,17 @@ power-supply = <®_3p3v>; status = "okay"; }; + + panel { + compatible = "hannstar,hsd100pxn1"; + backlight = <&backlight_lvds>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; }; &audmux { @@ -379,18 +390,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>; }; }; }; -- 2.1.4 -- 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 related [flat|nested] 13+ messages in thread
* Re: [PATCH 1/2] ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 2015-05-16 19:23 ` [PATCH 1/2] ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 Eric Nelson @ 2015-05-18 5:58 ` Lothar Waßmann [not found] ` <20150518075844.7e1b5916-VjFSrY7JcPWvSplVBqRQBQ@public.gmane.org> 0 siblings, 1 reply; 13+ messages in thread From: Lothar Waßmann @ 2015-05-18 5:58 UTC (permalink / raw) To: Eric Nelson Cc: fabio.estevam, devicetree, p.zabel, gary.bisson, kernel, shawn.guo, linux-arm-kernel Hi, > Also add alias for backlight_lvds and connect it to the display. > > Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> > --- > arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 30 +++++++++++++++++------------- > 1 file changed, 17 insertions(+), 13 deletions(-) > > diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi > index fd096dc..712c5ec 100644 > --- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi > @@ -122,7 +122,7 @@ > status = "okay"; > }; > > - backlight_lvds { > + backlight_lvds: backlight_lvds { > The patch does not add an 'alias', but a 'label'. Lothar Waßmann -- ___________________________________________________________ Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10 Geschäftsführer: Matthias Kaussen Handelsregistereintrag: Amtsgericht Aachen, HRB 4996 www.karo-electronics.de | info@karo-electronics.de ___________________________________________________________ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <20150518075844.7e1b5916-VjFSrY7JcPWvSplVBqRQBQ@public.gmane.org>]
* Re: [PATCH 1/2] ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 [not found] ` <20150518075844.7e1b5916-VjFSrY7JcPWvSplVBqRQBQ@public.gmane.org> @ 2015-05-18 14:12 ` Eric Nelson 2015-05-19 15:50 ` [PATCH V2 0/2] ARM: dts: use simple-panel for nitrogen6x and sabrelite Eric Nelson 1 sibling, 0 replies; 13+ messages in thread From: Eric Nelson @ 2015-05-18 14:12 UTC (permalink / raw) To: Lothar Waßmann Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, fabio.estevam-KZfg59tc24xl57MIdRCFDg, p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ, gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, shawn.guo-QSEj5FYQhm4dnm+yROfE0A, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On 05/17/2015 10:58 PM, Lothar Waßmann wrote: > Hi, > >> Also add alias for backlight_lvds and connect it to the display. >> >> Signed-off-by: Eric Nelson <eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> >> --- >> arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 30 +++++++++++++++++------------- >> 1 file changed, 17 insertions(+), 13 deletions(-) >> >> diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi >> index fd096dc..712c5ec 100644 >> --- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi >> +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi >> @@ -122,7 +122,7 @@ >> status = "okay"; >> }; >> >> - backlight_lvds { >> + backlight_lvds: backlight_lvds { >> > The patch does not add an 'alias', but a 'label'. > Good catch. Thanks for the clarification. -- 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] 13+ messages in thread
* [PATCH V2 0/2] ARM: dts: use simple-panel for nitrogen6x and sabrelite [not found] ` <20150518075844.7e1b5916-VjFSrY7JcPWvSplVBqRQBQ@public.gmane.org> 2015-05-18 14:12 ` Eric Nelson @ 2015-05-19 15:50 ` Eric Nelson [not found] ` <1432050616-11465-1-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> 1 sibling, 1 reply; 13+ messages in thread From: Eric Nelson @ 2015-05-19 15:50 UTC (permalink / raw) To: devicetree-u79uwXL29TY76Z2rM5mHXA Cc: shawn.guo-QSEj5FYQhm4dnm+yROfE0A, p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, fabio.estevam-KZfg59tc24xl57MIdRCFDg, gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR, Eric Nelson Patch originated with informal submission by Philipp Zabel: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-April/337115.html Update the LVDS0 configuration for imx6qdl-nitrogen6x and imx6qdl-sabrelite to use simple panel to allow the connection of backlights and simplify the process of (re)configuring displays. A U-Boot script to configure the displays based on detection of the touch controller is available for reference here: https://github.com/boundarydevices/u-boot-imx6/blob/staging/board/boundary/nitrogen6x/6x_bootscript-mainline.txt Addition of panel hannstar,hsd100pxn1 is queued for 4.2: https://patchwork.kernel.org/patch/6212451/ Eric Nelson (2): ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 ARM: dts: sabrelite: use simple-panel instead of display-timings for LVDS0 V2 changes commit messages to use proper name of 'label' instead of 'alias' arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 30 +++++++++++++++++------------- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 30 +++++++++++++++++------------- 2 files changed, 34 insertions(+), 26 deletions(-) -- 2.1.4 -- 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] 13+ messages in thread
[parent not found: <1432050616-11465-1-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>]
* [PATCH V2 1/2] ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 [not found] ` <1432050616-11465-1-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> @ 2015-05-19 15:50 ` Eric Nelson 2015-05-19 15:50 ` [PATCH 2/2] ARM: dts: sabrelite: " Eric Nelson 2015-05-21 0:27 ` [PATCH V2 0/2] ARM: dts: use simple-panel for nitrogen6x and sabrelite Shawn Guo 2 siblings, 0 replies; 13+ messages in thread From: Eric Nelson @ 2015-05-19 15:50 UTC (permalink / raw) To: devicetree-u79uwXL29TY76Z2rM5mHXA Cc: shawn.guo-QSEj5FYQhm4dnm+yROfE0A, p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, fabio.estevam-KZfg59tc24xl57MIdRCFDg, gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR, Eric Nelson Also add label for backlight_lvds and connect it to the display. Signed-off-by: Eric Nelson <eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> --- V2 changes 'alias' in commit message to 'label' arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi index fd096dc..712c5ec 100644 --- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi @@ -122,7 +122,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>; @@ -130,6 +130,17 @@ power-supply = <®_3p3v>; status = "okay"; }; + + panel { + compatible = "hannstar,hsd100pxn1"; + backlight = <&backlight_lvds>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; }; &audmux { @@ -379,18 +390,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>; }; }; }; -- 2.1.4 -- 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 related [flat|nested] 13+ messages in thread
* [PATCH 2/2] ARM: dts: sabrelite: use simple-panel instead of display-timings for LVDS0 [not found] ` <1432050616-11465-1-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> 2015-05-19 15:50 ` [PATCH V2 1/2] ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 Eric Nelson @ 2015-05-19 15:50 ` Eric Nelson [not found] ` <1432050616-11465-3-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> 2015-05-21 0:27 ` [PATCH V2 0/2] ARM: dts: use simple-panel for nitrogen6x and sabrelite Shawn Guo 2 siblings, 1 reply; 13+ messages in thread From: Eric Nelson @ 2015-05-19 15:50 UTC (permalink / raw) To: devicetree-u79uwXL29TY76Z2rM5mHXA Cc: shawn.guo-QSEj5FYQhm4dnm+yROfE0A, p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, fabio.estevam-KZfg59tc24xl57MIdRCFDg, gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR, Eric Nelson Also add label for backlight_lvds and connect it to the LVDS display. Signed-off-by: Eric Nelson <eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> --- V2 changes 'alias' in commit message to 'label' arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) 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>; }; }; }; -- 2.1.4 -- 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 related [flat|nested] 13+ messages in thread
[parent not found: <1432050616-11465-3-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>]
* Re: [PATCH 2/2] ARM: dts: sabrelite: use simple-panel instead of display-timings for LVDS0 [not found] ` <1432050616-11465-3-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> @ 2015-05-19 16:04 ` Philipp Zabel [not found] ` <1432051452.15181.48.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> 0 siblings, 1 reply; 13+ messages in thread From: Philipp Zabel @ 2015-05-19 16:04 UTC (permalink / raw) To: Eric Nelson Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, shawn.guo-QSEj5FYQhm4dnm+yROfE0A, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, fabio.estevam-KZfg59tc24xl57MIdRCFDg, gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR 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-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> > --- [...] > @@ -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 -- 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] 13+ messages in thread
[parent not found: <1432051452.15181.48.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>]
* Re: [PATCH 2/2] ARM: dts: sabrelite: use simple-panel instead of display-timings for LVDS0 [not found] ` <1432051452.15181.48.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> @ 2015-05-19 16:51 ` Eric Nelson [not found] ` <555B6A0B.4010205-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> 0 siblings, 1 reply; 13+ messages in thread From: Eric Nelson @ 2015-05-19 16:51 UTC (permalink / raw) To: Philipp Zabel Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, shawn.guo-QSEj5FYQhm4dnm+yROfE0A, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, fabio.estevam-KZfg59tc24xl57MIdRCFDg, gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR 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-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> >> --- > [...] >> @@ -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. -- 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] 13+ messages in thread
[parent not found: <555B6A0B.4010205-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>]
* Re: [PATCH 2/2] ARM: dts: sabrelite: use simple-panel instead of display-timings for LVDS0 [not found] ` <555B6A0B.4010205-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> @ 2015-05-19 18:52 ` Eric Nelson [not found] ` <555B8678.8090002-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> 0 siblings, 1 reply; 13+ messages in thread From: Eric Nelson @ 2015-05-19 18:52 UTC (permalink / raw) To: Philipp Zabel Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, shawn.guo-QSEj5FYQhm4dnm+yROfE0A, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, fabio.estevam-KZfg59tc24xl57MIdRCFDg, gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR 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-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> >>> --- >> [...] >>> >>> &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 -- 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] 13+ messages in thread
[parent not found: <555B8678.8090002-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>]
* Re: [PATCH 2/2] ARM: dts: sabrelite: use simple-panel instead of display-timings for LVDS0 [not found] ` <555B8678.8090002-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> @ 2015-05-20 9:35 ` Philipp Zabel 0 siblings, 0 replies; 13+ messages in thread From: Philipp Zabel @ 2015-05-20 9:35 UTC (permalink / raw) To: Eric Nelson Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, shawn.guo-QSEj5FYQhm4dnm+yROfE0A, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, fabio.estevam-KZfg59tc24xl57MIdRCFDg, gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR 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-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> > >>> --- > >> [...] > >>> > >>> &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 -- 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] 13+ messages in thread
* Re: [PATCH V2 0/2] ARM: dts: use simple-panel for nitrogen6x and sabrelite [not found] ` <1432050616-11465-1-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> 2015-05-19 15:50 ` [PATCH V2 1/2] ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 Eric Nelson 2015-05-19 15:50 ` [PATCH 2/2] ARM: dts: sabrelite: " Eric Nelson @ 2015-05-21 0:27 ` Shawn Guo 2 siblings, 0 replies; 13+ messages in thread From: Shawn Guo @ 2015-05-21 0:27 UTC (permalink / raw) To: Eric Nelson Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, fabio.estevam-KZfg59tc24xl57MIdRCFDg, gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR On Tue, May 19, 2015 at 08:50:14AM -0700, Eric Nelson wrote: > Eric Nelson (2): > ARM: dts: nitrogen6x: use simple-panel instead of display-timings for > LVDS0 > ARM: dts: sabrelite: use simple-panel instead of display-timings for > LVDS0 Applied both, thanks. -- 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] 13+ messages in thread
* [PATCH 2/2] ARM: dts: sabrelite: use simple-panel instead of display-timings for LVDS0 [not found] ` <1431804202-11067-1-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> 2015-05-16 19:23 ` [PATCH 1/2] ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 Eric Nelson @ 2015-05-16 19:23 ` Eric Nelson 1 sibling, 0 replies; 13+ messages in thread From: Eric Nelson @ 2015-05-16 19:23 UTC (permalink / raw) To: devicetree-u79uwXL29TY76Z2rM5mHXA Cc: shawn.guo-QSEj5FYQhm4dnm+yROfE0A, p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ, kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, fabio.estevam-KZfg59tc24xl57MIdRCFDg, gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR, Eric Nelson Also add alias for backlight_lvds and connect it to the LVDS display. Signed-off-by: Eric Nelson <eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> --- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) 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>; }; }; }; -- 2.1.4 -- 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 related [flat|nested] 13+ messages in thread
end of thread, other threads:[~2015-05-21 0:27 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-05-16 19:23 [PATCH 0/2] ARM: dts: use simple-panel for nitrogen6x and sabrelite Eric Nelson [not found] ` <1431804202-11067-1-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> 2015-05-16 19:23 ` [PATCH 1/2] ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 Eric Nelson 2015-05-18 5:58 ` Lothar Waßmann [not found] ` <20150518075844.7e1b5916-VjFSrY7JcPWvSplVBqRQBQ@public.gmane.org> 2015-05-18 14:12 ` Eric Nelson 2015-05-19 15:50 ` [PATCH V2 0/2] ARM: dts: use simple-panel for nitrogen6x and sabrelite Eric Nelson [not found] ` <1432050616-11465-1-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> 2015-05-19 15:50 ` [PATCH V2 1/2] ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 Eric Nelson 2015-05-19 15:50 ` [PATCH 2/2] ARM: dts: sabrelite: " Eric Nelson [not found] ` <1432050616-11465-3-git-send-email-eric.nelson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> 2015-05-19 16:04 ` Philipp Zabel [not found] ` <1432051452.15181.48.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> 2015-05-19 16:51 ` Eric Nelson [not found] ` <555B6A0B.4010205-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> 2015-05-19 18:52 ` Eric Nelson [not found] ` <555B8678.8090002-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org> 2015-05-20 9:35 ` Philipp Zabel 2015-05-21 0:27 ` [PATCH V2 0/2] ARM: dts: use simple-panel for nitrogen6x and sabrelite Shawn Guo 2015-05-16 19:23 ` [PATCH 2/2] ARM: dts: sabrelite: use simple-panel instead of display-timings for LVDS0 Eric Nelson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).