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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB975C43217 for ; Mon, 21 Mar 2022 11:40:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346815AbiCULmV (ORCPT ); Mon, 21 Mar 2022 07:42:21 -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: 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