Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1248986ybz; Wed, 22 Apr 2020 16:48:53 -0700 (PDT) X-Google-Smtp-Source: APiQypJd/21DtfFsD4MnxUgqanDpRGJVBiCYM/eIVcL6Lq/PUOX2e1U0GsziZiNdkTf2FOGjQGvI X-Received: by 2002:a50:c0ce:: with SMTP id r14mr799624edf.298.1587599333647; Wed, 22 Apr 2020 16:48:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587599333; cv=none; d=google.com; s=arc-20160816; b=pOR9M8fGyIuLamlPTQeEhsMMtGcw2v7LXuFZJh2Yvtlu4PXA44c90qfdtV3yyGqKev RYemCR7gzDn9T4PF0m1OVFOlLpSPFIxPrAn5zl6ZQ/nWaInQM82TfKUyaNwe7Tr3xXK/ 6/HKg2A0nwr6AO0PhogKyck+vKrFwvqIs8Un0QfEN++sACymmqKL/tRy1sMQbEvFQ/rp eNrz9/FxayzseTxNyfGU/bvXDQy1UbzQV+YZOpuS6tAgEF+zO0XO4MNcWchu85qpVpzA sM2eJy8Ek8pTKZoNA7r70Vc+kGxLRzfp/UTsaWDCS9FlqZ8teskgSeVwGkzgd060NEi9 Rx3w== 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=kE+RTOmuicWCyuBHpquux5rvs005SBoQocPkQeKVmKc=; b=PHE57NtibPveQyrJLzwrnNDvZ5OPaPqy5wbf+0/qlVfvCYb0ZuT1HZ2TR/X3yBlFz4 hnq61xDJuVnGjTEQoBE+pu36eqbu6/9P5wmf0HR9F9WY1pFGgfH48gwoTQ7ofj4Dn3lu KFp90LHwS5Niqhrc8UD5bZQZpxJz5Tydg2/Idj6iADMFXj+zM/8kznxEQhSmUSC4ujSI TfnZxfr4tOciBHzoD5miDQ1pf+ZCzVtPj0NxgFn2pDymx3LNNxB+G0vFMP7UJ3ly5wuq l+lpohp6fXoxnGrYKJuJkSk29eEpEerCoICoI+hwEWh/SLKWOb5BCG0RyEiQUq70dMOO 6x8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r22si332625edy.486.2020.04.22.16.48.28; Wed, 22 Apr 2020 16:48:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726054AbgDVXpX (ORCPT + 99 others); Wed, 22 Apr 2020 19:45:23 -0400 Received: from smtprelay0139.hostedemail.com ([216.40.44.139]:42166 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725846AbgDVXpX (ORCPT ); Wed, 22 Apr 2020 19:45:23 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id 4BDCF182CED2A; Wed, 22 Apr 2020 23:45:22 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:305:355:379:599:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1535:1543:1593:1594:1605:1711:1730:1747:1777:1792:2393:2553:2559:2562:2827:2828:2911:3138:3139:3140:3141:3142:3622:3653:3865:3866:3867:3868:3870:3871:3872:3873:3874:4250:4321:4425:5007:6119:6299:6691:7875:7901:7903:7974:8531:8660:10004:10400:10848:11026:11232:11658:11914:12043:12295:12296:12297:12346:12555:12740:12895:13019:13138:13148:13230:13231:13439:13894:14180:14181:14659:14721:21060:21080:21324:21325:21433:21611:21627:21740:21819:21939:21990:30022:30029:30054:30069:30070:30075:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:17,LUA_SUMMARY:none X-HE-Tag: slope31_118e74ec0bf03 X-Filterd-Recvd-Size: 5035 Received: from XPS-9350.home (unknown [47.151.136.130]) (Authenticated sender: joe@perches.com) by omf06.hostedemail.com (Postfix) with ESMTPA; Wed, 22 Apr 2020 23:45:20 +0000 (UTC) Message-ID: <9a32f150f85f851d04afd148b2a9a5cf203f7ce1.camel@perches.com> Subject: Re: Rule for bridge yaml dt binding maintainers? From: Joe Perches To: Rob Herring , Sam Ravnborg Cc: Adrian Ratiu , devicetree@vger.kernel.org, dri-devel , Laurent Pinchart , Neil Armstrong , "linux-kernel@vger.kernel.org" , Andrzej Hajda , Collabora Kernel ML Date: Wed, 22 Apr 2020 16:43:03 -0700 In-Reply-To: References: <87d082jtfn.fsf@collabora.com> <20200420175909.GA5810@ravnborg.org> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.34.1-2 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, 2020-04-22 at 15:02 -0500, Rob Herring wrote: > On Mon, Apr 20, 2020 at 12:59 PM Sam Ravnborg wrote: > > Hi Adrian > > > > On Mon, Apr 20, 2020 at 02:19:24PM +0300, Adrian Ratiu wrote: > > > Hello, > > > > > > I got confused while doing the txt -> yaml conversion at [1] and it's still > > > not clear to me who should be added in the "maintainers" field. Clearly not > > > the maintainers as returned by get_maintainer.pl. :) > > > > > > Rob mentioned that "owners" should be manintainers but I also have trouble > > > picking the persons who should be owners / yaml maintainers. > > > > > > Looking at the completed bridge conversions in the latest linux-next, I > > > couldn't find a rule and the majority of bindings are still txt: > > > > > > $ find ./devicetree/bindings/display/bridge/ -name *txt | wc -l > > > 23 > > > $ find ./devicetree/bindings/display/bridge/ -name *yaml | wc -l > > > 5 > > > > > > So my questions are: > > > 1. Is there a general rule for assigning yaml file owners/maintainers? > > > > > > 2. Is this vagueness specific to the bridge dt bindings only? > > > > > > 3. Who should step up and maintain these bindings? Original/new authors, > > > SoC, bridge, DRM maintainers etc.? > > > > > > It would be useful to have a rule to make it easier to do these conversions. > > > We (Collabora) are considering doing the conversion work. > > > > For the panel conversion I did recently it was simple: > > 1) If listed in MAINTAINERS - use this info > > 2) Otherwise use the person(s) that authored the original .txt file. > > Using git log --follow foo.txt > > 3) In a few cases I may have decided otherwise, but the above covers the > > majority. > > Yes. > > > I would also be great if you or someone else could: > > - teach get_maintainers about .yaml file listed maintainers > > It already does to some extent. IIRC, there's a mode to extract email > addresses from files. --file-emails > I was hoping that the MAINTAINERS file split happens sometime and we > can just generate a MAINTAINERS file for bindings. I don't see the value really. > > - teach checkpatch that it is OK to convert .txt to .yaml I suppose that get_maintainer _could_ enable --file-emails for .yaml files. something like this (more comments below too) --- scripts/get_maintainer.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 6cbcd1..9d947a0 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -527,7 +527,7 @@ foreach my $file (@ARGV) { $file =~ s/^\Q${cur_path}\E//; #strip any absolute path $file =~ s/^\Q${lk_path}\E//; #or the path to the lk tree push(@files, $file); - if ($file ne "MAINTAINERS" && -f $file && ($keywords || $file_emails)) { + if ($file ne "MAINTAINERS" && -f $file && ($keywords || $file_emails || $file =~ /\.yaml$/)) { open(my $f, '<', $file) or die "$P: Can't open $file: $!\n"; my $text = do { local($/) ; <$f> }; @@ -539,7 +539,7 @@ foreach my $file (@ARGV) { } } } - if ($file_emails) { + if ($file_emails || $file =~ /\.yaml$/) { my @poss_addr = $text =~ m$[A-Za-z?-?\"\' \,\.\+-]*\s*[\,]*\s*[\(\<\{]{0,1}[A-Za-z0-9_\.\+-]+\@[A-Za-z0-9\.-]+\.[A-Za-z0-9]+[\)\>\}]{0,1}$g; push(@file_emails, clean_file_emails(@poss_addr)); } --- > Yeah, I should fix my bug. > > > - teach checkpatch about some simple yaml validation (maybe) > > I don't see checkpatch being able to check much of what comes up in > review. Maybe indentation. Likely better done with another external tool. Could be added to checkpatch as an external call like spdxcheck.py