Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: joakim.zhang@cixtech.com
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 3/5] dt-bindings: clock: cix,sky1-audss-clock: add audss clock controller
Date: Fri, 05 Jun 2026 03:33:09 +0000	[thread overview]
Message-ID: <20260605033310.51D8C1F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260605032225.523669-4-joakim.zhang@cixtech.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The `clock-controller` child node in `cix,sky1-system-control.yaml` is not restricted to the `cix,sky1-audss-system-control` compatible string via an `if-then` conditional block.
--

commit f3ed58f974f3ca4d534c723c42d7c1e7eefe2139
Author: Joakim Zhang <joakim.zhang@cixtech.com>

dt-bindings: soc: cix,sky1-system-control: add audss system control

This commit adds the cix,sky1-audss-system-control compatible string to the
Sky1 system control binding. It exposes the software reset lines and adds the
clock-controller property for the AUDSS block.

> diff --git a/Documentation/devicetree/bindings/soc/cix/cix,sky1-system-control.yaml b/Documentation/devicetree/bindings/soc/cix/cix,sky1-system-control.yaml
> index a01a515222c6d..3b243b02a7e8c 100644
> --- a/Documentation/devicetree/bindings/soc/cix/cix,sky1-system-control.yaml
> +++ b/Documentation/devicetree/bindings/soc/cix/cix,sky1-system-control.yaml

[ ... ]

> @@ -27,6 +32,11 @@ properties:
>    '#reset-cells':
>      const: 1
>  
> +  clock-controller:
> +    $ref: /schemas/clock/cix,sky1-audss-clock.yaml#
> +    description:
> +      AUDSS internal clock provider (cix,sky1-audss-system-control only).
> +

[Severity: Medium]
In Documentation/devicetree/bindings/soc/cix/cix,sky1-system-control.yaml,
since this property is defined at the top level without being restricted by
compatible strings, will dtbs_check incorrectly allow the clock-controller
child node on other variants like cix,sky1-system-control and
cix,sky1-s5-system-control?

Should this be wrapped in an allOf -> if-then block targeting only the
cix,sky1-audss-system-control compatible string to ensure schema validation
fails on incompatible variants?

>  required:
>    - compatible
>    - reg

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260605032225.523669-1-joakim.zhang@cixtech.com?part=3

  reply	other threads:[~2026-06-05  3:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-05  3:22 [PATCH v2 0/5] Add Cix Sky1 AUDSS clock and reset support joakim.zhang
2026-06-05  3:22 ` [PATCH v2 1/5] dt-bindings: soc: cix,sky1-system-control: add audss system control joakim.zhang
2026-06-05  3:30   ` sashiko-bot
2026-06-05  4:40   ` Rob Herring (Arm)
2026-06-05  9:18   ` Krzysztof Kozlowski
2026-06-05  9:21     ` Krzysztof Kozlowski
2026-06-09  6:25       ` Joakim  Zhang
2026-06-09  6:25     ` Joakim  Zhang
2026-06-09  6:44       ` Krzysztof Kozlowski
2026-06-05  3:22 ` [PATCH v2 2/5] reset: cix: add audss support to sky1 reset driver joakim.zhang
2026-06-05  3:22 ` [PATCH v2 3/5] dt-bindings: clock: cix,sky1-audss-clock: add audss clock controller joakim.zhang
2026-06-05  3:33   ` sashiko-bot [this message]
2026-06-05  9:24   ` Krzysztof Kozlowski
2026-06-09  6:27     ` Joakim  Zhang
2026-06-11  7:41       ` Krzysztof Kozlowski
2026-06-11 11:57         ` Joakim  Zhang
2026-06-05  3:22 ` [PATCH v2 4/5] clk: cix: add sky1 " joakim.zhang
2026-06-05  3:35   ` sashiko-bot
2026-06-05  7:42   ` Philipp Zabel
2026-06-10  3:05     ` Joakim  Zhang
2026-06-05  3:22 ` [PATCH v2 5/5] arm64: dts: cix: sky1: add audss system control joakim.zhang

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=20260605033310.51D8C1F00893@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=joakim.zhang@cixtech.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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