mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-07 15:15:29 +00:00
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>
This commit is contained in:
parent
cde305e9ce
commit
549644b8c3
1 changed files with 24 additions and 24 deletions
|
@ -30,6 +30,26 @@
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
reg_lcd_5v: regulator-lcd-5v {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "lcd-5v";
|
||||||
|
regulator-min-microvolt = <5000000>;
|
||||||
|
regulator-max-microvolt = <5000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
panel {
|
||||||
|
compatible = "sii,43wvf1g";
|
||||||
|
backlight = <&backlight_display>;
|
||||||
|
dvdd-supply = <®_lcd_3v3>;
|
||||||
|
avdd-supply = <®_lcd_5v>;
|
||||||
|
|
||||||
|
port {
|
||||||
|
panel_in: endpoint {
|
||||||
|
remote-endpoint = <&display_out>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
apb@80000000 {
|
apb@80000000 {
|
||||||
apbh@80000000 {
|
apbh@80000000 {
|
||||||
gpmi-nand@8000c000 {
|
gpmi-nand@8000c000 {
|
||||||
|
@ -69,31 +89,11 @@
|
||||||
lcdif@80030000 {
|
lcdif@80030000 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&lcdif_24bit_pins_a>;
|
pinctrl-0 = <&lcdif_24bit_pins_a>;
|
||||||
lcd-supply = <®_lcd_3v3>;
|
|
||||||
display = <&display0>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
display0: display0 {
|
port {
|
||||||
bits-per-pixel = <32>;
|
display_out: endpoint {
|
||||||
bus-width = <24>;
|
remote-endpoint = <&panel_in>;
|
||||||
|
|
||||||
display-timings {
|
|
||||||
native-mode = <&timing0>;
|
|
||||||
timing0: timing0 {
|
|
||||||
clock-frequency = <9200000>;
|
|
||||||
hactive = <480>;
|
|
||||||
vactive = <272>;
|
|
||||||
hback-porch = <15>;
|
|
||||||
hfront-porch = <8>;
|
|
||||||
vback-porch = <12>;
|
|
||||||
vfront-porch = <4>;
|
|
||||||
hsync-len = <1>;
|
|
||||||
vsync-len = <1>;
|
|
||||||
hsync-active = <0>;
|
|
||||||
vsync-active = <0>;
|
|
||||||
de-active = <1>;
|
|
||||||
pixelclk-active = <0>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -135,7 +135,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
backlight {
|
backlight_display: backlight {
|
||||||
compatible = "pwm-backlight";
|
compatible = "pwm-backlight";
|
||||||
pwms = <&pwm 2 5000000>;
|
pwms = <&pwm 2 5000000>;
|
||||||
brightness-levels = <0 4 8 16 32 64 128 255>;
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
||||||
|
|
Loading…
Add table
Reference in a new issue