* [PATCH] dt-bindings: mfd: Add MT6397 sound DAI cells
@ 2026-09-21 23:26 Rob Herring (Arm)
2026-09-21 23:36 ` sashiko-bot
2026-09-22 11:44 ` AngeloGioacchino Del Regno
0 siblings, 2 replies; 4+ messages in thread
From: Rob Herring (Arm) @ 2026-09-21 23:26 UTC (permalink / raw)
To: Sen Chu, Sean Wang, Macpaul Lin, Lee Jones, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno
Cc: linux-pm, mfd, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek
Document the one sound DAI cell provided by MT6397 PMIC nodes.
Assisted-by: LLM
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
index 3cbc0dc12c31..e2caa049a60b 100644
--- a/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
+++ b/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
@@ -57,6 +57,9 @@ properties:
"#interrupt-cells":
const: 2
+ "#sound-dai-cells":
+ const: 1
+
rtc:
type: object
$ref: /schemas/rtc/rtc.yaml#
--
2.53.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] dt-bindings: mfd: Add MT6397 sound DAI cells
2026-09-21 23:26 [PATCH] dt-bindings: mfd: Add MT6397 sound DAI cells Rob Herring (Arm)
@ 2026-09-21 23:36 ` sashiko-bot
2026-09-23 16:02 ` Rob Herring
2026-09-22 11:44 ` AngeloGioacchino Del Regno
1 sibling, 1 reply; 4+ messages in thread
From: sashiko-bot @ 2026-09-21 23:36 UTC (permalink / raw)
To: Rob Herring (Arm); +Cc: robh, lee, conor+dt, devicetree, mfd
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: mfd: missing conditional enforcement and example for #sound-dai-cells
--
commit 81069b8500a138169e7ffa4f54dfcaa00429702d
Author: Rob Herring (Arm) <robh@kernel.org>
dt-bindings: mfd: Add MT6397 sound DAI cells
This commit documents the sound DAI cell provided by MT6397 PMIC nodes.
> diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
> index 3cbc0dc12c319..e2caa049a60ba 100644
> --- a/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
> +++ b/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
> @@ -57,6 +57,9 @@ properties:
> "#interrupt-cells":
> const: 2
>
> + "#sound-dai-cells":
> + const: 1
> +
[Severity: Medium]
Does adding this at the top-level properties block bypass conditional
enforcement for specific variants?
By placing "#sound-dai-cells" at the top level without an allOf: if-then
conditional block restricted to "mediatek,mt6397", the schema fails to enforce
it as a required property for the MT6397 PMIC, and incorrectly allows it for
other PMIC variants.
Should it be added to the required list for MT6397 and included in the MT6397
example block, as per DT subsystem guidelines for new provider capabilities?
> rtc:
> type: object
> $ref: /schemas/rtc/rtc.yaml#
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260921232649.3132592-1-robh@kernel.org?part=1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: mfd: Add MT6397 sound DAI cells
2026-09-21 23:36 ` sashiko-bot
@ 2026-09-23 16:02 ` Rob Herring
0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2026-09-23 16:02 UTC (permalink / raw)
To: sashiko-reviews; +Cc: lee, conor+dt, devicetree, mfd
On Mon, Sep 21, 2026 at 11:36:45PM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Medium] dt-bindings: mfd: missing conditional enforcement and example for #sound-dai-cells
> --
>
> commit 81069b8500a138169e7ffa4f54dfcaa00429702d
> Author: Rob Herring (Arm) <robh@kernel.org>
>
> dt-bindings: mfd: Add MT6397 sound DAI cells
>
> This commit documents the sound DAI cell provided by MT6397 PMIC nodes.
>
> > diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
> > index 3cbc0dc12c319..e2caa049a60ba 100644
> > --- a/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
> > +++ b/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
> > @@ -57,6 +57,9 @@ properties:
> > "#interrupt-cells":
> > const: 2
> >
> > + "#sound-dai-cells":
> > + const: 1
> > +
>
> [Severity: Medium]
> Does adding this at the top-level properties block bypass conditional
> enforcement for specific variants?
>
> By placing "#sound-dai-cells" at the top level without an allOf: if-then
> conditional block restricted to "mediatek,mt6397", the schema fails to enforce
> it as a required property for the MT6397 PMIC, and incorrectly allows it for
> other PMIC variants.
No clue about the capabilities of each variant, but I would guess if one
has audio codec, then they all do.
> Should it be added to the required list for MT6397 and included in the MT6397
> example block, as per DT subsystem guidelines for new provider capabilities?
Perfectly fine to use this h/w and not use the audio functionality.
Also, new required properties can be an ABI break.
Rob
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: mfd: Add MT6397 sound DAI cells
2026-09-21 23:26 [PATCH] dt-bindings: mfd: Add MT6397 sound DAI cells Rob Herring (Arm)
2026-09-21 23:36 ` sashiko-bot
@ 2026-09-22 11:44 ` AngeloGioacchino Del Regno
1 sibling, 0 replies; 4+ messages in thread
From: AngeloGioacchino Del Regno @ 2026-09-22 11:44 UTC (permalink / raw)
To: Rob Herring (Arm), Sen Chu, Sean Wang, Macpaul Lin, Lee Jones,
Krzysztof Kozlowski, Conor Dooley, Matthias Brugger
Cc: linux-pm, mfd, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek
On 9/22/26 01:26, Rob Herring (Arm) wrote:
> Document the one sound DAI cell provided by MT6397 PMIC nodes.
>
> Assisted-by: LLM
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-09-23 16:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-21 23:26 [PATCH] dt-bindings: mfd: Add MT6397 sound DAI cells Rob Herring (Arm)
2026-09-21 23:36 ` sashiko-bot
2026-09-23 16:02 ` Rob Herring
2026-09-22 11:44 ` AngeloGioacchino Del Regno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox