Re: [PATCH 1/3] video: add support for getting video mode from device tree

From
Grant Likely <hidden>
Date
2010-02-28 14:47:32
Also in
linux-devicetree, linux-fbdev
On Sun, Feb 28, 2010 at 1:44 AM, Mitch Bradley [off-list ref] wrote:
Grant Likely Wrote:
quoted
On Sat, Feb 27, 2010 at 2:58 PM, Anatolij Gustschin [off-list ref] wrot=
e:
quoted
Also, since you're now in the realm of describing a video display,
which is separate from the display controller, you should consider
describing the display in a separate device tree node. =A0Maybe
something like this...

video {
=A0 =A0 =A0 =A0compatible =3D "fsl,mpc5121-diu";
=A0 =A0 =A0 =A0display {
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0compatible =3D "<vendor>,<model>";
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0edid =3D [edid-data];
=A0 =A0 =A0 =A0};
};

As it turns out, I'm doing exactly that - exporting verbatim EDID data as
the value of the "edid" property - for the display node on the Via versio=
n
of the OLPC machine. =A0The kernel driver uses it instead of trying to ob=
tain
the EDID data from the monitor, because the builtin OLPC display cannot
supply EDID data through the usual hardware interfaces.
Cool.  That sounds sane then.  How do you go about generating the EDID
data?  Is there a tool that can do that?  Or did you hand craft it?

Cheers,
g.
Thread (1 message) 1 message, 1 author, last reply 2010-02-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help