Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Alexey Klimov" <alexey.klimov@linaro.org>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v7 2/6] dt-bindings: soc: samsung: exynos-pmu: Require pmu-intr-gen-syscon for Exynos850
Date: Wed, 30 Sep 2026 00:20:21 +0000	[thread overview]
Message-ID: <20260930002022.0B09F1F00898@smtp.kernel.org> (raw)
In-Reply-To: <20260930-exynos850-cpuhotplug-v7-2-203245826333@linaro.org>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: incorrect reboot-mode restrictions applied to Exynos850
--

commit f0529e2252a91a7f009c0becdb948b0784d4d52f
Author: Alexey Klimov <alexey.klimov@linaro.org>

dt-bindings: soc: samsung: exynos-pmu: Require pmu-intr-gen-syscon for Exynos850

This commit updates the Exynos PMU schema to mandate the
google,pmu-intr-gen-syscon property for the samsung,exynos850-pmu compatible.
This ensures the hardware is correctly described for the driver to obtain the
syscon regmap.

> diff --git a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml
> --- a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml
> +++ b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml
> @@ -196,6 +196,7 @@ allOf:
>            contains:
>              enum:
>                - google,gs101-pmu
> +              - samsung,exynos850-pmu

[Severity: Low]
By appending samsung,exynos850-pmu to the google,gs101-pmu conditional block
to enforce the syscon property, does this unintentionally apply Google
Pixel-specific reboot-mode constraints to a standard Samsung SoC?

The reboot-mode pattern properties in this block use a negative lookahead
regex to allow only specific modes (like dm-verity-device-corrupted or
reboot-ab-update). Standard Samsung Exynos devices utilize mode-download,
which is explicitly rejected by this GS101 negative lookahead regex.

Should the requirement for google,pmu-intr-gen-syscon for exynos850-pmu be
encapsulated in its own separate conditional block to avoid breaking schema
validation for valid Exynos850 device trees?

>      then:
>        properties:
>          reboot-mode:

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260930-exynos850-cpuhotplug-v7-0-203245826333@linaro.org?part=2

  reply	other threads:[~2026-09-30  0:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-30  0:12 [PATCH v7 0/6] Exynos-pmu: Generalise cpu{hotplug,idle},PMU intr gen and add Exynos850 CPU hotplug Alexey Klimov
2026-09-30  0:12 ` [PATCH v7 1/6] dt-bindings: soc: move,rename google,gs101-pmu-intr-gen and add exynos850 Alexey Klimov
2026-09-30  0:12 ` [PATCH v7 2/6] dt-bindings: soc: samsung: exynos-pmu: Require pmu-intr-gen-syscon for Exynos850 Alexey Klimov
2026-09-30  0:20   ` sashiko-bot [this message]
2026-09-30  0:12 ` [PATCH v7 3/6] soc: samsung: exynos-pmu: generalise gs101-specific cpu{idle,hotplug} for Exynos SoCs Alexey Klimov
2026-09-30  0:12 ` [PATCH v7 4/6] soc: samsung: exynos-pmu: add Exynos850 CPU hotplug support Alexey Klimov
2026-09-30  0:25   ` sashiko-bot
2026-10-03 14:20   ` Krzysztof Kozlowski
2026-09-30  0:13 ` [PATCH v7 5/6] MAINTAINERS: add Exynos850 PMU entry Alexey Klimov
2026-09-30  0:13 ` [PATCH v7 6/6] arm64: dts: exynos850: add PMU interrupt generation node Alexey Klimov
2026-09-30  0:23   ` sashiko-bot
2026-10-02 12:41   ` Peter Griffin
2026-10-03 14:13     ` Krzysztof Kozlowski
2026-10-03 14:15       ` Krzysztof Kozlowski

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=20260930002022.0B09F1F00898@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=alexey.klimov@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --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