Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3633113ybi; Fri, 5 Jul 2019 10:51:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQza1uda1uwpTkvzbMlZsyyiMOgbF6Rzag2cwcHjbRl934f0n5X9ADsBehlfCRaBudz83x X-Received: by 2002:a17:90a:ae12:: with SMTP id t18mr7196838pjq.32.1562349067849; Fri, 05 Jul 2019 10:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562349067; cv=none; d=google.com; s=arc-20160816; b=D5OhUcZrGTCWCf7yyQcVBN0mCohdnoOFH/FLJEyyE3CNWZF+u2oVxYjzfo4rvsxwvM SJglyPWYNiDbIiQhgZ7XDQGiuaLqJ+IGeB50TH5Ty0wIckLkcRPJ1BAFxevwpJyf16WL KBifyDkitCkQ1SSCgL2S2vUN6otMCriCrpNj2Z7vvgBb8ttA3Y9hAXJapNlYN6Gc68Xa kSOLheF+LACSj8Sj8fPkwMOgXa694oENpUnkRiqx6y0ZP11C7lSMrtINU/Kgl+k/6hVs N9tozE2ys7AgUXAPK4Fb747wZT/tMx853iyWrjp65+uHmW0/jt6EzQUmo79aEHhj4Tfh sP9g== 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=QXi2BR2LybXP98UtQ2yxSPmP/xsDrEQNx4RWhQ3LQH8=; b=bg1Qr6zTJ/tVVX3WEakc9SwaP8oYCsOlOEjKW4ztMLVNxeC6S09c4E6gecXe5qqB92 PmVAH0n1iqZfRUMfp03S5k9zggleBeocLwjJFTlxlPZSCL8GMzPuJXnYORQYoDsP8j7n PCT6Uyzoq1s3c2/ylynQ4wzGdGE8zHokgPLJEHXsLSGFUlGVftb60aAoQOc3BRHOB7cS 8NDRyIpkpXEn+ELIK6fgwn86jpdOAEG8XYAdctCVRFD0DodFCz3j70GAyv6TVZoqWtXT C9evpaJCuFUuMxjlPOH9riud4wuMfYEX1EYT216aNnY4s8vm1Cluh1Ab+i+a3RMw5MLf gnUg== 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 v31si8765625pjb.22.2019.07.05.10.50.52; Fri, 05 Jul 2019 10:51:07 -0700 (PDT) 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 S1728071AbfGERVM (ORCPT + 99 others); Fri, 5 Jul 2019 13:21:12 -0400 Received: from asavdk4.altibox.net ([109.247.116.15]:41740 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725813AbfGERVL (ORCPT ); Fri, 5 Jul 2019 13:21:11 -0400 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 5CCDD803B4; Fri, 5 Jul 2019 19:21:06 +0200 (CEST) Date: Fri, 5 Jul 2019 19:20:58 +0200 From: Sam Ravnborg To: Jeffrey Hugo Cc: thierry.reding@gmail.com, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, mark.rutland@arm.com, bjorn.andersson@linaro.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] drm/panel: simple: Add support for Sharp LD-D5116Z01B panel Message-ID: <20190705172058.GA2788@ravnborg.org> References: <20190705165450.329-1-jeffrey.l.hugo@gmail.com> <20190705165755.515-1-jeffrey.l.hugo@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190705165755.515-1-jeffrey.l.hugo@gmail.com> 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=pGLkceISAAAA:8 a=OJLUmJNqMcVkCySmTlIA:9 a=CjuIK1q_8ugA:10 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jeffrey. Patch looks good, but there is a few fields that are not initialized. Did you forget them, or are they not needed? On Fri, Jul 05, 2019 at 09:57:55AM -0700, Jeffrey Hugo wrote: > The Sharp LD-D5116Z01B is a 12.3" eDP panel with a 1920X1280 resolution. > > Signed-off-by: Jeffrey Hugo > --- > drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c > index 5a93c4edf1e4..e6f578667324 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -2354,6 +2354,29 @@ static const struct panel_desc samsung_ltn140at29_301 = { > }, > }; > > +static const struct drm_display_mode sharp_ld_d5116z01b_mode = { > + .clock = 168480, > + .hdisplay = 1920, > + .hsync_start = 1920 + 48, > + .hsync_end = 1920 + 48 + 32, > + .htotal = 1920 + 48 + 32 + 80, > + .vdisplay = 1280, > + .vsync_start = 1280 + 3, > + .vsync_end = 1280 + 3 + 10, > + .vtotal = 1280 + 3 + 10 + 57, > + .vrefresh = 60, > +}; No .flags? Is it not needed for an eDP panel? > + > +static const struct panel_desc sharp_ld_d5116z01b = { > + .modes = &sharp_ld_d5116z01b_mode, > + .num_modes = 1, > + .bpc = 8, > + .size = { > + .width = 260, > + .height = 120, > + }, > +}; No .bus_format? No .bus_flags? Sam