Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Janne Grunau" <j@jannau.net>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v3 4/9] dt-bindings: arm: apple: apple,pmgr: Add t6030 and t6031 compatibles
Date: Fri, 24 Jul 2026 18:35:59 +0000	[thread overview]
Message-ID: <20260724183600.634ED1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260724-apple-t603x-initial-devices-v3-4-bbeba0420603@jannau.net>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Incomplete device tree binding updates for Apple PMGR subnodes.
--

--- Patch [4]: [PATCH v3 4/9] dt-bindings: arm: apple: apple,pmgr: Add t6030 and t6031 compatibles ---
commit bc25eb1e6eaf03811fe921a56f06dda28c171040
Author: Janne Grunau <j@jannau.net>
dt-bindings: arm: apple: apple,pmgr: Add t6030 and t6031 compatibles

This commit adds per-SoC compatible strings for the Apple M3 Pro, Max,
and Ultra PMGR blocks to the apple,pmgr.yaml binding.

> diff --git a/Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml b/Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml
> index c67b67ba065af..1d2001836eb48 100644
> --- a/Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml
> +++ b/Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml
> @@ -38,6 +38,8 @@ properties:
>        - items:
>            - enum:
>                - apple,t6020-pmgr
> +              - apple,t6030-pmgr
> +              - apple,t6031-pmgr

[Severity: Medium]
Should the corresponding power state compatibles (apple,t6030-pmgr-pwrstate
and apple,t6031-pmgr-pwrstate) also be added to the child subnodes?

Because apple,t6030-pmgr and apple,t6031-pmgr are added to the parent
apple,pmgr.yaml here, device trees implementing the new M3 SoCs will fail
schema validation when defining power-controller subnodes using per-SoC
compatible strings.

For context, earlier generations are enumerated in the power state binding
under properties:compatible like this:

Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml:
      - items:
          - enum:
              - apple,t6020-pmgr-pwrstate
              - apple,t8122-pmgr-pwrstate
          - const: apple,t8103-pmgr-pwrstate

Does this regression mean make dtbs_check will fail for device trees using
these new M3 variants?

>                - apple,t8122-pmgr
>            - const: apple,t8103-pmgr
>            - const: syscon

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260724-apple-t603x-initial-devices-v3-0-bbeba0420603@jannau.net?part=4

  reply	other threads:[~2026-07-24 18:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-24 18:16 [PATCH v3 0/9] Initial Apple M3 Pro, Max and Ultra device trees Janne Grunau
2026-07-24 18:16 ` [PATCH v3 1/9] dt-bindings: arm: apple: Add M3 Pro/Max/Ultra devices (T603x) Janne Grunau
2026-07-24 18:16 ` [PATCH v3 2/9] dt-bindings: interrupt-controller: apple,aic2: Invert #interrupt-cells condition Janne Grunau
2026-07-24 18:28   ` sashiko-bot
2026-07-24 18:16 ` [PATCH v3 3/9] dt-bindings: interrupt-controller: apple,aic2: Add apple,t6031-aic3 compatible Janne Grunau
2026-07-24 18:16 ` [PATCH v3 4/9] dt-bindings: arm: apple: apple,pmgr: Add t6030 and t6031 compatibles Janne Grunau
2026-07-24 18:35   ` sashiko-bot [this message]
2026-07-24 18:16 ` [PATCH v3 5/9] dt-bindings: power: apple,pmgr-pwrstate: " Janne Grunau
2026-07-24 18:16 ` [PATCH v3 6/9] dt-bindings: i2c: apple,i2c: " Janne Grunau
2026-07-24 18:16 ` [PATCH v3 7/9] dt-bindings: pwm: apple,s5l-fpwm: " Janne Grunau
2026-07-24 18:16 ` [PATCH v3 8/9] arm64: dts: apple: Initial T603[124] (M3 Max and Ultra) device trees Janne Grunau
2026-07-24 18:16 ` [PATCH v3 9/9] arm64: dts: apple: Initial T6030 (M3 Pro) " Janne Grunau

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=20260724183600.634ED1F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=j@jannau.net \
    --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