From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-gw0-f42.google.com (mail-gw0-f42.google.com [74.125.83.42]) by ozlabs.org (Postfix) with ESMTP id 034E6B7D5D for ; Mon, 1 Mar 2010 01:47:54 +1100 (EST) Received: by gwj20 with SMTP id 20so825540gwj.15 for ; Sun, 28 Feb 2010 06:47:53 -0800 (PST) MIME-Version: 1.0 Sender: glikely@secretlab.ca In-Reply-To: <4B8A2CD7.7070305@firmworks.com> References: <1267307902-31939-2-git-send-email-agust@denx.de> <4B8A2CD7.7070305@firmworks.com> From: Grant Likely Date: Sun, 28 Feb 2010 07:47:32 -0700 Message-ID: Subject: Re: [PATCH 1/3] video: add support for getting video mode from device tree To: Mitch Bradley Content-Type: text/plain; charset=ISO-8859-1 Cc: linux-fbdev@vger.kernel.org, wd@denx.de, dzu@denx.de, jrigby@gmail.com, devicetree-discuss , linuxppc-dev@ozlabs.org, Anatolij Gustschin , yorksun@freescale.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, Feb 28, 2010 at 1:44 AM, Mitch Bradley wrote: > Grant Likely Wrote: >> On Sat, Feb 27, 2010 at 2:58 PM, Anatolij Gustschin wrot= e: >> 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 ","; >> =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.