mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 07:36:44 +07:00
7ab0a48420
Now that a display timing binding is available, convert our almost identical binding to use the standard binding. This patch converts the vt8500 and wm8505 framebuffer drivers and associated dts/dtsi files to use the standard binding as defined in bindings/video/display-timing.txt. There are two side-effects of making this conversion: 1) The fb node should now be in the board file, rather than the soc file as the display-timing node is a child of the fb node. 2) We still require a bits per pixel property to initialize the framebuffer for the different lcd panels. Rather than including this as part of the display timing, it is moved into the framebuffer node. I have also taken the opportunity to alphabetise the includes of each driver to avoid double-ups. Signed-off-by: Tony Prisk <linux@prisktech.co.nz> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
33 lines
600 B
Plaintext
33 lines
600 B
Plaintext
/*
|
|
* wm8505-ref.dts - Device tree file for Wondermedia WM8505 reference netbook
|
|
*
|
|
* Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
|
|
*
|
|
* Licensed under GPLv2 or later
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/include/ "wm8505.dtsi"
|
|
|
|
/ {
|
|
model = "Wondermedia WM8505 Netbook";
|
|
};
|
|
|
|
&fb {
|
|
bits-per-pixel = <32>;
|
|
display-timings {
|
|
native-mode = <&timing0>;
|
|
timing0: 800x480 {
|
|
clock-frequency = <0>; /* unused but required */
|
|
hactive = <800>;
|
|
vactive = <480>;
|
|
hfront-porch = <40>;
|
|
hback-porch = <88>;
|
|
hsync-len = <0>;
|
|
vback-porch = <32>;
|
|
vfront-porch = <11>;
|
|
vsync-len = <1>;
|
|
};
|
|
};
|
|
};
|