From: Rob Herring <robh+dt@kernel.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: devicetree@vger.kernel.org, Sudeep Holla <sudeep.holla@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
"moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 5/7] dt-bindings: arm: Add RealView YAML schema
Date: Thu, 13 Feb 2020 14:35:03 -0600 [thread overview]
Message-ID: <CAL_JsqLG4dR6aeY2bP9ihjALT8DmQ3tHQy2mYdZBNay6xxanjA@mail.gmail.com> (raw)
In-Reply-To: <20200210092713.279105-6-linus.walleij@linaro.org>
On Mon, Feb 10, 2020 at 3:27 AM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> This implements the top-level schema for the ARM RealView
> platforms.
>
> Cc: Sudeep Holla <sudeep.holla@arm.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> .../devicetree/bindings/arm/arm,realview.yaml | 123 ++++++++++++++++++
> 1 file changed, 123 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/arm/arm,realview.yaml
Same comments as patch 3 apply here...
>
> diff --git a/Documentation/devicetree/bindings/arm/arm,realview.yaml b/Documentation/devicetree/bindings/arm/arm,realview.yaml
> new file mode 100644
> index 000000000000..d6e85d198afe
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/arm,realview.yaml
> @@ -0,0 +1,123 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/arm/arm,realview.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ARM RealView Boards Device Tree Bindings
> +
> +maintainers:
> + - Linus Walleij <linus.walleij@linaro.org>
> +
> +description: |+
> + The ARM RealView series of reference designs were built to explore the ARM
> + 11, Cortex A-8 and Cortex A-9 CPUs. This included new features compared to
> + the earlier CPUs such as TrustZone and multicore (MPCore).
> +
> +properties:
> + $nodename:
> + const: '/'
> + compatible:
> + oneOf:
> + - description: ARM RealView Emulation Baseboard (HBI-0140) was created
> + as a generic platform to test different FPGA designs, and has
> + pluggable CPU modules, see ARM DUI 0303E.
> + items:
> + - const: arm,realview-eb
> + - description: ARM RealView Platform Baseboard for ARM1176JZF-S
> + (HBI-0147) was created as a development board to test ARM TrustZone,
> + CoreSight and Intelligent Energy Management (IEM) see ARM DUI 0425F.
> + items:
> + - const: arm,realview-pb1176
> + - description: ARM RealView Platform Baseboard for ARM 11 MPCore
> + (HBI-0159, HBI-0175 and HBI-0176) was created to showcase
> + multiprocessing with ARM11 using MPCore using symmetric
> + multiprocessing (SMP). See ARM DUI 0351E.
> + items:
> + - const: arm,realview-pb11mp
> + - description: ARM RealView Platform Baseboard for Cortex-A8 (HBI-0178,
> + HBI-0176 and HBI-0175) was the first reference platform for the
> + Cortex CPU family, including a Cortex-A8 test chip.
> + items:
> + - const: arm,realview-pba8
> + - description: ARM RealView Platform Baseboard Explore for Cortex-A9
> + (HBI-0182 and HBI-0183) was the reference platform for the Cortex-A9
> + CPU.
> + items:
> + - const: arm,realview-pbx
> +
> + soc:
> + description: All RealView boards must provide a soc node in the root of the
> + device tree, representing the System-on-Chip since these test chips are
> + rather complex.
> + type: object
> + properties:
> + compatible:
> + oneOf:
> + - items:
> + - const: arm,realview-eb-soc
> + - const: simple-bus
> + - items:
> + - const: arm,realview-pb1176-soc
> + - const: simple-bus
> + - items:
> + - const: arm,realview-pb11mp-soc
> + - const: simple-bus
> + - items:
> + - const: arm,realview-pba8-soc
> + - const: simple-bus
> + - items:
> + - const: arm,realview-pbx-soc
> + - const: simple-bus
Can be simplified.
> +
> + patternProperties:
> + "^.*syscon@[0-9a-f]+$":
> + type: object
> + description: All RealView boards must provide a syscon system controller
> + node inside the soc node.
> + properties:
> + compatible:
> + oneOf:
> + - items:
> + - const: arm,realview-eb11mp-revb-syscon
> + - const: arm,realview-eb-syscon
> + - const: syscon
> + - const: simple-mfd
> + - items:
> + - const: arm,realview-eb11mp-revc-syscon
> + - const: arm,realview-eb-syscon
> + - const: syscon
> + - const: simple-mfd
These 2 can be 1 items list.
> + - items:
> + - const: arm,realview-eb-syscon
> + - const: syscon
> + - const: simple-mfd
> + - items:
> + - const: arm,realview-pb1176-syscon
> + - const: syscon
> + - const: simple-mfd
> + - items:
> + - const: arm,realview-pb11mp-syscon
> + - const: syscon
> + - const: simple-mfd
> + - items:
> + - const: arm,realview-pba8-syscon
> + - const: syscon
> + - const: simple-mfd
> + - items:
> + - const: arm,realview-pbx-syscon
> + - const: syscon
> + - const: simple-mfd
And these 5 1 items list.
> +
> + required:
> + - compatible
> + - reg
> +
> + required:
> + - compatible
> +
> +required:
> + - compatible
> + - soc
> +
> +...
> --
> 2.23.0
>
next prev parent reply other threads:[~2020-02-13 20:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-10 9:27 [PATCH 0/7] dt-bindings: Convert the ARM Boards to YAML Linus Walleij
2020-02-10 9:27 ` [PATCH 1/7] ARM: dts: Versatile: Use syscon as node name for IB2 Linus Walleij
2020-02-10 9:27 ` [PATCH 2/7] ARM: dts: RealView: Fix the name of the SoC node Linus Walleij
2020-02-10 9:27 ` [PATCH 3/7] dt-bindings: arm: Add Integrator YAML schema Linus Walleij
2020-02-13 20:23 ` Rob Herring
2020-02-10 9:27 ` [PATCH 4/7] dt-bindings: arm: Add Versatile " Linus Walleij
2020-02-10 9:27 ` [PATCH 5/7] dt-bindings: arm: Add RealView " Linus Walleij
2020-02-13 20:35 ` Rob Herring [this message]
2020-02-10 9:27 ` [PATCH 6/7] dt-bindings: arm: Add Versatile Express and Juno " Linus Walleij
2020-02-11 12:05 ` Sudeep Holla
2020-02-13 20:37 ` Rob Herring
2020-02-10 9:27 ` [PATCH 7/7] dt-bindings: arm: Drop the non-YAML bindings Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAL_JsqLG4dR6aeY2bP9ihjALT8DmQ3tHQy2mYdZBNay6xxanjA@mail.gmail.com \
--to=robh+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=sudeep.holla@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).