Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp177360imj; Fri, 15 Feb 2019 21:02:23 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibl4X2qfDOx9GTsgHPeEsNSAF84kntXCY/LKa0uMQKvXjy5hH7s5bhXqrHDG81qFd0fiq5Q X-Received: by 2002:aa7:82d5:: with SMTP id f21mr13333699pfn.50.1550293343663; Fri, 15 Feb 2019 21:02:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550293343; cv=none; d=google.com; s=arc-20160816; b=PXALOlu7Bx4Bg0d7gRcuFwtHPo4Wq46GFf6R9YyVgLRh+GWpjHUTMGcX29g1o/cw/u fPNq3tPzIaPL6XMBWpgMvWww549FidWNlwEsDtTm7p3Zu2Jf8PfYEiJoTgilJXAL7aEk 4BxdinI8WjWF907AmcYKV8mf/DYeCKYHzNfHKlh5phydQEB6z8Yj370yIw5B6wt9ziPa MT3/JISErGNCTmQKwkBGmh5hT346tSkKeqZUAnLF0zLLh6AAQtruofhOqfEgMhmDVmf7 Hnf2POiWhNyKEPD65moUktDx/KNYonG982CDZAPfx28rLvXOedJ19e/xkJuel9pIVHtb vLmA== 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=j/vD+RDgGNE+KqKWCciElmhHf1YFf8Xe4q0NQ60SAqI=; b=cOS11gOYp14VZ4cGwgvLJh8Y9JdkApDaodjNwEKJPb/NlO757XsEI0OU9smx/8Wd7e 18FX894QGLEzqb8+qKvrh4RnWIMGi0HIG+/AaCjx1W+cL5dxTuwdfT4tPHkwPGaTHogt +WdIvm6TXrbfBo7HPoAh05FdkExRTQQHBc38opo0LB3sNkXjk+Upmi3Z8s+itaKGWFIa Vc1DN1S/ZDWhhP3hiI3uBWVZGGL2VRTL3VJCgojPbJKuVHG69U5x2nVNMMmDWRyNZjC9 uqo1eAGFfONi0l3gVhHFECCoVp/ohB+uhY+FINVrCcvq2XQHxxzQQfbz0ghH3GAixHI7 DMlw== 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 b13si7568112plm.63.2019.02.15.21.02.07; Fri, 15 Feb 2019 21:02:23 -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 S2388071AbfBOSII (ORCPT + 99 others); Fri, 15 Feb 2019 13:08:08 -0500 Received: from asavdk4.altibox.net ([109.247.116.15]:45857 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387991AbfBOSIH (ORCPT ); Fri, 15 Feb 2019 13:08:07 -0500 Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id BA73A8036E; Fri, 15 Feb 2019 19:08:00 +0100 (CET) Date: Fri, 15 Feb 2019 19:07:59 +0100 From: Sam Ravnborg To: Peter Ujfalusi Cc: thierry.reding@gmail.com, airlied@linux.ie, daniel@ffwll.ch, devicetree@vger.kernel.org, tomi.valkeinen@ti.com, robh+dt@kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 4/4] drm/panel: Add OSD101T2587-53TS driver Message-ID: <20190215180759.GA26944@ravnborg.org> References: <20190215140315.18046-1-peter.ujfalusi@ti.com> <20190215140315.18046-5-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190215140315.18046-5-peter.ujfalusi@ti.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=UpRNyd4B c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=kj9zAlcOel0A:10 a=sozttTNsAAAA:8 a=e5mUnYsNAAAA:8 a=WBYF2_TpmoQI-sFB3eIA:9 a=CjuIK1q_8ugA:10 a=aeg5Gbbo78KNqacMgKqU:22 a=Vxmtnl_E_bksehYqCbjh:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter. Good with more panel drivers. Some comments in the following, please do not blindly follow them but check that this is OK. Sam On Fri, Feb 15, 2019 at 04:03:15PM +0200, Peter Ujfalusi via dri-devel wrote: > The panel is similar to OSD101T2045-53TS (which is handled by panel-simple) > with one big difference: osd101t2587-53ts needs MIPI_DSI_TURN_ON_PERIPHERAL > message to be sent from the host to be operational and thus can not be > handled by panel-simple. > > Signed-off-by: Peter Ujfalusi > --- > +++ b/drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c > @@ -0,0 +1,284 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com > + * Author: Peter Ujfalusi > + */ > + > +#include > +#include > +#include > +#include > + > +#include Please do not use drmP.h in new drivers - we try to get rid of this file. > +#include > +#include > +#include > + > +#include