From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Conor Dooley <conor.dooley@microchip.com>
Cc: Lorenzo Bianconi <lorenzo@kernel.org>,
linux-clk@vger.kernel.org, p.zabel@pengutronix.de,
mturquette@baylibre.com, sboyd@kernel.org,
lorenzo.bianconi83@gmail.com, conor@kernel.org,
linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
devicetree@vger.kernel.org, nbd@nbd.name, john@phrozen.org,
dd@embedd.com, catalin.marinas@arm.com, will@kernel.org,
upstream@airoha.com
Subject: Re: [PATCH v3 1/4] dt-bindings: clock: airoha: Add reset support to EN7581 clock binding
Date: Thu, 27 Jun 2024 11:53:00 +0200 [thread overview]
Message-ID: <b5bb67e8-ebd6-43db-b9d6-2aae38f2a08d@collabora.com> (raw)
In-Reply-To: <20240627-vending-lisp-4e1cf45e552c@wendy>
Il 27/06/24 11:47, Conor Dooley ha scritto:
> On Thu, Jun 27, 2024 at 11:33:47AM +0200, AngeloGioacchino Del Regno wrote:
>> Il 13/06/24 14:47, Lorenzo Bianconi ha scritto:
>>> Introduce reset capability to EN7581 device-tree clock binding
>>> documentation.
>>>
>>> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
>>> ---
>>> .../bindings/clock/airoha,en7523-scu.yaml | 25 ++++++-
>>> .../dt-bindings/reset/airoha,en7581-reset.h | 66 +++++++++++++++++++
>>> 2 files changed, 90 insertions(+), 1 deletion(-)
>>> create mode 100644 include/dt-bindings/reset/airoha,en7581-reset.h
>>>
>>> diff --git a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
>>> index 3f4266637733..84353fd09428 100644
>>> --- a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
>>> +++ b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
>>> @@ -35,7 +35,7 @@ properties:
>>> reg:
>>> minItems: 2
>>> - maxItems: 3
>>> + maxItems: 4
>>> "#clock-cells":
>>> description:
>>> @@ -43,6 +43,10 @@ properties:
>>> clocks.
>>> const: 1
>>> + '#reset-cells':
>>> + description: ID of the controller reset line
>>> + const: 1
>>> +
>>> required:
>>> - compatible
>>> - reg
>>> @@ -60,6 +64,8 @@ allOf:
>>> - description: scu base address
>>> - description: misc scu base address
>>> + '#reset-cells': false
>>> +
>>> - if:
>>> properties:
>>> compatible:
>>> @@ -70,6 +76,7 @@ allOf:
>>> items:
>>> - description: scu base address
>>> - description: misc scu base address
>>> + - description: reset base address
>>
>> Are you sure that the indentation is correct? :-)
>>
>> After fixing the indentation,
>>
>> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
>>
>>> - description: pb scu base address
>
> The indentation actually looks okay when I apply this locally, but how is
> it backwards compatible to add this register in the middle of the list??
It's not, and this is actually something done on purpose - there is no DT using
this binding yet (here, nor uboot), and Lorenzo acknowledged the mistake before
it was too late...
At least this time, it wasn't a misattention :-P
Btw, as far as I know, the reset base address is in between misc scu and pb scu,
that's why it was put there in the middle.
Cheers!
Angelo
next prev parent reply other threads:[~2024-06-27 11:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-13 12:47 [PATCH v3 0/4] Add reset support to EN7581 clk driver Lorenzo Bianconi
2024-06-13 12:47 ` [PATCH v3 1/4] dt-bindings: clock: airoha: Add reset support to EN7581 clock binding Lorenzo Bianconi
2024-06-13 15:25 ` Rob Herring (Arm)
2024-06-27 9:33 ` AngeloGioacchino Del Regno
2024-06-27 9:47 ` Conor Dooley
2024-06-27 9:53 ` AngeloGioacchino Del Regno [this message]
2024-06-27 9:57 ` Conor Dooley
2024-06-27 10:03 ` AngeloGioacchino Del Regno
2024-06-27 10:19 ` Conor Dooley
2024-06-13 12:47 ` [PATCH v3 2/4] clk: en7523: Add reset-controller support for EN7581 SoC Lorenzo Bianconi
2024-06-27 9:31 ` AngeloGioacchino Del Regno
2024-06-13 12:47 ` [PATCH v3 3/4] clk: en7523: Remove pcie prepare/unpreare callbacks " Lorenzo Bianconi
2024-06-13 12:47 ` [PATCH v3 4/4] clk: en7523: remove pcie reset open drain configuration for EN7581 Lorenzo Bianconi
2024-06-27 9:31 ` AngeloGioacchino Del Regno
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=b5bb67e8-ebd6-43db-b9d6-2aae38f2a08d@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=conor@kernel.org \
--cc=dd@embedd.com \
--cc=devicetree@vger.kernel.org \
--cc=john@phrozen.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=lorenzo.bianconi83@gmail.com \
--cc=lorenzo@kernel.org \
--cc=mturquette@baylibre.com \
--cc=nbd@nbd.name \
--cc=p.zabel@pengutronix.de \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=upstream@airoha.com \
--cc=will@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