[PATCH v1 2/4] dt-bindings: clock: mediatek: add syscon requirement for mt7988 xfi-pll

From: Frank Wunderlich
Date: Tue Jul 09 2024 - 06:14:01 EST


From: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>

This is needed by u-boot-driver when using OF_UPSTREAM.

Signed-off-by: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
---
.../devicetree/bindings/clock/mediatek,mt7988-xfi-pll.yaml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/mediatek,mt7988-xfi-pll.yaml b/Documentation/devicetree/bindings/clock/mediatek,mt7988-xfi-pll.yaml
index 192f1451f0af..c3686712505a 100644
--- a/Documentation/devicetree/bindings/clock/mediatek,mt7988-xfi-pll.yaml
+++ b/Documentation/devicetree/bindings/clock/mediatek,mt7988-xfi-pll.yaml
@@ -15,7 +15,10 @@ description:

properties:
compatible:
- const: mediatek,mt7988-xfi-pll
+ items:
+ - enum:
+ - mediatek,mt7988-xfi-pll
+ - const: syscon

reg:
maxItems: 1
@@ -40,7 +43,7 @@ examples:
#address-cells = <2>;
#size-cells = <2>;
clock-controller@11f40000 {
- compatible = "mediatek,mt7988-xfi-pll";
+ compatible = "mediatek,mt7988-xfi-pll", "syscon";
reg = <0 0x11f40000 0 0x1000>;
resets = <&watchdog 16>;
#clock-cells = <1>;
--
2.43.0