Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: ethernet: eswin: fix yaml schema issues

eswin,hsp-sp-csr attribute is one phandle with multiple arguments,
so the syntax should be in the form of:
items:
- items:
- description: ...
- description: ...
- description: ...
- description: ...

To align with the description of the 'eswin-sp-csr'
attribute in the mmc,usb modules, the description
of the 'eswin,hsp-sp-csr' attribute has been modified.

Fixes: 888bd0eca93c ("dt-bindings: ethernet: eswin: Document for EIC7700 SoC")
Reported-by: Rob Herring (Arm) <robh@kernel.org>
Closes: https://lore.kernel.org/all/176096011380.22917.1988679321096076522.robh@kernel.org/
Signed-off-by: Shangjuan Wei <weishangjuan@eswincomputing.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20251104073305.299-1-weishangjuan@eswincomputing.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Shangjuan Wei and committed by
Jakub Kicinski
0567c84d 9158447f

+11 -9
+11 -9
Documentation/devicetree/bindings/net/eswin,eic7700-eth.yaml
··· 69 69 enum: [0, 200, 600, 1200, 1600, 1800, 2000, 2200, 2400] 70 70 71 71 eswin,hsp-sp-csr: 72 + description: 73 + HSP CSR is to control and get status of different high-speed peripherals 74 + (such as Ethernet, USB, SATA, etc.) via register, which can tune 75 + board-level's parameters of PHY, etc. 72 76 $ref: /schemas/types.yaml#/definitions/phandle-array 73 77 items: 74 - - description: Phandle to HSP(High-Speed Peripheral) device 75 - - description: Offset of phy control register for internal 76 - or external clock selection 77 - - description: Offset of AXI clock controller Low-Power request 78 - register 79 - - description: Offset of register controlling TX/RX clock delay 80 - description: | 81 - High-Speed Peripheral device needed to configure clock selection, 82 - clock low-power mode and clock delay. 78 + - items: 79 + - description: Phandle to HSP(High-Speed Peripheral) device 80 + - description: Offset of phy control register for internal 81 + or external clock selection 82 + - description: Offset of AXI clock controller Low-Power request 83 + register 84 + - description: Offset of register controlling TX/RX clock delay 83 85 84 86 required: 85 87 - compatible