Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3703658imm; Mon, 8 Oct 2018 08:14:29 -0700 (PDT) X-Google-Smtp-Source: ACcGV63/mEZ86iB2AD0Xc/h3WDNWSwTMT3XfULVpMxWta1dM0G+KkCnMQMESBaeWemrAIFTtymNZ X-Received: by 2002:a63:4cb:: with SMTP id 194-v6mr21751373pge.183.1539011669546; Mon, 08 Oct 2018 08:14:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539011669; cv=none; d=google.com; s=arc-20160816; b=zurzUE6Lfqq4O50q2rDF0NYqF5gmHCE5nBjElJorwOenG8M0wqtJpfbzYPXsWS8XWz 0CvVMd4R7AxRb87m+OsGqhpQEfm6c6HBzwtC9rjhGNV/NN8b4nMn3ipPjEVJQxIdRpQm A+BoQkwKD+j+BMXrZoooDcFgEwgg22I+yAsYCnQn1g9Hcs/9D7lyj0wGMdOSSfacDpUV 5u9ltoQo4jzsMTJAMnmVPSoVpqO7Xxg/AKMcUV2K1gDQcwNuWI+Nt2kyAeO5bbqoSRge /doe7WsDkENrH/JXjQ8N1jrUEbZ7ds49YFNSOGFfszyiTqGzECf28Wm5ZGFjrPlQovZS g5pQ== 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; bh=HmOabBNqDMjWcmsiNHkPzhwfgz/jRpqNu7y2U3BkQoI=; b=J8c+I3iEnqUnKgziOAAV/UwAcsMk+vcRskAyxcWB2porjNNpOcwyg0T+eEqDzm7tKi Sl/UE9R5pD5LLamPcqPCuXqmEfxVo54YZ1+QIS2kF3Uozf3VMrwryZI7aP/Gha65D5h1 aN1iDcSZvxhyLh4PXOe4KQUcuOncxK1LbJMv78PR7y9V0q1+hUFz3bqsixKoJMRvEGcN dmfYyqFlVrHz9r/XmFY3VqraHLuIK91OOm1gDVZH/2kUxu1kIC4M4y7MVL6J/so2OUYY fl6C/yDj7Us1k5kE9HbsU+4VRQjqHP+DFvhf0ZWhidhwf2163NrQlvfnbvtpxJuRTPYn 8+hw== 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 c13-v6si17200360pgi.518.2018.10.08.08.14.13; Mon, 08 Oct 2018 08:14:29 -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 S1726695AbeJHWZW (ORCPT + 99 others); Mon, 8 Oct 2018 18:25:22 -0400 Received: from mail-vs1-f65.google.com ([209.85.217.65]:42359 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726278AbeJHWZW (ORCPT ); Mon, 8 Oct 2018 18:25:22 -0400 Received: by mail-vs1-f65.google.com with SMTP id e126so5609119vsc.9; Mon, 08 Oct 2018 08:13:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HmOabBNqDMjWcmsiNHkPzhwfgz/jRpqNu7y2U3BkQoI=; b=KLqPGwJVESKjzRuOMvxFnQPpY6p1slhgJP/AffetrZ8BclKD1rp5liBTfOfoALl6jh dZNcb9Dek7Kj6hX0OIFnrAt2q44sQrGL4828z4zXufhDZDMe8dJ0V7g15Br11Vqwi7z+ JriyJhHTXQavWx1gYuTDkm/dbfjTGfolZnJszKkqx8zeCKpFMewC0mjV+aEJEeC8z4Ok wjMvgnymdKtbpIqAaZOXzKadPwIVNshI7QTxpSvJxWDlZNDupBR1iBPUTy17GendQ2tV T5biShzLfqd6DC3i+Uvljcx+0It9FaIJ4xEqidDgnTb8gnEgObXBR6uakPMOtRKFGRzO FSNw== X-Gm-Message-State: ABuFfoj30t46b7NNjVKLCwmb6UMbotpfFBRFi0r9UhZx8WES6PpwGLNs H/Mj9uwnVDyOolPjadDiWACLidiGvxgenOQ0kgc= X-Received: by 2002:a67:d69e:: with SMTP id o30mr6235265vsj.11.1539011589275; Mon, 08 Oct 2018 08:13:09 -0700 (PDT) MIME-Version: 1.0 References: <20181005165848.3474-1-robh@kernel.org> <20181005165848.3474-30-robh@kernel.org> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 8 Oct 2018 17:12:56 +0200 Message-ID: Subject: Re: [PATCH 29/36] dt-bindings: arm: Convert Renesas board/soc bindings to json-schema To: Rob Herring Cc: Linux Kernel Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , linuxppc-dev , Grant Likely , Kumar Gala , Frank Rowand , Mark Rutland , Linus Walleij , Olof Johansson , Arnd Bergmann , Mark Brown , Tom Rini , Pantelis Antoniou , Jonathan Cameron , =?UTF-8?Q?Bj=C3=B6rn_Andersson?= , Simon Horman , Magnus Damm , Linux-Renesas 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 Hi Rob, On Mon, Oct 8, 2018 at 4:57 PM Rob Herring wrote: > On Mon, Oct 8, 2018 at 2:47 AM Geert Uytterhoeven wrote: > > On Fri, Oct 5, 2018 at 6:59 PM Rob Herring wrote: > > > Convert Renesas SoC bindings to DT schema format using json-schema. > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/arm/shmobile.yaml > > > @@ -0,0 +1,205 @@ > > > + - description: Kingfisher (SBEV-RCAR-KF-M03) > > > + items: > > > + - const: shimafuji,kingfisher > > > + - enum: > > > + - renesas,h3ulcb > > > + - renesas,m3ulcb > > > + - enum: > > > + - renesas,r8a7795 > > > + - renesas,r8a7796 > > > > This looks a bit funny: all other entries have the "const" last, and > > use it for the > > SoC number. May be correct, though. > > To clarify, this is an extension board that can fit both the [HM]3ULCB > > boards (actually also the new M3NULCB, I think). > > This being Kingfisher? Correct. > I wrote this based on dts files in the tree. There's 2 combinations that I see: > > "shimafuji,kingfisher", "renesas,h3ulcb", "renesas,r8a7795" > "shimafuji,kingfisher", "renesas,m3ulcb", "renesas,r8a7796" > > The schema allows 4 combinations (1 * 2 * 2). I have no idea if the > other combinations are possible. If not, then we could rewrite this as > 2 entries with 3 const values each. I expect there will soon be a third one: "shimafuji,kingfisher", "renesas,m3nulcb", "renesas,r8a77965" Technically, {h3,m3,m3n}ulcb are the same board (although there may be minor revision differences), with a different SiP mounted. But they are called/marketed depending on which SiP is mounted. And on top of that, you can plug in a Kingfisher daughterboard. Could be an overlay ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds