Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1075272ybz; Wed, 22 Apr 2020 13:04:42 -0700 (PDT) X-Google-Smtp-Source: APiQypLDyW5ompVSOpXXcRKRs3U9L9P4K8KhXfsxuxVOPUziA7370MxYnQ9A58JqYs3iOGUTFP8U X-Received: by 2002:aa7:de0b:: with SMTP id h11mr251572edv.133.1587585881910; Wed, 22 Apr 2020 13:04:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587585881; cv=none; d=google.com; s=arc-20160816; b=yYg9vjoheqwP0dMTZgC2JWu3mXhKdbAzJ/CcmFDAnmL8pWNLb9qk58r3vJoBpQ0Lem umMWKnoDg46nHev9i9aNfZU3Ms3bZN7duTPF9Se0icO3RZHnOrX7Ezs7RmiKBgQOZRYn 0xk1cYq65DlBD6stC9poICIC3c+ha4KdZPDMUepH12V7DgakTMotwFrIWGqF9piCF7Zq emiBQuZMaDJXR0CViw31IHR/WoDIutXNuH06Qte9SQ715LqxrE99uQGgUMkQ949x7iuH uyptA8feDAgknZ/TeYqMIQ6uzJvuK3Sktu/uO9huX7N5LTSqIe5nS7+74cbAwN3wURbd kv2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=69mFJF2aVaxV/8jw6SZr36xuv9x0ZHtuHatLEEJKSNo=; b=k42Ri8lMGE8T4c34KPzeZd32tfVGbTmRclDyekBbqWCTWt6cAVjn23uNa1Ubf+WxY8 oEzvArgrwg8aVuCZ6xYyVjLGo7PtJ4h0L8JQd8SNxJg/IRMpIYGFQ/rh44VJsgMRADWy 46fgyDlKpf0ed3WWyQTpm8218iq5hctz5TviDoEHFKtu7m55yF2BjEv7zRpWlkn464l9 FuHs2M17JWrzBEcEJT+FHs+jFhUg9R2tIfqfZvTDI+c8gYvaUIxL9HoBYe0kNvuN9PVI P6DJzeTuoUz/L0gXsQKFVHfFwy6ho4lqmMw0rNVHy7Z/wnLqH5et4sMd99wp6w5aOX/V oDYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Unghrin/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si84659edq.470.2020.04.22.13.04.05; Wed, 22 Apr 2020 13:04:41 -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; dkim=pass header.i=@kernel.org header.s=default header.b="Unghrin/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726002AbgDVUC4 (ORCPT + 99 others); Wed, 22 Apr 2020 16:02:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:57336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725779AbgDVUC4 (ORCPT ); Wed, 22 Apr 2020 16:02:56 -0400 Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6B4252075A; Wed, 22 Apr 2020 20:02:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587585775; bh=vezgGE0FULlzWHW/sVKFB+SlsPkANQPPADxxqiakO3s=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Unghrin/L/i+H9af2BbSk1N70pX8seQPK9PJ0vkG6gJcuO6HE4qI4R39XQUmJISHL /SRaILbHxISbOfXhwj6Kg2hP+DTvduzPcJxcYHWmrSGc6wMaH+jjxILiINHxrlTSMz 0H947HdAi75l3OcMojxM8TDyleDIVpkNaLyfRJc8= Received: by mail-qv1-f52.google.com with SMTP id q2so1615208qvd.1; Wed, 22 Apr 2020 13:02:55 -0700 (PDT) X-Gm-Message-State: AGi0PuYNO6wNLnDwUCrXSz6FymiVTpquJ+84Fz9Capt09gVTZqsAu+NJ 7SWsu0urS4UqmttIdUEIrSkaeUtV12FHUZ7uXA== X-Received: by 2002:a05:6214:a8a:: with SMTP id ev10mr709719qvb.20.1587585774524; Wed, 22 Apr 2020 13:02:54 -0700 (PDT) MIME-Version: 1.0 References: <87d082jtfn.fsf@collabora.com> <20200420175909.GA5810@ravnborg.org> In-Reply-To: <20200420175909.GA5810@ravnborg.org> From: Rob Herring Date: Wed, 22 Apr 2020 15:02:43 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Rule for bridge yaml dt binding maintainers? To: 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. I was hoping that the MAINTAINERS file split happens sometime and we can just generate a MAINTAINERS file for bindings. > - teach checkpatch that it is OK to convert .txt to .yaml 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. > I am looking forward to the day we have more .yaml files > than .txt files in Documentation/devicetree/binding/* 700 vs. 3000 currently. It's about 60-70 new bindings and ~100 conversions per cycle. At this point we're review limited I think and at the current rate, we should be done in 7 years. Yay! :( We need a faster way. Rob