From: sashiko-bot@kernel.org
To: "Roman Vivchar" <rva333@protonmail.com>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v2 1/3] dt-bindings: nvmem: mediatek: efuse: add mt6572
Date: Fri, 24 Jul 2026 11:37:36 +0000 [thread overview]
Message-ID: <20260724113736.BE5021F00A3D@smtp.kernel.org> (raw)
In-Reply-To: <20260724-6572-nvmem-v2-1-e58d16a29621@protonmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The new `mediatek,mt6572-efuse` compatible string is defined as a standalone enum without a generic fallback, yet the driver lacks support for it.
--
--- Patch [1]: [PATCH v2 1/3] dt-bindings: nvmem: mediatek: efuse: add mt6572 ---
commit 16da21605192748d95ca1fe2779220ec48ccf918
Author: Roman Vivchar <rva333@protonmail.com>
dt-bindings: nvmem: mediatek: efuse: add mt6572
This commit adds a compatible string for the MediaTek MT6572 SoC efuse
controller to the binding schema. It introduces a new enum block for both
the new mt6572 string and the existing mt8186 string.
> diff --git a/Documentation/devicetree/bindings/nvmem/mediatek,efuse.yaml b/Documentation/devicetree/bindings/nvmem/mediatek,efuse.yaml
> index f9323b3ecfc83..e109471649412 100644
> --- a/Documentation/devicetree/bindings/nvmem/mediatek,efuse.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/mediatek,efuse.yaml
> @@ -24,13 +24,16 @@ properties:
>
> compatible:
> oneOf:
> + - enum:
> + - mediatek,mt6572-efuse
[Severity: Medium]
Will device trees using this new compatible string fail to probe?
The mediatek,mt6572-efuse string is defined here as a standalone enum
without a generic mediatek,efuse fallback. However, the mtk-efuse driver
in drivers/nvmem/mtk-efuse.c does not match mediatek,mt6572-efuse
specifically.
If a system integrator strictly follows this schema, the device node will
not probe. Conversely, if the device tree includes the mediatek,efuse
fallback so the driver can match and probe, it will fail dtbs_check
validation because this schema does not expect the fallback in an items
list.
Should mediatek,mt6572-efuse be defined alongside the generic
mediatek,efuse fallback instead of as a standalone enum?
> + - mediatek,mt8186-efuse
> +
> - items:
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260724-6572-nvmem-v2-0-e58d16a29621@protonmail.com?part=1
next prev parent reply other threads:[~2026-07-24 11:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-24 11:07 [PATCH v2 0/3] nvmem: mtk-efuse: mt6572 support Roman Vivchar via B4 Relay
2026-07-24 11:07 ` Roman Vivchar
2026-07-24 11:07 ` [PATCH v2 1/3] dt-bindings: nvmem: mediatek: efuse: add mt6572 Roman Vivchar via B4 Relay
2026-07-24 11:07 ` Roman Vivchar
2026-07-24 11:37 ` sashiko-bot [this message]
2026-07-24 11:07 ` [PATCH v2 2/3] nvmem: mtk-efuse: add support for 32-bit aligned reads Roman Vivchar via B4 Relay
2026-07-24 11:07 ` Roman Vivchar
2026-07-24 11:40 ` sashiko-bot
2026-07-24 11:07 ` [PATCH v2 3/3] nvmem: mtk-efuse: add mt6572 support Roman Vivchar via B4 Relay
2026-07-24 11:07 ` Roman Vivchar
2026-07-24 11:40 ` sashiko-bot
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=20260724113736.BE5021F00A3D@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=rva333@protonmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.