Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp368254yba; Wed, 3 Apr 2019 10:13:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwsxzGY7L0NHFBWbxCKtKZI6zxrcjksNtUKC5zBAkw72GWVgSeQX/5htuH07BCyVSLWlDg4 X-Received: by 2002:a17:902:9a83:: with SMTP id w3mr1095960plp.241.1554311600191; Wed, 03 Apr 2019 10:13:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554311600; cv=none; d=google.com; s=arc-20160816; b=hg3Qfc6xv2+YwGmeLpyz6MTDeVnXjZ/dmL7HsgEjjBBC1Mbc4Z4BHaA3JZggG4MgBI seHbdQDZPdRKQ5ZhTnqIBBPuj6WN4F38XWu+YClBnsDQG/jg0dQYMqhbkacyGssEKwzF HNYkS9dLK43yXIkdRq7aR+x9djMWQ2eybSsjR4ET6NClp1BQ9KOs1nAH3fCuVNlNUYWJ HCkN7Px0XTOdIMos2I8aBE9aTFprJYw3t5hz34f+3nSiP4WVkjJ7I6fnmzpfnq1/WORi tl9ZsnT6ZuFDqaM5zQGep6bM5dkFDc+qqXxFMz+16bQ1MSXdmnql6jAPxV6/iWbnZWwT 9ylA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=qbc4GeFl1bpDwDf8OEnISei1aON9zZjRdWvo1vha204=; b=xBIUPcpBcOk55ezDZAOfUKt24pUZSJaYjTKIKbLHQrimkstcUPsLFJsHLp87/9cScR QDztN/EgW7VB/tzL195vYjuiz1uo2lRavGbdBTt/xW7Fdl2J+whDuLSDP+4H0yHM1LhC zihNQux0sDTCIBoo43jAGAijX3UxrU8RbxNoB96PRoxPSh+ChBEf5MozKxpVwEXWpSSW i7Qlbtyxf0ALWsxdCQLZLJmCT7PUhgIkKQJICPp4bpZXMDpnejL1+5atLVFe4x9PinF7 ElBvWm/6RdICCq2jafi2P16jluEEAt2CWaYdffGrCEU6WTf+GgFp+peCVEDERSJBx4qi XFqg== 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 k131si14811617pga.267.2019.04.03.10.13.05; Wed, 03 Apr 2019 10:13:20 -0700 (PDT) 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 S1726672AbfDCRLG (ORCPT + 99 others); Wed, 3 Apr 2019 13:11:06 -0400 Received: from smtprelay0171.hostedemail.com ([216.40.44.171]:46299 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726097AbfDCRLG (ORCPT ); Wed, 3 Apr 2019 13:11:06 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id E7542181D3377; Wed, 3 Apr 2019 17:11:04 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::::::::::::::,RULES_HIT:41:355:379:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2194:2199:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3874:4250:4321:5007:6742:7903:9010:10004:10400:10848:11026:11232:11658:11914:12438:12740:12895:13069:13311:13357:13439:13894:14096:14097:14659:21080:21451:21627:30054:30083:30090:30091,0,RBL:47.151.153.53:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:28,LUA_SUMMARY:none X-HE-Tag: soda09_432e6ea23995f X-Filterd-Recvd-Size: 2565 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf08.hostedemail.com (Postfix) with ESMTPA; Wed, 3 Apr 2019 17:11:01 +0000 (UTC) Message-ID: <1ed5eb3af4df6b2dd1544c7b696e034ed5c94f06.camel@perches.com> Subject: Re: [PATCH v5 0/3] drm/panel: Support Rocktech jh057n00900 DSI panel From: Joe Perches To: Thierry Reding , Guido =?ISO-8859-1?Q?G=FCnther?= Cc: David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Kevin Hilman , Manivannan Sadhasivam , Shawn Guo , Jagan Teki , Martin Blumenstingl , Johan Hovold , "David S. Miller" , Mauro Carvalho Chehab , Greg Kroah-Hartman , Nicolas Ferre , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg Date: Wed, 03 Apr 2019 10:11:00 -0700 In-Reply-To: <20190403161735.GN5238@ulmo> References: <20190403161735.GN5238@ulmo> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.1-1build1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-04-03 at 18:17 +0200, Thierry Reding wrote: > On Mon, Apr 01, 2019 at 12:35:32PM +0200, Guido G?nther wrote: > > v4 fixes up the DT binding example and uses a wider cc list since I > > failed to extend that when touching more files. [] > Applied, thanks. > > checkpatch does complain about the dsi_generic_write_seq() macro > definition, because it uses flow control statements, but there are > already similar macros in other drivers, so I let this slide. We may > want to eventually come up with something better and then replace these > macros for the other drivers as well. Dunno about the other drivers, but the mechanism isn't particularly nice as it separates the init identifier from the data being written. It might be better to use something like a struct for each command and a for loop for each block of commands. Also the 0xBF value used in one of the init sequence writes does not have an identifier #define in the 'Manufacturer specific Commands send via DSI' block which is odd.