dt-bindings: mfd: Add MT6397 sound DAI cells
Subsystems (5)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: mfd: Add MT6397 sound DAI cells
Document the one sound DAI cell provided by MT6397 PMIC nodes.
--- Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml +3 -0
@@ -57,6 +57,9 @@ properties: "#interrupt-cells": const: 2 + "#sound-dai-cells": + const: 1 + rtc: type: object $ref: /schemas/rtc/rtc.yaml#
Signature · 1 line
2.53.0
[email protected]
AI reviewThank 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 --
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) <[email protected]>
dt-bindings: mfd: Add MT6397 sound DAI cells
This commit documents the sound DAI cell provided by MT6397 PMIC nodes.
Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml properties: · line 62
Quoted 11 lines
Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml +3
-0@@ -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?
Quoted 3 lines
Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml +0
-0rtc: type: object $ref: /schemas/rtc/rtc.yaml#
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 4 lines · Rob Herring (Arm)
Document the one sound DAI cell provided by MT6397 PMIC nodes.
Assisted-by LLMSigned-off-by Rob Herring (Arm) <[email protected]>
Rob Herring
maintainerQuoted 27 lines · On Mon, Sep 21, 2026 at 11:36:45PM +0000, [email protected] 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) <[email protected]>dt-bindings: mfd: Add MT6397 sound DAI cells
This commit documents the sound DAI cell provided by MT6397 PMIC nodes.
Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml properties: · line 62
Quoted 11 lines
Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml +3
-0@@ -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?
Quoted 4 lines
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.
Quoted 2 lines
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
Re: (subset) [PATCH] dt-bindings: mfd: Add MT6397 sound DAI cells
In reply to Rob Herring (Arm)Quoted 1 line · Rob Herring (Arm)
Document the one sound DAI cell provided by MT6397 PMIC nodes.
Applied, thanks!
[1/1] dt-bindings: mfd: Add MT6397 sound DAI cells
commit: 198f3bfc6658c2f1a75cf0e9b03231242cc711cf
--
Lee Jones [李琼斯]