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"
<linux-renesas-soc@vger.kernel.org>,
"devicetree@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 11:51:49 +0100 [thread overview]
Message-ID: <a7bbfdd1-1abd-2ee5-1d32-47d0bcb7e1f2@linaro.org> (raw)
In-Reply-To: <OS0PR01MB59229179DE3D3D00C4963F3186009@OS0PR01MB5922.jpnprd01.prod.outlook.com>
On 11/11/2022 10:06, Biju Das wrote:
> Hi Krzysztof Kozlowski,
>
>> -----Original Message-----
>> From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> Sent: 11 November 2022 08:34
>> 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
>>
>> 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.
>
> We plan to upstream another similar SoC, RZ/V2MA which has similar IP, so we may
> need to add generic compatible rzv2m-sys. I am checking with HW people to get
> more info about RZ/V2MA.
>
>>
>>> @@ -0,0 +1,39 @@
>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2
>>> +---
>>> +$id:
>> "
> "
>>> +$schema:
>> "
> "
>>
>> Drop quotes from both.
>
> OK.
>
>>
>>> +
>>> +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.
>
> The hardware manual mentions the below. So want to consistent with HW manual.
If the hardware manual said this is called "foo-whatever-name" or
"rz85736dfnx2", you would use it as well?
Node names should be generic.
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
>
> Section 38 System Configuration (SYS)
> This section describes the functions of the system configuration (SYS).
So NAK.
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-11-11 10:52 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
2022-11-11 9:06 ` Biju Das
2022-11-11 10:51 ` Krzysztof Kozlowski [this message]
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=a7bbfdd1-1abd-2ee5-1d32-47d0bcb7e1f2@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=Chris.Paterson2@renesas.com \
--cc=biju.das.jz@bp.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