Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3469426yba; Sat, 11 May 2019 11:20:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1oN5DZCP9SBwmTXm0OEda2Kp5lsEi92/V3U7IM+jp0OCd9/57yb08+X3Rbi/IpNRaI5z8 X-Received: by 2002:a17:902:aa85:: with SMTP id d5mr20910963plr.245.1557598826918; Sat, 11 May 2019 11:20:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557598826; cv=none; d=google.com; s=arc-20160816; b=dFF3TgMdLExz5tDrBvZTGtrrDQNi2biSeOdNvensE6TpJiv6QRqoprksWGpuiFXp1W OFH7mU3RSBYyCnEwU9XI80eTAod7217LIGz16eJjaKlhcAOY/+kQBdZPVVBQhbCkZH/7 R8WwHQ3IRnmJtrgG2P/Gh52fM92i3eu3+KfnJaEl1ELYZXx75uL797+RmhVm3N5roFKa 0SVflGrC/yDRu3n5dvtOh5XFunjJZYfyk1fPw9ORH13MmdGC5Cf+ZV9XJAXRSK0B17lq Qj3Dn/xHtLHIeo74bmJXSnzgmcdy48TrKJycYakMTRDo6NL1FcbIK4uokHJ9SfZrv0BT POKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=7pQj8I7kKyjMT6uCoIIGjyT3lb8CKl3YwYSg/7Z1YvM=; b=HjDyDbAwg3RhG6M6vTVkVmOfPTtvhohsdSW64/TlubG03PjiNsZcam7UyShhfnDSdl uP+YC5HSZFC/SgjruJlAxqdRw6IcmKY4zl8OUXjw6GPytL3kGK45BUsr2UtAW+A8CaAD Pcd3MjIOHVVLELs8MrZMtknqDi970dGc1/iBNswoJ3XBspAidALm3n27c17IWTQw0xGL H4fNAStPMo/POXUBPfWqlFUjAnHYGwYAJf2oyZ9hhnDggb8Z9kPfJ4rtKfYrUX7rzNzP M48CMHwiRcQfVv5tFE4IjWuDiEIOXSSVakLb+wB3IOVjz95kremO1xT0Y3T05toe5nEB 2RXQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=iki.fi Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o6si12917816pgh.163.2019.05.11.11.20.10; Sat, 11 May 2019 11:20:26 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=iki.fi Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726248AbfEKSR4 (ORCPT + 99 others); Sat, 11 May 2019 14:17:56 -0400 Received: from emh04.mail.saunalahti.fi ([62.142.5.110]:38738 "EHLO emh04.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725911AbfEKSR4 (ORCPT ); Sat, 11 May 2019 14:17:56 -0400 Received: from t60.musicnaut.iki.fi (85-76-18-95-nat.elisa-mobile.fi [85.76.18.95]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id 0C90D300F5; Sat, 11 May 2019 21:17:53 +0300 (EEST) Date: Sat, 11 May 2019 21:17:53 +0300 From: Aaro Koskinen To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: Convert vendor prefixes to json-schema Message-ID: <20190511181753.GA2444@t60.musicnaut.iki.fi> References: <20190510194018.28206-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190510194018.28206-1-robh@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 10, 2019 at 02:40:18PM -0500, Rob Herring wrote: > Convert the vendor prefix registry to a schema. This will enable checking > that new vendor prefixes are added (in addition to the less than perfect > checkpatch.pl check) and will also check against adding other prefixes > which are not vendors. > > Converted vendor-prefixes.txt using the following sed script: > > sed -e 's/\([a-zA-Z0-9\-]*\)[[:space:]]*\([a-zA-Z0-9].*\)/ "^\1,\.\*\":\n description: \2/' > > Signed-off-by: Rob Herring [...] > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt > deleted file mode 100644 > index e9034a6c003a..000000000000 > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt > +++ /dev/null > @@ -1,476 +0,0 @@ > -Device tree binding vendor prefix registry. Keep list in alphabetical order. [...] > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml > new file mode 100644 > index 000000000000..be037fb2cada > --- /dev/null > +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml > @@ -0,0 +1,975 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) Is there a license change as well? A.