From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris BREZILLON Subject: Re: [RFC PATCH 1/2] drm/panel: add support for simple-panel description definition using DT Date: Mon, 12 May 2014 15:02:31 +0200 Message-ID: <5370C667.6060106@free-electrons.com> References: <1399645002-18000-1-git-send-email-boris.brezillon@free-electrons.com> <1399645002-18000-2-git-send-email-boris.brezillon@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1399645002-18000-2-git-send-email-boris.brezillon@free-electrons.com> Sender: linux-doc-owner@vger.kernel.org To: Thierry Reding Cc: Randy Dunlap , David Airlie , Jean-Jacques Hiblot , Nicolas Ferre , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org On 09/05/2014 16:16, Boris BREZILLON wrote: > Currently, the only way to add new panel descriptions to the simple panel > driver is to add new entries in the platform_of_match table. > > Add support for panel description retrieval from the DT. > > Signed-off-by: Boris BREZILLON > --- > drivers/gpu/drm/panel/Kconfig | 1 + > drivers/gpu/drm/panel/panel-simple.c | 70 ++++++++++++++++++++++++++++++++++++ > 2 files changed, 71 insertions(+) > > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig > index 4ec874d..4fe3d48 100644 > --- a/drivers/gpu/drm/panel/Kconfig > +++ b/drivers/gpu/drm/panel/Kconfig > @@ -1,6 +1,7 @@ > config DRM_PANEL > bool > depends on DRM > + select VIDEOMODE_HELPERS > help > Panel registration and lookup framework. > > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c > index 309f29e..fcf648d 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -33,6 +33,10 @@ > #include > #include > > +#include