From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933515AbbLONn1 (ORCPT ); Tue, 15 Dec 2015 08:43:27 -0500 Received: from eusmtp01.atmel.com ([212.144.249.242]:35222 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932756AbbLONnZ (ORCPT ); Tue, 15 Dec 2015 08:43:25 -0500 Subject: Re: [PATCH v4 2/2] drm: panel: simple: add QiaoDian qd43003c0-40 To: Alexandre Belloni , Thierry Reding References: <1449093807-9281-1-git-send-email-alexandre.belloni@free-electrons.com> <1449093807-9281-2-git-send-email-alexandre.belloni@free-electrons.com> CC: Rob Herring , , Josh Wu From: Nicolas Ferre X-Enigmail-Draft-Status: N1110 Organization: atmel Message-ID: <56701913.4070307@atmel.com> Date: Tue, 15 Dec 2015 14:43:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1449093807-9281-2-git-send-email-alexandre.belloni@free-electrons.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.161.30.18] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 02/12/2015 23:03, Alexandre Belloni a écrit : > From: Josh Wu > > The QiaoDian Xianshi QD43003C0-40 is a 4"3 TFT LCD panel. > > Timings from the OTA5180A document, ver 0.9, section > 10.1.1: > http://www.orientdisplay.com/pdf/OTA5180A.pdf > > Signed-off-by: Josh Wu > Signed-off-by: Alexandre Belloni > Acked-by: Rob Herring If it can speed-up things: Acked-by: Nicolas Ferre Thierry, it seems that this patch keeps on sitting aside for quite some time, and Alexandre only rebased it lately so it can be easier to take (so this v4). Can we see this trivial patch move forward so that we can at least see it appearing in linux-next and use our screen with Mainline? Bye, > --- > Changes in v4: > - rebased on v4.4-rc1 > > .../display/panel/qiaodian,qd43003c0-40.txt | 7 ++++++ > drivers/gpu/drm/panel/panel-simple.c | 27 ++++++++++++++++++++++ > 2 files changed, 34 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/qiaodian,qd43003c0-40.txt > > diff --git a/Documentation/devicetree/bindings/display/panel/qiaodian,qd43003c0-40.txt b/Documentation/devicetree/bindings/display/panel/qiaodian,qd43003c0-40.txt > new file mode 100644 > index 000000000000..0fbdab89ac3d > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/qiaodian,qd43003c0-40.txt > @@ -0,0 +1,7 @@ > +QiaoDian XianShi Corporation 4"3 TFT LCD panel > + > +Required properties: > +- compatible: should be "qiaodian,qd43003c0-40" > + > +This binding is compatible with the simple-panel binding, which is specified > +in simple-panel.txt in this directory. > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c > index f97b73ec4713..c93ffa615005 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -1027,6 +1027,30 @@ static const struct panel_desc ortustech_com43h4m85ulc = { > .bus_format = MEDIA_BUS_FMT_RGB888_1X24, > }; > > +static const struct drm_display_mode qd43003c0_40_mode = { > + .clock = 9000, > + .hdisplay = 480, > + .hsync_start = 480 + 8, > + .hsync_end = 480 + 8 + 4, > + .htotal = 480 + 8 + 4 + 39, > + .vdisplay = 272, > + .vsync_start = 272 + 4, > + .vsync_end = 272 + 4 + 10, > + .vtotal = 272 + 4 + 10 + 2, > + .vrefresh = 60, > +}; > + > +static const struct panel_desc qd43003c0_40 = { > + .modes = &qd43003c0_40_mode, > + .num_modes = 1, > + .bpc = 8, > + .size = { > + .width = 95, > + .height = 53, > + }, > + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, > +}; > + > static const struct drm_display_mode samsung_ltn101nt05_mode = { > .clock = 54030, > .hdisplay = 1024, > @@ -1182,6 +1206,9 @@ static const struct of_device_id platform_of_match[] = { > .compatible = "ortustech,com43h4m85ulc", > .data = &ortustech_com43h4m85ulc, > }, { > + .compatible = "qiaodian,qd43003c0-40", > + .data = &qd43003c0_40, > + }, { > .compatible = "samsung,ltn101nt05", > .data = &samsung_ltn101nt05, > }, { > -- Nicolas Ferre