From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966243AbcAZOqt (ORCPT ); Tue, 26 Jan 2016 09:46:49 -0500 Received: from mail-yk0-f196.google.com ([209.85.160.196]:34517 "EHLO mail-yk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751223AbcAZOqq (ORCPT ); Tue, 26 Jan 2016 09:46:46 -0500 From: Joshua Clayton To: Lucas Stach Cc: Thierry Reding , David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04 Date: Tue, 26 Jan 2016 06:46:41 -0800 Message-ID: <4514436.GBuynU4xBH@diplodocus> User-Agent: KMail/4.14.10 (Linux/4.3.3-gentoo; KDE/4.14.16; x86_64; ; ) In-Reply-To: <1452635736-7343-1-git-send-email-stillcompiling@gmail.com> References: <1452635736-7343-1-git-send-email-stillcompiling@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, January 12, 2016 01:55:35 PM Joshua Clayton wrote: > Add simple-panel support for the Sharp LQ101K1LY04i, which is > a 10 inch WXGA (1280x800) lvds panel. > > Signed-off-by: Joshua Clayton > --- > drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c > index f97b73e..e01eacb 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -1073,6 +1073,30 @@ static const struct panel_desc samsung_ltn140at29_301 = { > }, > }; > > +static const struct display_timing sharp_lq101k1ly04_timing = { > + .pixelclock = { 60000000, 65000000, 80000000 }, > + .hactive = { 1280, 1280, 1280 }, > + .hfront_porch = { 20, 20, 20 }, > + .hback_porch = { 20, 20, 20 }, > + .hsync_len = { 10, 10, 10 }, > + .vactive = { 800, 800, 800 }, > + .vfront_porch = { 4, 4, 4 }, > + .vback_porch = { 4, 4, 4 }, > + .vsync_len = { 4, 4, 4 }, > + .flags = DISPLAY_FLAGS_PIXDATA_POSEDGE, > +}; > + > +static const struct panel_desc sharp_lq101k1ly04 = { > + .timings = &sharp_lq101k1ly04_timing, > + .num_timings = 1, > + .bpc = 8, > + .size = { > + .width = 217, > + .height = 136, > + }, > + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA, > +}; > + > static const struct drm_display_mode shelly_sca07010_bfn_lnn_mode = { > .clock = 33300, > .hdisplay = 800, > @@ -1188,6 +1212,9 @@ static const struct of_device_id platform_of_match[] = { > .compatible = "samsung,ltn140at29-301", > .data = &samsung_ltn140at29_301, > }, { > + .compatible = "sharp,lq101k1ly04", > + .data = &sharp_lq101k1ly04, > + }, { > .compatible = "shelly,sca07010-bfn-lnn", > .data = &shelly_sca07010_bfn_lnn, > }, { Ping? This panel is needed for a system I am working to get upstreamed. I can confirm that the timings are in use several months and well tested.