Re: [PATCH v3 2/4] dt-bindings: net: Add Loongson-1 Ethernet Controller
From: Krzysztof Kozlowski <hidden>
Date: 2023-08-27 07:57:16
Also in:
linux-devicetree, linux-mips, lkml
From: Krzysztof Kozlowski <hidden>
Date: 2023-08-27 07:57:16
Also in:
linux-devicetree, linux-mips, lkml
On 26/08/2023 23:04, Serge Semin wrote:
quoted
+ clock-names: + items: + - const: stmmacethclock-names: const: stmmaceth ?
The existing syntax is correct. This is a string array.
quoted
+ + interrupts: + maxItems: 1 +quoted
+ interrupt-names: + items: + - const: macirqinterrupt-names: const: macirq ?
As well.
quoted
+ + loongson,ls1-syscon: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the syscon containing some extra configurations + including PHY interface mode. +quoted
+ phy-mode: + items: + - enum: + - mii + - rmiiphy-mode: enum: ... ?
Here indeed, this is a string, not a list, so items are wrong. Best regards, Krzysztof