Thread (79 messages) 79 messages, 15 authors, 2018-12-03

Re: [PATCH 29/36] dt-bindings: arm: Convert Renesas board/soc bindings to json-schema

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2018-10-08 15:13:12
Also in: linux-arm-kernel, linux-devicetree, linux-renesas-soc, lkml

Hi Rob,

On Mon, Oct 8, 2018 at 4:57 PM Rob Herring [off-list ref] wrote:
On Mon, Oct 8, 2018 at 2:47 AM Geert Uytterhoeven [off-list ref] wrote:
quoted
On Fri, Oct 5, 2018 at 6:59 PM Rob Herring [off-list ref] wrote:
quoted
Convert Renesas SoC bindings to DT schema format using json-schema.
quoted
quoted
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/shmobile.yaml
@@ -0,0 +1,205 @@
quoted
quoted
+      - 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help