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=-9.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT 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 40BCEC282C7 for ; Sat, 26 Jan 2019 15:42:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 09E7021903 for ; Sat, 26 Jan 2019 15:42:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SPJG5qdZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 09E7021903 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qCREWHCr3nkp11BWAuRlYIWqJ2QMsSGASBJ9esHnVPE=; b=SPJG5qdZr2q0Si pamd0DXES5hJN9MC1zgIJHi5EdiAIBSowWPebI8KOXR6YRUQCCuvMLqrV0NHr9jSroU7u+WQnvrRj jj4zC7ViFUA9LiSKUAt+Axa2pfJSchr6oyvv8E7DT2CVF/9K6OllltERzGterST2mtSCDMKc6lmZD 5Yy79fNcd3AYL3L65t/KMMC9gc3S1KQF5aJ2Qc1ft2e4lVJBXpboq9ZEcVjUo3GX6UwZ5ERjKsdRH rUgK1T4yztkRDbdCcktacSjdKXl4e99CGotM8pzCR6zySgSrqYJ4ZR371PS6m6IbsX2SYSxOc00ST E0SlEPFVtA2AdcSBTC+g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gnQ5q-0001fW-U1; Sat, 26 Jan 2019 15:42:02 +0000 Received: from asavdk3.altibox.net ([109.247.116.14]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gnQ5l-0000Jm-JE for linux-arm-kernel@lists.infradead.org; Sat, 26 Jan 2019 15:42:00 +0000 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 asavdk3.altibox.net (Postfix) with ESMTPS id 2AD1C20025; Sat, 26 Jan 2019 16:39:47 +0100 (CET) Date: Sat, 26 Jan 2019 16:39:46 +0100 From: Sam Ravnborg To: Maxime Ripard Subject: Re: [PATCH 4/4] drm/panel: Add Rondo RB070D30 panel Message-ID: <20190126153946.GB17756@ravnborg.org> References: <15b81a58eddd5d3fbfa418293cf1c817ef46423a.1548236066.git-series.maxime.ripard@bootlin.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <15b81a58eddd5d3fbfa418293cf1c817ef46423a.1548236066.git-series.maxime.ripard@bootlin.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=dqr19Wo4 c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=kj9zAlcOel0A:10 a=skhwakB6AAAA:8 a=P-IC7800AAAA:8 a=e5mUnYsNAAAA:8 a=miUDieqKsZ6B3VLQ9JQA:9 a=CjuIK1q_8ugA:10 a=ygsXHyuYt4xGk45z1DgA:22 a=d3PnA9EDa4IxuAV0gXij:22 a=Vxmtnl_E_bksehYqCbjh:22 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190126_074157_995479_78D7C513 X-CRM114-Status: GOOD ( 30.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Konstantin Sudakov , bbrezillon@kernel.org, Maarten Lankhorst , dri-devel@lists.freedesktop.org, Paul Kocialkowski , Chen-Yu Tsai , Sean Paul , Thomas Petazzoni , Jagan Teki , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Maxime / Konstantin. Nice welstructured and small driver. Please see a few comments below Some of the comments in the following apply to a lot of the existing panel drivers as well. But lets see if we can get new drivers to be even better. Sam On Wed, Jan 23, 2019 at 04:54:24PM +0100, Maxime Ripard wrote: > From: Konstantin Sudakov > > The Rondo RB070D30 panel is a MIPI-DSI panel based on a Fitipower EK79007 > controller and a 1024x600 panel. > > Signed-off-by: Konstantin Sudakov > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/panel/Kconfig | 9 +- > drivers/gpu/drm/panel/Makefile | 1 +- > drivers/gpu/drm/panel/panel-rondo-rb070d30.c | 258 ++++++++++++++++++++- > 3 files changed, 268 insertions(+) > create mode 100644 drivers/gpu/drm/panel/panel-rondo-rb070d30.c > > diff --git a/drivers/gpu/drm/panel/panel-rondo-rb070d30.c b/drivers/gpu/drm/panel/panel-rondo-rb070d30.c > new file mode 100644 > index 000000000000..4f8e63f367b1 > --- /dev/null > +++ b/drivers/gpu/drm/panel/panel-rondo-rb070d30.c > @@ -0,0 +1,258 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Copyright (C) 2018, Bridge Systems BV > + * Copyright (C) 2018, Bootlin > + * Copyright (C) 2017, Free Electrons > + * > + * This file based on panel-ilitek-ili9881c.c > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > + > +#include > +#include > +#include Please do not use drmP.h in new drivers. We are trying to get rid of it. > + > +#include