Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: joakim.zhang@cixtech.com
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 1/5] dt-bindings: soc: cix,sky1-system-control: add audss system control
Date: Fri, 05 Jun 2026 03:30:58 +0000	[thread overview]
Message-ID: <20260605033059.1C36B1F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260605032225.523669-2-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 is unconditionally permitted for all compatible strings, instead of being restricted to the AUDSS variant.
--

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 Audio Subsystem (AUDSS) syscon compatible string.
It introduces AUDSS software reset indices and adds an AUDSS internal clock
provider property.

> diff --git a/Documentation/devicetree/bindings/soc/cix/cix,sky1-system-control.yaml b/Documentation/devicetree/bindings/soc/cix/cix,sky1-system-control.yaml
> --- 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]
Is this clock-controller child node unconditionally permitted for all
compatible strings in this binding?

Because it is introduced in the global properties block without an allOf
and if-then constraint to restrict its usage, does this allow device tree
nodes using the unrelated cix,sky1-system-control or
cix,sky1-s5-system-control compatibles to incorrectly declare a
clock-controller child node and silently pass schema validation?

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

  reply	other threads:[~2026-06-05  3:30 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 [this message]
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
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=20260605033059.1C36B1F00893@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