From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C6DCC433DF for ; Mon, 29 Jun 2020 08:04:14 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DBC9420768 for ; Mon, 29 Jun 2020 08:04:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DBC9420768 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 744CA8982E; Mon, 29 Jun 2020 08:04:13 +0000 (UTC) Received: from asavdk3.altibox.net (asavdk3.altibox.net [109.247.116.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id CC46E8982E for ; Mon, 29 Jun 2020 08:04:11 +0000 (UTC) Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 06C0320023; Mon, 29 Jun 2020 10:04:09 +0200 (CEST) Date: Mon, 29 Jun 2020 10:04:08 +0200 From: Sam Ravnborg To: Maksim Melnikov Subject: Re: [PATCH 1/2] drm/panel-simple: add support for NEC NL10276BC13-01C panel Message-ID: <20200629080408.GE227119@ravnborg.org> References: <842736c513b948ee00fdcbe30df3a5a6d0eed9f0.1589226066.git.approximatenumber@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <842736c513b948ee00fdcbe30df3a5a6d0eed9f0.1589226066.git.approximatenumber@gmail.com> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=f+hm+t6M c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=pGLkceISAAAA:8 a=e5mUnYsNAAAA:8 a=YbiriMRPJW8YwXwP4UUA:9 a=CjuIK1q_8ugA:10 a=Vxmtnl_E_bksehYqCbjh:22 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thierry Reding , dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon, May 11, 2020 at 11:29:24PM +0300, Maksim Melnikov wrote: > The NL10276BC13-01C is a 6.5" 1024x768 XGA TFT LCD panel with LVDS interface. It is used for industrial purposes in devices such as HMI. > > Signed-off-by: Maksim Melnikov > --- > drivers/gpu/drm/panel/panel-simple.c | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c > index 3ad828eae..7ded13157 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -2372,6 +2372,31 @@ static const struct panel_desc nec_nl4827hc19_05b = { > .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, > }; > > +static const struct display_timing nec_nl10276bc13_01c_timing = { > + .pixelclock = { 62600000, 68200000, 78100000 }, > + .hactive = { 1024, 1024, 1024 }, > + .hfront_porch = { 15, 64, 159 }, > + .hback_porch = { 5, 5, 5 }, > + .hsync_len = { 1, 1, 256 }, > + .vactive = { 768, 768, 768 }, > + .vfront_porch = { 3, 40, 99 }, > + .vback_porch = { 2, 2, 2 }, > + .vsync_len = { 1, 1, 128 }, > + .flags = DISPLAY_FLAGS_DE_HIGH, > +}; > + > +static const struct panel_desc nec_nl10276bc13_01c = { > + .timings = &nec_nl10276bc13_01c_timing, > + .num_timings = 1, > + .bpc = 8, > + .size = { > + .width = 132, > + .height = 99, > + }, > + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA, > + .connector_type = DRM_MODE_CONNECTOR_LVDS, Sorry for getting back so late. Please include .bus_flags too. We want the description to be complete. Sam > +}; > + > static const struct drm_display_mode netron_dy_e231732_mode = { > .clock = 66000, > .hdisplay = 1024, > @@ -3634,6 +3659,9 @@ static const struct of_device_id platform_of_match[] = { > }, { > .compatible = "nec,nl4827hc19-05b", > .data = &nec_nl4827hc19_05b, > + }, { > + .compatible = "nec,nl10276bc13_01c", > + .data = &nec_nl10276bc13_01c, > }, { > .compatible = "netron-dy,e231732", > .data = &netron_dy_e231732, > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel