diff mbox series

[SRU,R,1/4] UBUNTU: SAUCE: dt-bindings: media: qcom, sm8350-venus: allow the mmcx power domain

Message ID 20261031221325.146722-2-oliver+kernel@brahmstaedt.de
State New
Headers show
Series Fix venus voltage votes and OPP table on the ThinkPad X13s (SC8280XP) | expand

Commit Message

Oliver Brahmstädt Oct. 31, 2026, 10:13 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2172673

The video core on SC8280XP and SM8350 is supplied by the MMCX rail, and
the venus OPP table needs to vote on it. Allow a fourth power domain
"mmcx" after "mx", as upstream commit ab128251dace ("media: dt-bindings:
qcom,sm8250-venus: sort out power domains") does for qcom,sm8250-venus.

Three-domain device trees still pass the schema, but after the following
venus driver change the driver needs "mmcx" for these compatibles and
does not probe without it.

The analysis and this change were developed with the assistance of
Claude Code, an AI coding assistant. I reviewed the result. Validated
with dt-doc-validate and dt-validate (dtschema) against the X13s DTB.

Signed-off-by: Oliver Brahmstädt <oliver+kernel@brahmstaedt.de>
---
 .../devicetree/bindings/media/qcom,sm8350-venus.yaml         | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/qcom,sm8350-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sm8350-venus.yaml
index 8a31bce..1e92bca 100644
--- a/Documentation/devicetree/bindings/media/qcom,sm8350-venus.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sm8350-venus.yaml
@@ -39,13 +39,16 @@  properties:
       - const: core
 
   power-domains:
-    maxItems: 3
+    minItems: 3
+    maxItems: 4
 
   power-domain-names:
+    minItems: 3
     items:
       - const: venus
       - const: vcodec0
       - const: mx
+      - const: mmcx
 
   interconnects:
     maxItems: 3