]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: mailbox: mediatek,gce-mailbox: Make clock-names optional
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 24 Jul 2025 08:38:39 +0000 (10:38 +0200)
committerRob Herring (Arm) <robh@kernel.org>
Fri, 26 Sep 2025 19:50:44 +0000 (14:50 -0500)
The GCE Mailbox needs only one clock and the clock-names can be
used only by the driver (which, for instance, does not use it),
and this is true for all of the currently supported MediaTek SoCs.

Stop requiring to specify clock-names on all non-MT8195 GCEs.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/mailbox/mediatek,gce-mailbox.yaml

index 73d6db34d64a5b9f2ef40b902609a445346d3b40..587126d03fc6519e310850318fb001f67414828a 100644 (file)
@@ -60,17 +60,6 @@ required:
   - interrupts
   - clocks
 
-allOf:
-  - if:
-      not:
-        properties:
-          compatible:
-            contains:
-              const: mediatek,mt8195-gce
-    then:
-      required:
-        - clock-names
-
 additionalProperties: false
 
 examples: