From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Wed, 03 Oct 2012 16:54:13 -0600 Subject: [U-Boot] [PATCH v4 04/16] tegra: fdt: Add LCD definitions for Tegra In-Reply-To: <1348793077-10126-5-git-send-email-sjg@chromium.org> References: <1348793077-10126-1-git-send-email-sjg@chromium.org> <1348793077-10126-5-git-send-email-sjg@chromium.org> Message-ID: <506CC215.8060707@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/27/2012 06:44 PM, Simon Glass wrote: > Add LCD definitions and also a proposed binding for LCD displays. > > The PWM is as per what will likely be committed to linux-next soon. > > The displaymode binding comes from a proposal here: > > http://lists.freedesktop.org/archives/dri-devel/2012-July/024875.html > > The panel binding is new, and fills a need to specify the panel > timings and other tegra-specific information. Should a binding appear > that allows the pwm to handle this automatically, we can revisit > this. > diff --git a/doc/device-tree-bindings/video/displaymode.txt b/doc/device-tree-bindings/video/displaymode.txt > +Example: > + > + display at 0 { That should really be "mode" or "timing", since it's describing a display mode/timing not a display. I believe the latest messages in that thread indicate a similar change will be made to the proposed Linux binding. > diff --git a/doc/device-tree-bindings/video/tegra20-dc.txt b/doc/device-tree-bindings/video/tegra20-dc.txt > +Required properties (rgb) : > + - nvidia,panel : phandle of LCD panel information > + > + > +The panel node describes the panel itself. This has the properties listed in > +displaymode.txt as well as: It should really be a sub-node; like: panel { ... all the panel-specific stuff from this binding ... modes { default { ... all the stuff from displaymode.txt ... }; }; }; Since the panel itself and the (potentially, list of) modes it can support are separate things.