Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp2897264imc; Sat, 23 Feb 2019 14:04:12 -0800 (PST) X-Google-Smtp-Source: AHgI3IbMQMV23GxjJYnpv/PVI913AZqwh7vi3uhYhg/lOyPxZ6FyKR5lKp2L28HXnT36FW79CJ3G X-Received: by 2002:a17:902:7c94:: with SMTP id y20mr6053457pll.185.1550959452327; Sat, 23 Feb 2019 14:04:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550959452; cv=none; d=google.com; s=arc-20160816; b=OsxhAwtbTc7sLSlU/ici7IWZrSD6zg4feSZszl5Mm0JzGLgqg89tod64gYaJO7v8KZ wgEMq1zXJkH0dQc/G+gJAL9qKoiTGr0XqquYSYrU45PV9LjXZ90EPzJxhNuOK8dLWJnv xkKuTB/inz9Rj5OnwSFAW/d61ePuNf/WNvco00TGzxZLDN9X9PH0ENiE9JVJ8Bhf62V6 WeEj9bLtIIhWSQSkDW5agtPPQZqXg+A0r2hTYSE77UWiy1tpVvpOBHFgs+q99O7UFBZx 0Jz6lQhqvdEIRMpO8V39O492tCbq74BP35e6HsZkqGDJseon7ZlH2yPJBplhWKQL4XPj chRQ== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Z0KIZjd9Y8OfffDed/7jCcjU2jZUmsIMU2uUiYH3Wf8=; b=uMQWPPhCMw5MOLNRxhthzo0+URSGpjARqLS2B99iXL67rQKok3spUQB71X7aOWWaEf ko4u3s9ce4QcR1YCI7WnN7s3MNXxO5Smw9dGnuN63cEYVsqRB4S83k8DwPPvlOTQazZg mbRn6LXl79GmyPH6mQ/Uhv+CuCS7tWhF+9Dx7HsdEZiuiqXJRtB3liLY8y8JI+VvHezw ixEpBVReXAvwuSb5ojt+49BbmlC8mVb47E3tDd35SwjBC3pacCDu1C7jvlIaRmsGcxr7 BVbOwtCRsjMU7QE0rFc2pCU+fuXah26O1+2+zoUyC6MCwtfrx+TwT9i55Ow3c8TSMAi3 R7YQ== 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 m3si4738791pld.425.2019.02.23.14.03.44; Sat, 23 Feb 2019 14:04:12 -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 S1727927AbfBWWDM (ORCPT + 99 others); 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