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=-5.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, 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 86DA3C43381 for ; Sat, 23 Feb 2019 22:03:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 40576206B6 for ; Sat, 23 Feb 2019 22:03:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727972AbfBWWDM (ORCPT ); Sat, 23 Feb 2019 17:03:12 -0500 Received: from asavdk4.altibox.net ([109.247.116.15]:45618 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbfBWWDM (ORCPT ); Sat, 23 Feb 2019 17:03:12 -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 9BD0780324; Sat, 23 Feb 2019 23:03:05 +0100 (CET) Date: Sat, 23 Feb 2019 23:03:04 +0100 From: Sam Ravnborg To: Guido =?iso-8859-1?Q?G=FCnther?= Cc: Thierry Reding , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 3/3] drm/panel: Add Rocktech jh057n00900 panel driver Message-ID: <20190223220304.GA20290@ravnborg.org> References: <79858664af8ee2f725e53d902ce46b447ac8fcfc.1550943220.git.agx@sigxcpu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <79858664af8ee2f725e53d902ce46b447ac8fcfc.1550943220.git.agx@sigxcpu.org> 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=8nJEP1OIZ-IA:10 a=ze386MxoAAAA:8 a=xEEDoL9k4If2GxLvOsYA:9 a=RFfHMmlgKMWWwgRc:21 a=QTv6ITxU-vvszYAb:21 a=wPNLvfGTeEIA:10 a=iBZjaW-pnkserzjvUTHh:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Guido. Thanks for this patch. See below for some review feedback. The driver includes the "allpixelson_set" debugfs feature. Is this a debug leftover, or is there a real need for this? If this is a debug feature that is no logner needed then no need to add it to the mainline driver. Sam On Sat, Feb 23, 2019 at 06:39:44PM +0100, Guido Günther wrote: > Support Rocktech jh057n00900 5.5" 720x1440 TFT LCD panel. It is a MIPI > DSI video mode panel. > > The panel seems to use a Sitronix ST7703 look alike (most of the > commands look similar to the ST7703's data sheet but use a different > number of parameters). The initial version of the DSI init sequence > (including sleeps) were provided by the vendor. Sleeps were reduced > considerably though to speed up initialization. > > Signed-off-by: Guido Günther > --- > +++ b/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c > @@ -0,0 +1,414 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Rockteck jh057n00900 5.5" MIPI-DSI panel driver > + * > + * Copyright (C) Purism SPC 2019 > + */ > +#include > +#include > +#include > +#include > +#include > +#include