diff options
| author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-07-20 16:39:19 -0400 |
|---|---|---|
| committer | Shawn Guo <shawnguo@kernel.org> | 2018-08-27 03:05:47 -0400 |
| commit | 549644b8c3c125355a361def1e42f8319ac6ad6c (patch) | |
| tree | ac3fbd9d9134a53c6c8470e4532db720e6555fc6 | |
| parent | cde305e9ce28d96d7f63e4fb5298291e90a91f8f (diff) | |
ARM: dts: imx23-evk: Convert to the new display bindings
imx23-evk board has a Seiko 43WVF1G parallel display.
Instead of hardcoding the display timings in the device tree, use
the "sii,43wvf1g" compatible instead.
This aligns with the new mxsfb bindings scheme documented at:
Documentation/devicetree/bindings/display/mxsfb.txt
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
| -rw-r--r-- | arch/arm/boot/dts/imx23-evk.dts | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23-evk.dts index 494095d40327..ad2ae25b7b4d 100644 --- a/arch/arm/boot/dts/imx23-evk.dts +++ b/arch/arm/boot/dts/imx23-evk.dts | |||
| @@ -30,6 +30,26 @@ | |||
| 30 | enable-active-high; | 30 | enable-active-high; |
| 31 | }; | 31 | }; |
| 32 | 32 | ||
| 33 | reg_lcd_5v: regulator-lcd-5v { | ||
| 34 | compatible = "regulator-fixed"; | ||
| 35 | regulator-name = "lcd-5v"; | ||
| 36 | regulator-min-microvolt = <5000000>; | ||
| 37 | regulator-max-microvolt = <5000000>; | ||
| 38 | }; | ||
| 39 | |||
| 40 | panel { | ||
| 41 | compatible = "sii,43wvf1g"; | ||
| 42 | backlight = <&backlight_display>; | ||
| 43 | dvdd-supply = <®_lcd_3v3>; | ||
| 44 | avdd-supply = <®_lcd_5v>; | ||
| 45 | |||
| 46 | port { | ||
| 47 | panel_in: endpoint { | ||
| 48 | remote-endpoint = <&display_out>; | ||
| 49 | }; | ||
| 50 | }; | ||
| 51 | }; | ||
| 52 | |||
| 33 | apb@80000000 { | 53 | apb@80000000 { |
| 34 | apbh@80000000 { | 54 | apbh@80000000 { |
| 35 | gpmi-nand@8000c000 { | 55 | gpmi-nand@8000c000 { |
| @@ -69,31 +89,11 @@ | |||
| 69 | lcdif@80030000 { | 89 | lcdif@80030000 { |
| 70 | pinctrl-names = "default"; | 90 | pinctrl-names = "default"; |
| 71 | pinctrl-0 = <&lcdif_24bit_pins_a>; | 91 | pinctrl-0 = <&lcdif_24bit_pins_a>; |
| 72 | lcd-supply = <®_lcd_3v3>; | ||
| 73 | display = <&display0>; | ||
| 74 | status = "okay"; | 92 | status = "okay"; |
| 75 | 93 | ||
| 76 | display0: display0 { | 94 | port { |
| 77 | bits-per-pixel = <32>; | 95 | display_out: endpoint { |
| 78 | bus-width = <24>; | 96 | remote-endpoint = <&panel_in>; |
| 79 | |||
| 80 | display-timings { | ||
| 81 | native-mode = <&timing0>; | ||
| 82 | timing0: timing0 { | ||
| 83 | clock-frequency = <9200000>; | ||
| 84 | hactive = <480>; | ||
| 85 | vactive = <272>; | ||
| 86 | hback-porch = <15>; | ||
| 87 | hfront-porch = <8>; | ||
| 88 | vback-porch = <12>; | ||
| 89 | vfront-porch = <4>; | ||
| 90 | hsync-len = <1>; | ||
| 91 | vsync-len = <1>; | ||
| 92 | hsync-active = <0>; | ||
| 93 | vsync-active = <0>; | ||
| 94 | de-active = <1>; | ||
| 95 | pixelclk-active = <0>; | ||
| 96 | }; | ||
| 97 | }; | 97 | }; |
| 98 | }; | 98 | }; |
| 99 | }; | 99 | }; |
| @@ -135,7 +135,7 @@ | |||
| 135 | }; | 135 | }; |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | backlight { | 138 | backlight_display: backlight { |
| 139 | compatible = "pwm-backlight"; | 139 | compatible = "pwm-backlight"; |
| 140 | pwms = <&pwm 2 5000000>; | 140 | pwms = <&pwm 2 5000000>; |
| 141 | brightness-levels = <0 4 8 16 32 64 128 255>; | 141 | brightness-levels = <0 4 8 16 32 64 128 255>; |
