* [PATCH 0/3] ARM: dts: imx: various fixes for LVDS on Ventana
@ 2014-04-24 22:07 Tim Harvey
  2014-04-24 22:07 ` [PATCH 1/3] ARM: dts: imx: Fix LVDS mapping for Ventana GW53xx/GW54xx Tim Harvey
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Tim Harvey @ 2014-04-24 22:07 UTC (permalink / raw)
  To: linux-arm-kernel
This series adds support for the LVDS display on GW54xx/GW53xx/GW52xx.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Tim Harvey (3):
  ARM: dts: imx: Fix LVDS mapping for Ventana GW53xx/GW54xx
  ARM: dts: imx: add LVDS backlight for Ventana
  ARM: dts: imx: Fix LVDS mapping for Ventana GW52xx
 arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 40 ++++++++++++++++++++++++++++++++++-
 arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 22 ++++++++++++++++++-
 arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 22 ++++++++++++++++++-
 3 files changed, 81 insertions(+), 3 deletions(-)
-- 
1.8.3.2
^ permalink raw reply	[flat|nested] 9+ messages in thread* [PATCH 1/3] ARM: dts: imx: Fix LVDS mapping for Ventana GW53xx/GW54xx 2014-04-24 22:07 [PATCH 0/3] ARM: dts: imx: various fixes for LVDS on Ventana Tim Harvey @ 2014-04-24 22:07 ` Tim Harvey 2014-04-24 22:07 ` [PATCH 2/3] ARM: dts: imx: add LVDS backlight for Ventana Tim Harvey 2014-04-24 22:07 ` [PATCH 3/3] ARM: dts: imx: Fix LVDS mapping for Ventana GW52xx Tim Harvey 2 siblings, 0 replies; 9+ messages in thread From: Tim Harvey @ 2014-04-24 22:07 UTC (permalink / raw) To: linux-arm-kernel The GW54xx and GW53xx baseboards use LVDS channel 0 not channel 1. Signed-off-by: Tim Harvey <tharvey@gateworks.com> --- arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 2 +- arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi index 523f26f..ef7bd99 100644 --- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi @@ -482,7 +482,7 @@ &ldb { status = "okay"; - lvds-channel at 1 { + lvds-channel at 0 { fsl,data-mapping = "spwg"; fsl,data-width = <18>; status = "okay"; diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi index cab94bf..4ce8f68 100644 --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi @@ -504,7 +504,7 @@ &ldb { status = "okay"; - lvds-channel at 1 { + lvds-channel at 0 { fsl,data-mapping = "spwg"; fsl,data-width = <18>; status = "okay"; -- 1.8.3.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/3] ARM: dts: imx: add LVDS backlight for Ventana 2014-04-24 22:07 [PATCH 0/3] ARM: dts: imx: various fixes for LVDS on Ventana Tim Harvey 2014-04-24 22:07 ` [PATCH 1/3] ARM: dts: imx: Fix LVDS mapping for Ventana GW53xx/GW54xx Tim Harvey @ 2014-04-24 22:07 ` Tim Harvey 2014-04-29 6:01 ` Shawn Guo 2014-04-24 22:07 ` [PATCH 3/3] ARM: dts: imx: Fix LVDS mapping for Ventana GW52xx Tim Harvey 2 siblings, 1 reply; 9+ messages in thread From: Tim Harvey @ 2014-04-24 22:07 UTC (permalink / raw) To: linux-arm-kernel The GW54xx/GW53xx/GW52xx all support LVDS with a PWM controlled backlight. Signed-off-by: Tim Harvey <tharvey@gateworks.com> --- arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 20 ++++++++++++++++++++ arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 20 ++++++++++++++++++++ arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 20 ++++++++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi index 607888c..9c9259b 100644 --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi @@ -27,6 +27,14 @@ bootargs = "console=ttymxc1,115200"; }; + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm4 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + status = "okay"; + }; + leds { compatible = "gpio-leds"; @@ -399,6 +407,12 @@ >; }; + pinctrl_pwm4: pwm4grp { + fsl,pins = < + MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 @@ -451,6 +465,12 @@ status = "okay"; }; +&pwm4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm4>; + status = "okay"; +}; + &ssi1 { fsl,mode = "i2s-slave"; status = "okay"; diff --git a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi index ef7bd99..3e146d6 100644 --- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi @@ -30,6 +30,14 @@ bootargs = "console=ttymxc1,115200"; }; + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm4 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + status = "okay"; + }; + leds { compatible = "gpio-leds"; @@ -439,6 +447,12 @@ >; }; + pinctrl_pwm4: pwm4grp { + fsl,pins = < + MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 @@ -513,6 +527,12 @@ }; }; +&pwm4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm4>; + status = "okay"; +}; + &ssi1 { fsl,mode = "i2s-slave"; status = "okay"; diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi index 4ce8f68..d145f8c 100644 --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi @@ -30,6 +30,14 @@ bootargs = "console=ttymxc1,115200"; }; + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm4 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + status = "okay"; + }; + leds { compatible = "gpio-leds"; @@ -461,6 +469,12 @@ >; }; + pinctrl_pwm4: pwm4grp { + fsl,pins = < + MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 @@ -535,6 +549,12 @@ }; }; +&pwm4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm4>; + status = "okay"; +}; + &ssi1 { fsl,mode = "i2s-slave"; status = "okay"; -- 1.8.3.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/3] ARM: dts: imx: add LVDS backlight for Ventana 2014-04-24 22:07 ` [PATCH 2/3] ARM: dts: imx: add LVDS backlight for Ventana Tim Harvey @ 2014-04-29 6:01 ` Shawn Guo 2014-05-01 6:32 ` [PATCH 1/2] " Tim Harvey 0 siblings, 1 reply; 9+ messages in thread From: Shawn Guo @ 2014-04-29 6:01 UTC (permalink / raw) To: linux-arm-kernel On Thu, Apr 24, 2014 at 03:07:26PM -0700, Tim Harvey wrote: > The GW54xx/GW53xx/GW52xx all support LVDS with a PWM controlled backlight. > > Signed-off-by: Tim Harvey <tharvey@gateworks.com> > --- > arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 20 ++++++++++++++++++++ > arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 20 ++++++++++++++++++++ > arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 20 ++++++++++++++++++++ > 3 files changed, 60 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi > index 607888c..9c9259b 100644 > --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi > @@ -27,6 +27,14 @@ > bootargs = "console=ttymxc1,115200"; > }; > > + backlight { > + compatible = "pwm-backlight"; > + pwms = <&pwm4 0 5000000>; > + brightness-levels = <0 4 8 16 32 64 128 255>; > + default-brightness-level = <7>; > + status = "okay"; This might be copied from some existing dts file. But the "okay" status line is only needed for nodes that have a "disabled" status line in <soc>.dtsi. You can just drop the line from this backlight node. Shawn > + }; > + > leds { > compatible = "gpio-leds"; > > @@ -399,6 +407,12 @@ > >; > }; > > + pinctrl_pwm4: pwm4grp { > + fsl,pins = < > + MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 > + >; > + }; > + > pinctrl_uart1: uart1grp { > fsl,pins = < > MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 > @@ -451,6 +465,12 @@ > status = "okay"; > }; > > +&pwm4 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pwm4>; > + status = "okay"; > +}; > + > &ssi1 { > fsl,mode = "i2s-slave"; > status = "okay"; > diff --git a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi > index ef7bd99..3e146d6 100644 > --- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi > @@ -30,6 +30,14 @@ > bootargs = "console=ttymxc1,115200"; > }; > > + backlight { > + compatible = "pwm-backlight"; > + pwms = <&pwm4 0 5000000>; > + brightness-levels = <0 4 8 16 32 64 128 255>; > + default-brightness-level = <7>; > + status = "okay"; > + }; > + > leds { > compatible = "gpio-leds"; > > @@ -439,6 +447,12 @@ > >; > }; > > + pinctrl_pwm4: pwm4grp { > + fsl,pins = < > + MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 > + >; > + }; > + > pinctrl_uart1: uart1grp { > fsl,pins = < > MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 > @@ -513,6 +527,12 @@ > }; > }; > > +&pwm4 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pwm4>; > + status = "okay"; > +}; > + > &ssi1 { > fsl,mode = "i2s-slave"; > status = "okay"; > diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi > index 4ce8f68..d145f8c 100644 > --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi > @@ -30,6 +30,14 @@ > bootargs = "console=ttymxc1,115200"; > }; > > + backlight { > + compatible = "pwm-backlight"; > + pwms = <&pwm4 0 5000000>; > + brightness-levels = <0 4 8 16 32 64 128 255>; > + default-brightness-level = <7>; > + status = "okay"; > + }; > + > leds { > compatible = "gpio-leds"; > > @@ -461,6 +469,12 @@ > >; > }; > > + pinctrl_pwm4: pwm4grp { > + fsl,pins = < > + MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 > + >; > + }; > + > pinctrl_uart1: uart1grp { > fsl,pins = < > MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 > @@ -535,6 +549,12 @@ > }; > }; > > +&pwm4 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pwm4>; > + status = "okay"; > +}; > + > &ssi1 { > fsl,mode = "i2s-slave"; > status = "okay"; > -- > 1.8.3.2 > > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/2] ARM: dts: imx: add LVDS backlight for Ventana 2014-04-29 6:01 ` Shawn Guo @ 2014-05-01 6:32 ` Tim Harvey 2014-05-04 12:38 ` Shawn Guo 0 siblings, 1 reply; 9+ messages in thread From: Tim Harvey @ 2014-05-01 6:32 UTC (permalink / raw) To: linux-arm-kernel The GW54xx/GW53xx/GW52xx all support LVDS with a PWM controlled backlight. Signed-off-by: Tim Harvey <tharvey@gateworks.com> --- arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 19 +++++++++++++++++++ arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 19 +++++++++++++++++++ arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi index 1022197..62f533a 100644 --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi @@ -27,6 +27,13 @@ bootargs = "console=ttymxc1,115200"; }; + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm4 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + }; + leds { compatible = "gpio-leds"; @@ -399,6 +406,12 @@ >; }; + pinctrl_pwm4: pwm4grp { + fsl,pins = < + MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 @@ -448,6 +461,12 @@ status = "okay"; }; +&pwm4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm4>; + status = "okay"; +}; + &ssi1 { fsl,mode = "i2s-slave"; status = "okay"; diff --git a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi index ef7bd99..c2284c8 100644 --- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi @@ -30,6 +30,13 @@ bootargs = "console=ttymxc1,115200"; }; + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm4 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + }; + leds { compatible = "gpio-leds"; @@ -439,6 +446,12 @@ >; }; + pinctrl_pwm4: pwm4grp { + fsl,pins = < + MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 @@ -513,6 +526,12 @@ }; }; +&pwm4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm4>; + status = "okay"; +}; + &ssi1 { fsl,mode = "i2s-slave"; status = "okay"; diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi index 4ce8f68..9aa95c8 100644 --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi @@ -30,6 +30,13 @@ bootargs = "console=ttymxc1,115200"; }; + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm4 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + }; + leds { compatible = "gpio-leds"; @@ -461,6 +468,12 @@ >; }; + pinctrl_pwm4: pwm4grp { + fsl,pins = < + MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 @@ -535,6 +548,12 @@ }; }; +&pwm4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm4>; + status = "okay"; +}; + &ssi1 { fsl,mode = "i2s-slave"; status = "okay"; -- 1.8.3.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 1/2] ARM: dts: imx: add LVDS backlight for Ventana 2014-05-01 6:32 ` [PATCH 1/2] " Tim Harvey @ 2014-05-04 12:38 ` Shawn Guo 0 siblings, 0 replies; 9+ messages in thread From: Shawn Guo @ 2014-05-04 12:38 UTC (permalink / raw) To: linux-arm-kernel On Wed, Apr 30, 2014 at 11:32:30PM -0700, Tim Harvey wrote: > The GW54xx/GW53xx/GW52xx all support LVDS with a PWM controlled backlight. > > Signed-off-by: Tim Harvey <tharvey@gateworks.com> Applied both, thanks. ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 3/3] ARM: dts: imx: Fix LVDS mapping for Ventana GW52xx 2014-04-24 22:07 [PATCH 0/3] ARM: dts: imx: various fixes for LVDS on Ventana Tim Harvey 2014-04-24 22:07 ` [PATCH 1/3] ARM: dts: imx: Fix LVDS mapping for Ventana GW53xx/GW54xx Tim Harvey 2014-04-24 22:07 ` [PATCH 2/3] ARM: dts: imx: add LVDS backlight for Ventana Tim Harvey @ 2014-04-24 22:07 ` Tim Harvey 2014-04-29 5:55 ` Shawn Guo 2 siblings, 1 reply; 9+ messages in thread From: Tim Harvey @ 2014-04-24 22:07 UTC (permalink / raw) To: linux-arm-kernel The GW52xx supports LVDS on channel 0. Remove the obsolete crtcs node and add display timings for the HanStar HSD100PXN1 display. Signed-off-by: Tim Harvey <tharvey@gateworks.com> --- arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi index 9c9259b..735e8e3 100644 --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi @@ -455,8 +455,26 @@ &ldb { status = "okay"; + lvds-channel at 0 { - crtcs = <&ipu1 0>, <&ipu1 1>; + fsl,data-mapping = "spwg"; + 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>; + }; + }; }; }; -- 1.8.3.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/3] ARM: dts: imx: Fix LVDS mapping for Ventana GW52xx 2014-04-24 22:07 ` [PATCH 3/3] ARM: dts: imx: Fix LVDS mapping for Ventana GW52xx Tim Harvey @ 2014-04-29 5:55 ` Shawn Guo 2014-05-01 6:34 ` [PATCH 2/2] " Tim Harvey 0 siblings, 1 reply; 9+ messages in thread From: Shawn Guo @ 2014-04-29 5:55 UTC (permalink / raw) To: linux-arm-kernel On Thu, Apr 24, 2014 at 03:07:27PM -0700, Tim Harvey wrote: > The GW52xx supports LVDS on channel 0. Remove the obsolete crtcs node and > add display timings for the HanStar HSD100PXN1 display. The obsolete crtcs property has been removed by one patch in my queue. So please rebase the patch on my for-next branch. Shawn > > Signed-off-by: Tim Harvey <tharvey@gateworks.com> > --- > arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 20 +++++++++++++++++++- > 1 file changed, 19 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi > index 9c9259b..735e8e3 100644 > --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi > @@ -455,8 +455,26 @@ > > &ldb { > status = "okay"; > + > lvds-channel at 0 { > - crtcs = <&ipu1 0>, <&ipu1 1>; > + fsl,data-mapping = "spwg"; > + 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>; > + }; > + }; > }; > }; > > -- > 1.8.3.2 > > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 2/2] ARM: dts: imx: Fix LVDS mapping for Ventana GW52xx 2014-04-29 5:55 ` Shawn Guo @ 2014-05-01 6:34 ` Tim Harvey 0 siblings, 0 replies; 9+ messages in thread From: Tim Harvey @ 2014-05-01 6:34 UTC (permalink / raw) To: linux-arm-kernel The GW52xx supports LVDS on channel 0. Remove the obsolete crtcs node and add display timings for the HanStar HSD100PXN1 display. Signed-off-by: Tim Harvey <tharvey@gateworks.com> --- arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi index 62f533a..367af3e 100644 --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi @@ -454,6 +454,27 @@ &ldb { status = "okay"; + + lvds-channel at 0 { + fsl,data-mapping = "spwg"; + 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>; + }; + }; + }; }; &pcie { -- 1.8.3.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-05-04 12:38 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-04-24 22:07 [PATCH 0/3] ARM: dts: imx: various fixes for LVDS on Ventana Tim Harvey 2014-04-24 22:07 ` [PATCH 1/3] ARM: dts: imx: Fix LVDS mapping for Ventana GW53xx/GW54xx Tim Harvey 2014-04-24 22:07 ` [PATCH 2/3] ARM: dts: imx: add LVDS backlight for Ventana Tim Harvey 2014-04-29 6:01 ` Shawn Guo 2014-05-01 6:32 ` [PATCH 1/2] " Tim Harvey 2014-05-04 12:38 ` Shawn Guo 2014-04-24 22:07 ` [PATCH 3/3] ARM: dts: imx: Fix LVDS mapping for Ventana GW52xx Tim Harvey 2014-04-29 5:55 ` Shawn Guo 2014-05-01 6:34 ` [PATCH 2/2] " Tim Harvey
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).