Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2372845ybl; Thu, 9 Jan 2020 11:35:16 -0800 (PST) X-Google-Smtp-Source: APXvYqySRKR2M/j3s5UyvLt7GpL8loFyXYXLv+BhTxuLRz3pOu6OaZ0SYrkRUEOicbv+zBFel3kY X-Received: by 2002:a9d:7592:: with SMTP id s18mr10244634otk.130.1578598516513; Thu, 09 Jan 2020 11:35:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578598516; cv=none; d=google.com; s=arc-20160816; b=wL0rn05TxPUuwJmYfB7Zu6DFaL3RJo+8rndX8aOyhTXmNQRwq7ZqM9oRONHZDDOjfx OZDacrEcWVrlvH+43KPZ95zwHbsQR0IU61JBRIkEl+DGwYD/3OdNaVHiRn1lza5AwlQA vpwJeYpcouLdjAEY7byx0mqaFMUur5i1o8jqvjN9Clyrvg8k7VjS/7A4AO5DCfLFEv99 ocHERQpMp+srlvquWTrAtrReZGS18ErELQ4b29yt7SQZy5CGGQ8lnikExFdtDJMY/+Oz JNUV0CKGZOTcfFPj14q6eA68fKsd4NI55uJLqwEL52OY0nyZVNXZr3liDjW5eUVbIcgL QJNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=xj5xfsOENVnUtGtRSYBcTrf8DZlGhiOguzNR0LVvNo4=; b=hlEe9Nieqplz41+IwCWW/3RQapHTaLDDAHISQc0vgxQp/aM+UpFJhP7nXGRN41o9b/ c9lFSc5ZP6nzaoTrMC00G4cuZAPTSYJHQ4xOozCjVIgQ2KK/K0bnh0gUdeukTk6nBYwa Nk70vqhg0ZVtnuFIep/6aARduaIvbIDEnqMI9ctcTuu2KyruWrgTe2sknJTu4TNLlnHs H9BWv9Owrr01aqV4giY4KvlgRQtgJOdusmILky5k1zfO2zP61ysllrKzL3eUXwaStcW3 e+ViP4cGFy0tgof8wIrH4BVBsqoS+aIginm9x3qP9pti41iaa6nOhMxrNzoVacn/EzDH OY/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x186si3909795oig.209.2020.01.09.11.35.03; Thu, 09 Jan 2020 11:35:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732825AbgAIQAb (ORCPT + 99 others); Thu, 9 Jan 2020 11:00:31 -0500 Received: from asavdk4.altibox.net ([109.247.116.15]:60802 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731268AbgAIQAa (ORCPT ); Thu, 9 Jan 2020 11:00:30 -0500 Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id 2FF0280645; Thu, 9 Jan 2020 17:00:27 +0100 (CET) Date: Thu, 9 Jan 2020 17:00:25 +0100 From: Sam Ravnborg To: Tobias Schramm Cc: Thierry Reding , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND 1/1] drm/panel: Add support for BOE NV140FHM-N49 panel to panel-simple Message-ID: <20200109160025.GA17071@ravnborg.org> References: <20200109112952.2620-1-t.schramm@manjaro.org> <20200109112952.2620-2-t.schramm@manjaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200109112952.2620-2-t.schramm@manjaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=VcLZwmh9 c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=rveBo4_EAAAA:8 a=q4xGkG3yCbrZFByMRZAA:9 a=CjuIK1q_8ugA:10 a=HW1wDYKO1DgdHvS0FfdB:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tobias. On Thu, Jan 09, 2020 at 12:29:52PM +0100, Tobias Schramm wrote: > This patch adds support for the BOE NV140FHM-N49 panel to the panel-simple > driver. The panel is used by the pine64 Pinebook Pro. > > Signed-off-by: Tobias Schramm Applied to drm-misc-next togher with the bindings patch. Thanks for the quick r-b. Sam > --- > drivers/gpu/drm/panel/panel-simple.c | 35 ++++++++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c > index 5d487686d25c..6320df9765f3 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -1036,6 +1036,38 @@ static const struct panel_desc boe_nv101wxmn51 = { > }, > }; > > +static const struct drm_display_mode boe_nv140fhmn49_modes[] = { > + { > + .clock = 148500, > + .hdisplay = 1920, > + .hsync_start = 1920 + 48, > + .hsync_end = 1920 + 48 + 32, > + .htotal = 2200, > + .vdisplay = 1080, > + .vsync_start = 1080 + 3, > + .vsync_end = 1080 + 3 + 5, > + .vtotal = 1125, > + .vrefresh = 60, > + }, > +}; > + > +static const struct panel_desc boe_nv140fhmn49 = { > + .modes = boe_nv140fhmn49_modes, > + .num_modes = ARRAY_SIZE(boe_nv140fhmn49_modes), > + .bpc = 6, > + .size = { > + .width = 309, > + .height = 174, > + }, > + .delay = { > + .prepare = 210, > + .enable = 50, > + .unprepare = 160, > + }, > + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, > + .connector_type = DRM_MODE_CONNECTOR_eDP, > +}; > + > static const struct drm_display_mode cdtech_s043wq26h_ct7_mode = { > .clock = 9000, > .hdisplay = 480, > @@ -3161,6 +3193,9 @@ static const struct of_device_id platform_of_match[] = { > }, { > .compatible = "boe,nv101wxmn51", > .data = &boe_nv101wxmn51, > + }, { > + .compatible = "boe,nv140fhmn49", > + .data = &boe_nv140fhmn49, > }, { > .compatible = "cdtech,s043wq26h-ct7", > .data = &cdtech_s043wq26h_ct7, > -- > 2.24.1