From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Biju Das <biju.das.jz@bp.renesas.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Phil Edworthy <phil.edworthy@renesas.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
Chris Paterson <chris.paterson2@renesas.com>,
Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Subject: Re: [PATCH v2 1/3] dt-bindings: arm: renesas: Document Renesas RZ/V2M System Configuration
Date: Fri, 11 Nov 2022 09:34:29 +0100 [thread overview]
Message-ID: <ae35fd75-64d3-3ab9-8cc0-3cbcc9c34b78@linaro.org> (raw)
In-Reply-To: <20221110162126.103437-2-biju.das.jz@bp.renesas.com>
On 10/11/2022 17:21, Biju Das wrote:
> From: Phil Edworthy <phil.edworthy@renesas.com>
>
> Add DT binding documentation for System Configuration (SYS) found on
> RZ/V2M SoC's.
>
> SYS block contains the SYS_VERSION register which can be used to retrieve
> SoC version information.
>
> Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
> [biju: Updated the example ]
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> ---
> v1->v2:
> * Moved the file from arm->soc/renesas
> * Updated the path for binding file
> * Updated the example
> ---
> .../soc/renesas/renesas,rzv2m-sys.yaml | 39 +++++++++++++++++++
> 1 file changed, 39 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/soc/renesas/renesas,rzv2m-sys.yaml
>
> diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas,rzv2m-sys.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas,rzv2m-sys.yaml
> new file mode 100644
> index 000000000000..cc41747798e2
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/renesas/renesas,rzv2m-sys.yaml
Filename should be based on the compatible. Pretty often some common
parts of both are fine (e.g. when file contains multiple compatibles),
but this very different then what I see below.
> @@ -0,0 +1,39 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: "http://devicetree.org/schemas/soc/renesas/renesas,rzv2m-sys.yaml#"
> +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
Drop quotes from both.
> +
> +title: Renesas RZ/V2M System Configuration (SYS)
> +
> +maintainers:
> + - Geert Uytterhoeven <geert+renesas@glider.be>
> +
> +description:
> + The RZ/V2M System Configuration (SYS) performs system control of the LSI
> + and supports the following functions,
> + - LSI version
> + - 34-bit address space access function
> + - PCIe related settings
> + - WDT stop control
> + - Temperature sensor (TSU) monitor
> +
> +properties:
> + compatible:
> + const: renesas,r9a09g011-sys
> +
> + reg:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + sysc: system-configuration@a3f03000 {
If I get properly the purpose of the device, usually this is called
"system-controller". Use that as device node.
> + compatible = "renesas,r9a09g011-sys";
> + reg = <0xa3f03000 0x400>;
Use 4 spaces for example indentation.
> + };
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-11-11 8:34 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-10 16:21 [PATCH v2 0/3] Add SoC identification support for RZ/V2M Biju Das
2022-11-10 16:21 ` [PATCH v2 1/3] dt-bindings: arm: renesas: Document Renesas RZ/V2M System Configuration Biju Das
2022-11-11 8:34 ` Krzysztof Kozlowski [this message]
2022-11-11 9:06 ` Biju Das
2022-11-11 10:51 ` Krzysztof Kozlowski
2022-11-11 11:16 ` Biju Das
2022-11-14 16:18 ` Biju Das
2022-11-14 16:32 ` Krzysztof Kozlowski
2022-11-14 16:44 ` Biju Das
2022-11-14 16:51 ` Krzysztof Kozlowski
2022-11-14 17:05 ` Biju Das
2022-11-14 19:12 ` Geert Uytterhoeven
2022-11-14 19:21 ` Biju Das
2022-11-15 8:08 ` Geert Uytterhoeven
2022-11-15 11:19 ` Biju Das
2022-11-15 11:24 ` Geert Uytterhoeven
2022-11-15 11:27 ` Biju Das
2022-11-16 8:14 ` Biju Das
2022-11-16 8:20 ` Geert Uytterhoeven
2022-11-10 16:21 ` [PATCH v2 3/3] arm64: dts: renesas: r9a09g011: Add system configuration node Biju Das
2022-11-11 8:34 ` Krzysztof Kozlowski
2022-11-11 9:10 ` Biju Das
2022-11-11 10:50 ` Krzysztof Kozlowski
2022-11-11 11:25 ` Biju Das
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=ae35fd75-64d3-3ab9-8cc0-3cbcc9c34b78@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=biju.das.jz@bp.renesas.com \
--cc=chris.paterson2@renesas.com \
--cc=devicetree@vger.kernel.org \
--cc=fabrizio.castro.jz@renesas.com \
--cc=geert+renesas@glider.be \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=phil.edworthy@renesas.com \
--cc=robh+dt@kernel.org \
/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