Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3365176imm; Mon, 8 Oct 2018 02:47:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV60QgXRsoUiajl2JcNuhU5IXftUzzPge1lCe/V7ZOJexmuyXlc6mhoJv7ikpqhBlbdw6JVXn X-Received: by 2002:a65:588e:: with SMTP id d14-v6mr20255190pgu.117.1538992030182; Mon, 08 Oct 2018 02:47:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538992030; cv=none; d=google.com; s=arc-20160816; b=UX6iq8h7EwAZz/AFj4DgRiU3aFdPa/hzUBdYdpLmlDXINxeCDjg+Z8slI+O3+ljCep PAyQiYhgXsyOmZAUY3rLIpRRgxaIOTJRxFiiiTawUcL0PWw+LHZrtM/bm7Dx8boL1Fx0 XmWddSNQ1uzFkE9oQu+nXDHvm8lFKxRp4QBta6KpSa2n/MbdfL9FyKZ8aqFRF9Cwkyog RP73lfSddnsz3qVgeLSlD0qYG/m/TdBAnwR2DUw2uFtrwBQEdfxbDjXhGTsu9vbeLUWE 2SQxhtEnehJUhhSE0Eo5YsKum+jOp/7jDQJzVl0F8sVymQtgwOueJarxGKzULN/wJg4F ShCA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=rC0v71wb3K2nbgkWZiuOZkhXp0MZue7Bv9RvacKOtm4=; b=TPXdrz1iPGURvYpO3gI9TTotP/728nsu4ohG1mJTfe/CFz4ols5BOmk5QOONGpkm4O fmrItpCkURYeQS3Crqrv0BZmfiEvjg6V0CYAjeNLjMLkvslE/qqBJ7Oaaw2/idoBQBy1 ydOzB3TqWleYjy23t5T3tr7YM4ZyLpoXQcE8ldJhc3FO78rnxM3odT5OTBiRYEZTsFTd NjG9nHzI7HIQW3HyA1LyU9O6e1GLOmuVBt0L+9DgufMgc1B304H+nadynu6sgb3YShld 8O9zXqsi9NAGB4jWd8dVvlj8TAPhEckl0uoOgXyiQWNygdRT4SUvaYM8oW7oOUT1mPPS 5gOA== 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 z191-v6si15867014pgd.451.2018.10.08.02.46.54; Mon, 08 Oct 2018 02:47:10 -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 S1727122AbeJHQ4Q (ORCPT + 99 others); Mon, 8 Oct 2018 12:56:16 -0400 Received: from gloria.sntech.de ([185.11.138.130]:32912 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726354AbeJHQ4P (ORCPT ); Mon, 8 Oct 2018 12:56:15 -0400 Received: from wd0081.dip.tu-dresden.de ([141.76.108.81] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1g9S6K-0001gw-I2; Mon, 08 Oct 2018 11:45:20 +0200 From: Heiko Stuebner To: Rob Herring Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Grant Likely , Kumar Gala , Frank Rowand , Mark Rutland , Linus Walleij , Olof Johansson , Arnd Bergmann , Mark Brown , Tom Rini , Pantelis Antoniou , Geert Uytterhoeven , Jonathan Cameron , Bjorn Andersson , linux-rockchip@lists.infradead.org Subject: Re: [PATCH 28/36] dt-bindings: arm: Convert Rockchip board/soc bindings to json-schema Date: Mon, 08 Oct 2018 11:45:19 +0200 Message-ID: <1857752.ZLvpeyYpZr@phil> In-Reply-To: <20181005165848.3474-29-robh@kernel.org> References: <20181005165848.3474-1-robh@kernel.org> <20181005165848.3474-29-robh@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, either I'm misunderstanding that, or something did go a bit wrong during the conversion, as pointed out below: Am Freitag, 5. Oktober 2018, 18:58:40 CEST schrieb Rob Herring: > Convert Rockchip SoC bindings to DT schema format using json-schema. > > Cc: Mark Rutland > Cc: Heiko Stuebner > Cc: devicetree@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-rockchip@lists.infradead.org > Signed-off-by: Rob Herring > --- > .../devicetree/bindings/arm/rockchip.txt | 220 ---------------- > .../devicetree/bindings/arm/rockchip.yaml | 242 ++++++++++++++++++ > 2 files changed, 242 insertions(+), 220 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/arm/rockchip.txt > create mode 100644 Documentation/devicetree/bindings/arm/rockchip.yaml > > +properties: > + $nodename: > + const: '/' > + compatible: > + oneOf: > + - items: > + - enum: > + - amarula,vyasa-rk3288 > + - asus,rk3288-tinker > + - radxa,rock2-square > + - chipspark,popmetal-rk3288 > + - netxeon,r89 > + - firefly,firefly-rk3288 > + - firefly,firefly-rk3288-beta > + - firefly,firefly-rk3288-reload > + - mqmaker,miqi > + - rockchip,rk3288-fennec > + - const: rockchip,rk3288 These are very much distinct boards, so shouldn't they also get individual entries including their existing description like the phytec or google boards below? Similarly why is it an enum for those, while the Google boards get a const for each compatible string? Most non-google boards below also lost their description and where lumped together into combined entries. Was that intentional? Thanks Heiko > + > + - description: Phytec phyCORE-RK3288 Rapid Development Kit > + items: > + - const: phytec,rk3288-pcm-947 > + - const: phytec,rk3288-phycore-som > + - const: rockchip,rk3288 > + > + - description: Google Mickey (Asus Chromebit CS10) > + items: > + - const: google,veyron-mickey-rev8 > + - const: google,veyron-mickey-rev7 > + - const: google,veyron-mickey-rev6 > + - const: google,veyron-mickey-rev5 > + - const: google,veyron-mickey-rev4 > + - const: google,veyron-mickey-rev3 > + - const: google,veyron-mickey-rev2 > + - const: google,veyron-mickey-rev1 > + - const: google,veyron-mickey-rev0 > + - const: google,veyron-mickey > + - const: google,veyron > + - const: rockchip,rk3288 > + > + - description: Google Minnie (Asus Chromebook Flip C100P) > + items: > + - const: google,veyron-minnie-rev4 > + - const: google,veyron-minnie-rev3 > + - const: google,veyron-minnie-rev2 > + - const: google,veyron-minnie-rev1 > + - const: google,veyron-minnie-rev0 > + - const: google,veyron-minnie > + - const: google,veyron > + - const: rockchip,rk3288 > + > + - description: Google Pinky (dev-board) > + items: > + - const: google,veyron-pinky-rev2 > + - const: google,veyron-pinky > + - const: google,veyron > + - const: rockchip,rk3288 > + > + - description: Google Speedy (Asus C201 Chromebook) > + items: > + - const: google,veyron-speedy-rev9 > + - const: google,veyron-speedy-rev8 > + - const: google,veyron-speedy-rev7 > + - const: google,veyron-speedy-rev6 > + - const: google,veyron-speedy-rev5 > + - const: google,veyron-speedy-rev4 > + - const: google,veyron-speedy-rev3 > + - const: google,veyron-speedy-rev2 > + - const: google,veyron-speedy > + - const: google,veyron > + - const: rockchip,rk3288 > + > + - description: Google Jaq (Haier Chromebook 11 and more) > + items: > + - const: google,veyron-jaq-rev5 > + - const: google,veyron-jaq-rev4 > + - const: google,veyron-jaq-rev3 > + - const: google,veyron-jaq-rev2 > + - const: google,veyron-jaq-rev1 > + - const: google,veyron-jaq > + - const: google,veyron > + - const: rockchip,rk3288 > + > + - description: Google Jerry (Hisense Chromebook C11 and more) > + items: > + - const: google,veyron-jerry-rev7 > + - const: google,veyron-jerry-rev6 > + - const: google,veyron-jerry-rev5 > + - const: google,veyron-jerry-rev4 > + - const: google,veyron-jerry-rev3 > + - const: google,veyron-jerry > + - const: google,veyron > + - const: rockchip,rk3288 > + > + - description: Google Brain (dev-board) > + items: > + - const: google,veyron-brain-rev0 > + - const: google,veyron-brain > + - const: google,veyron > + - const: rockchip,rk3288 > + > + - items: > + - enum: > + - rockchip,kylin-rk3036 > + - const: rockchip,rk3036 > + > + - items: > + - enum: > + - haoyu,marsboard-rk3066 > + - mundoreader,bq-curie2 > + - chipspark,rayeager-px2 > + - rikomagic,mk80 > + - const: rockchip,rk3066a > + > + - items: > + - enum: > + - radxa,rock > + - const: rockchip,rk3188 > + > + - items: > + - const: rockchip,px3-evb > + - const: rockchip,px3 > + - const: rockchip,rk3188 > + > + - items: > + - enum: > + - firefly,roc-rk3328-cc > + - pine64,rock64 > + - rockchip,rk3328-evb > + - const: rockchip,rk3328 > + > + - items: > + - enum: > + - geekbuying,geekbox > + - rockchip,rk3368-evb-act8846 > + - rockchip,r88 > + - tsd,rk3368-uq7-haikou > + - tronsmart,orion-r68-meta > + - const: rockchip,rk3368 > + > + - items: > + - enum: > + - geekbuying,geekbox > + - rockchip,rk3368-evb-act8846 > + - rockchip,r88 > + - tsd,rk3368-uq7-haikou > + - tronsmart,orion-r68-meta > + - const: rockchip,rk3368 > + > + - items: > + - const: rockchip,px5-evb > + - const: rockchip,px5 > + - const: rockchip,rk3368 > + > + - items: > + - enum: > + - firefly,firefly-rk3399 > + - rockchip,rk3399-evb > + - rockchip,rk3399-sapphire > + - rockchip,rk3399-sapphire-excavator > + - tsd,rk3399-q7-haikou > + - vamrs,ficus > + - const: rockchip,rk3399 > + > + - description: Google Bob (Asus Chromebook Flip C101PA) > + items: > + - const: google,bob-rev13 > + - const: google,bob-rev12 > + - const: google,bob-rev11 > + - const: google,bob-rev10 > + - const: google,bob-rev9 > + - const: google,bob-rev8 > + - const: google,bob-rev7 > + - const: google,bob-rev6 > + - const: google,bob-rev5 > + - const: google,bob-rev4 > + - const: google,bob > + - const: google,gru > + - const: rockchip,rk3399 > + > + - description: Google Gru (dev-board) > + items: > + - const: google,gru-rev15 > + - const: google,gru-rev14 > + - const: google,gru-rev13 > + - const: google,gru-rev12 > + - const: google,gru-rev11 > + - const: google,gru-rev10 > + - const: google,gru-rev9 > + - const: google,gru-rev8 > + - const: google,gru-rev7 > + - const: google,gru-rev6 > + - const: google,gru-rev5 > + - const: google,gru-rev4 > + - const: google,gru-rev3 > + - const: google,gru-rev2 > + - const: google,gru > + - const: rockchip,rk3399 > + > + - description: Google Kevin (Samsung Chromebook Plus) > + items: > + - const: google,kevin-rev15 > + - const: google,kevin-rev14 > + - const: google,kevin-rev13 > + - const: google,kevin-rev12 > + - const: google,kevin-rev11 > + - const: google,kevin-rev10 > + - const: google,kevin-rev9 > + - const: google,kevin-rev8 > + - const: google,kevin-rev7 > + - const: google,kevin-rev6 > + - const: google,kevin > + - const: google,gru > + - const: rockchip,rk3399 > + > + - items: > + - enum: > + - rockchip,rv1108-evb > + - const: rockchip,rv1108 > + > + - items: > + - enum: > + - rockchip,rk3228-evb > + - const: rockchip,rk3228 > + > + - items: > + - enum: > + - rockchip,rk3229-evb > + - const: rockchip,rk3229 > +... >