devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Felix Fietkau <nbd@nbd.name>,
	linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org
Cc: Andreas Gnau <andreas.gnau@iopsys.eu>
Subject: Re: [PATCH 1/2] dt-bindings: clock: airoha: Add reset support to EN7523 clock binding
Date: Wed, 24 Sep 2025 10:27:05 +0200	[thread overview]
Message-ID: <9dd2fea8-f828-4298-97a2-10ef1c61799f@collabora.com> (raw)
In-Reply-To: <20250924060509.1889131-2-mikhail.kshevetskiy@iopsys.eu>

Il 24/09/25 08:05, Mikhail Kshevetskiy ha scritto:
> Introduce reset capability to EN7523 device-tree clock binding
> documentation. Also this patch makes mandatory '#reset-cells'
> property for EN7523 SoC dts.
> 
> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
> ---
>   .../bindings/clock/airoha,en7523-scu.yaml     |  4 +-
>   .../dt-bindings/reset/airoha,en7523-reset.h   | 61 +++++++++++++++++++
>   2 files changed, 63 insertions(+), 2 deletions(-)
>   create mode 100644 include/dt-bindings/reset/airoha,en7523-reset.h
> 
> diff --git a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
> index fe2c5c1baf43..a0df16485300 100644
> --- a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
> +++ b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
> @@ -53,6 +53,7 @@ required:
>     - compatible
>     - reg
>     - '#clock-cells'
> +  - '#reset-cells'

I can't find any reason why #reset-cells should be a required property: this is a
clock controller, it doesn't necessarily have to provide resets, and you don't
necessarily have to use resets, so this shall not be a required property.


>   
>   allOf:
>     - if:
> @@ -64,8 +65,6 @@ allOf:
>           reg:
>             minItems: 2
>   
> -        '#reset-cells': false
> -
>     - if:
>         properties:
>           compatible:
> @@ -85,6 +84,7 @@ examples:
>         reg = <0x1fa20000 0x400>,
>               <0x1fb00000 0x1000>;
>         #clock-cells = <1>;
> +      #reset-cells = <1>;
>       };
>   
>     - |

Regards,
Angelo

  reply	other threads:[~2025-09-24  8:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-24  6:05 [PATCH 0/2] clk: en7523: reset-controller support for EN7523 SoC Mikhail Kshevetskiy
2025-09-24  6:05 ` [PATCH 1/2] dt-bindings: clock: airoha: Add reset support to EN7523 clock binding Mikhail Kshevetskiy
2025-09-24  8:27   ` AngeloGioacchino Del Regno [this message]
2025-09-24  6:05 ` [PATCH 2/2] clk: en7523: Add reset-controller support for EN7523 SoC Mikhail Kshevetskiy
2025-09-24  8:24   ` AngeloGioacchino Del Regno
2025-09-24  9:41 ` [PATCH v2 0/3] clk: en7523: " Mikhail Kshevetskiy
2025-09-24  9:41   ` [PATCH v2 1/3] dt-bindings: clock: airoha: Add reset support to EN7523 clock binding Mikhail Kshevetskiy
2025-09-24  9:41   ` [PATCH v2 2/3] clk: en7523: Add reset-controller support for EN7523 SoC Mikhail Kshevetskiy
2025-09-24 10:20     ` AngeloGioacchino Del Regno
2025-09-24 10:48       ` Mikhail Kshevetskiy
2025-09-24  9:41   ` [PATCH v2 3/3] ARM: dts: airoha: update EN7523 dtsi to support resets Mikhail Kshevetskiy
2025-09-24 10:48   ` [PATCH v3 0/3] clk: en7523: reset-controller support for EN7523 SoC Mikhail Kshevetskiy
2025-09-24 10:48     ` [PATCH v3 1/3] dt-bindings: clock: airoha: Add reset support to EN7523 clock binding Mikhail Kshevetskiy
2025-10-02  0:20       ` Rob Herring (Arm)
2025-09-24 10:48     ` [PATCH v3 2/3] clk: en7523: Add reset-controller support for EN7523 SoC Mikhail Kshevetskiy
2025-09-24 11:12       ` AngeloGioacchino Del Regno
2025-09-24 10:48     ` [PATCH v3 3/3] ARM: dts: airoha: update EN7523 dtsi to support resets Mikhail Kshevetskiy
2025-09-24 11:12       ` AngeloGioacchino Del Regno
2025-10-09  8:53     ` [PATCH v3 0/3] clk: en7523: reset-controller support for EN7523 SoC Mikhail Kshevetskiy

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=9dd2fea8-f828-4298-97a2-10ef1c61799f@collabora.com \
    --to=angelogioacchino.delregno@collabora.com \
    --cc=andreas.gnau@iopsys.eu \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=mikhail.kshevetskiy@iopsys.eu \
    --cc=mturquette@baylibre.com \
    --cc=nbd@nbd.name \
    --cc=p.zabel@pengutronix.de \
    --cc=robh@kernel.org \
    --cc=sboyd@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;
as well as URLs for NNTP newsgroup(s).