Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2286827pxp; Mon, 21 Mar 2022 15:56:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsFHaHpyMgcge3A2cI+R0ajVNwuSgRcRBrqKBHU503CZhMrsKfPo2V2AFxEZSUBKqSYwCK X-Received: by 2002:a17:902:d2d1:b0:154:45d2:a05d with SMTP id n17-20020a170902d2d100b0015445d2a05dmr10381207plc.74.1647903413142; Mon, 21 Mar 2022 15:56:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647903413; cv=none; d=google.com; s=arc-20160816; b=Qe872vmxeSYJMCi9UZwQ2pCyGQusIzzyEtPgrSXOE0NuHtoHrx346FDQkzaE/1OPvu hVRVw72bzoyt0hDS73VSuzPfcGMD4aCtwI00TlqMRdxvhKrC9b5M6lHulyhLpvOwFqti hWRbE9g/MCsvxhaHBcfVSV4VQJYtzg5ungeLaI82SUmvKxvPhPstne7zlUvXwjqV1F1V 9mQnpl6iXgBmBWWc7R9NipgfxsalNVxzRhK1YS79F/jL8XdvL0IBdxe0W96w2w6TcRIA MfDy6cfTiaL7mY3lbZtq3ywlgowtxZX+QOXSvvnzk1WsjCm+yHlkaQpCPHbiP2uJRxaI dwfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=FfhQaYMzXHHSEGGIWo7DaQsqWgI5UtQEcLnVEYK6tkk=; b=L538y4ZT5cSfd+h/ejigB7jKmDSFf2ulwVA8G1tSl29T52pbPu91Tg9be6181gPkhp KNdt9SBdzUMl2LzdSkYqqT9JtrCiNwI5VseFFSDDqS6dICBNvVkk6YRafXZgZVW688qA kqe/l3fb9tFtffKDYgOlERDFkfToXruavlSNGqaspvaEPYbCws0kp/hvOwd5X7QvtRsd bQkzuno9+gyAw2nis1fh9jk+tysGSJrYBVxeSnVSCiPqXqohRKpmgBdInLl0DYobfxme ZjTghm0sk3VdPic1sCUIZ0Rw8txn6UHS/2N+91T0bcXNW3a7PZbnY0h1ZjxVmtnwLq2l 8x8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 5-20020a630e45000000b003816043ee99si14505120pgo.142.2022.03.21.15.56.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:56:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 528B542ECAE; Mon, 21 Mar 2022 15:09:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346813AbiCULmU (ORCPT + 99 others); Mon, 21 Mar 2022 07:42:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237622AbiCULmT (ORCPT ); Mon, 21 Mar 2022 07:42:19 -0400 Received: from mx1.smtp.larsendata.com (mx1.smtp.larsendata.com [91.221.196.215]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 408EAD1CC0 for ; Mon, 21 Mar 2022 04:40:52 -0700 (PDT) Received: from mail01.mxhotel.dk (mail01.mxhotel.dk [91.221.196.236]) by mx1.smtp.larsendata.com (Halon) with ESMTPS id c2afb48c-a90b-11ec-8da1-0050568c148b; Mon, 21 Mar 2022 11:40:51 +0000 (UTC) Received: from ravnborg.org (80-162-45-141-cable.dk.customer.tdc.net [80.162.45.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: sam@ravnborg.org) by mail01.mxhotel.dk (Postfix) with ESMTPSA id 75829194B42; Mon, 21 Mar 2022 12:40:52 +0100 (CET) Date: Mon, 21 Mar 2022 12:40:46 +0100 X-Report-Abuse-To: abuse@mxhotel.dk From: Sam Ravnborg To: Christophe Branchereau Cc: Paul Cercueil , David Airlie , Daniel Vetter , Thierry Reding , Rob Herring , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: Re: [PATCH v4 2/4] drm/panel: Add panel driver for NewVision NV3052C based LCDs Message-ID: References: <20220311170240.173846-1-cbranchereau@gmail.com> <20220311170240.173846-3-cbranchereau@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christophe, > > > + { 0x0d, 0x58 }, > > > + { 0x0e, 0x48 }, > > > + { 0x0f, 0x38 }, > > > + { 0x10, 0x2b }, > > > + > > > + { 0xff, 0x30 }, > > > + { 0xff, 0x52 }, > > > + { 0xff, 0x00 }, > > > + { 0x36, 0x0a }, > > > +}; > > There are some random (?) empty lines. > > If they have any significance then a short comment would be nice. > > If not, then drop the empty lines. > > > > The empty lines are not random no, to access a different page in the > init, one must write i.e. { 0xff, 0x30 }, { 0xff, 0x52 }, { 0xff, > 0x02 }, to access page 2, so they add a little bit of readability. Then I suggest to just say what page is is like: /* Page 1 */ { 0xff, 0x30 }, ... Etc. then it is obvious this is page boundaries. Sam