Message ID | 20240709101328.102969-3-linux@fw-web.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | add syscon requirement for mt7988 | expand |
On 09/07/2024 12:13, Frank Wunderlich wrote: > From: Frank Wunderlich <frank-w@public-files.de> > > This is needed by u-boot-driver when using OF_UPSTREAM. > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> > --- > .../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 No. Crappy drivers which do not implement clock bindings do not get workaround. Best regards, Krzysztof
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>;