linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Lorenzo Bianconi <lorenzo@kernel.org>
Cc: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Felix Fietkau <nbd@nbd.name>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	upstream@airoha.com, angelogioacchino.delregno@collabora.com,
	linux-arm-kernel@lists.infradead.org,
	lorenzo.bianconi83@gmail.com, ansuelsmth@gmail.com
Subject: Re: [PATCH 1/7] dt-bindings: clock: airoha: update reg mapping for EN7581 SoC.
Date: Tue, 3 Sep 2024 10:04:38 -0500	[thread overview]
Message-ID: <20240903150438.GA1008227-robh@kernel.org> (raw)
In-Reply-To: <20240831-clk-en7581-syscon-v1-1-5c2683541068@kernel.org>

On Sat, Aug 31, 2024 at 09:18:43AM +0200, Lorenzo Bianconi wrote:
> clk-en7523 driver for EN7581 SoC is mapping all the scu memory region
> while it is configuring the chip-scu one via a syscon. Update the reg
> mapping definition for this device. This patch does not introduce any
> backward incompatibility since the dts for EN7581 SoC is not public yet.
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> ---
>  .../devicetree/bindings/clock/airoha,en7523-scu.yaml         | 12 +++---------
>  1 file changed, 3 insertions(+), 9 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
> index 84353fd09428..ca426c328535 100644
> --- a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
> +++ b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
> @@ -34,8 +34,8 @@ properties:
>            - airoha,en7581-scu
>  
>    reg:
> -    minItems: 2
> -    maxItems: 4
> +    minItems: 1
> +    maxItems: 2

This should really have the 'items' list here instead of in the if/then 
schemas.
>  
>    "#clock-cells":
>      description:
> @@ -75,9 +75,6 @@ allOf:
>          reg:
>            items:
>              - description: scu base address
> -            - description: misc scu base address
> -            - description: reset base address
> -            - description: pb scu base address

And then this would be just 'maxItems: 1' and the other if 'minItems: 
2'.

Rob

  parent reply	other threads:[~2024-09-03 15:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-31  7:18 [PATCH 0/7] clk: en7523: Update register mapping for EN7581 Lorenzo Bianconi
2024-08-31  7:18 ` [PATCH 1/7] dt-bindings: clock: airoha: update reg mapping for EN7581 SoC Lorenzo Bianconi
2024-09-02  8:19   ` Conor Dooley
2024-09-02  8:39     ` Lorenzo Bianconi
2024-09-03 15:04   ` Rob Herring [this message]
2024-08-31  7:18 ` [PATCH 2/7] clk: en7523: set REG_PCIE*_{MEM,MEM_MASK} via syscon Lorenzo Bianconi
2024-09-02  8:21   ` Conor Dooley
2024-09-02  8:40     ` Lorenzo Bianconi
2024-08-31  7:18 ` [PATCH 3/7] clk: en7523: move clock_register in hw_init callback Lorenzo Bianconi
2024-08-31  7:18 ` [PATCH 4/7] clk: en7523: introduce chip_scu regmap Lorenzo Bianconi
2024-09-02  7:37   ` Dan Carpenter
2024-08-31  7:18 ` [PATCH 5/7] clk: en7523: fix estimation of fixed rate for EN7581 Lorenzo Bianconi
2024-08-31  7:18 ` [PATCH 6/7] clk: en7523: move en7581_reset_register() in en7581_clk_hw_init() Lorenzo Bianconi
2024-08-31  7:18 ` [PATCH 7/7] clk: en7523: map io region in a single block Lorenzo Bianconi

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=20240903150438.GA1008227-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=ansuelsmth@gmail.com \
    --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=lorenzo.bianconi83@gmail.com \
    --cc=lorenzo@kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=nbd@nbd.name \
    --cc=p.zabel@pengutronix.de \
    --cc=sboyd@kernel.org \
    --cc=upstream@airoha.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).