Skip to content

Commit c075b67

Browse files
weishangjuaneswincomputingNipaLocal
authored andcommitted
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: 888bd0e ("dt-bindings: ethernet: eswin: Document for EIC7700 SoC") Reported-by: Rob Herring (Arm) <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Shangjuan Wei <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent dbe27d2 commit c075b67

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

Documentation/devicetree/bindings/net/eswin,eic7700-eth.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,19 @@ properties:
6969
enum: [0, 200, 600, 1200, 1600, 1800, 2000, 2200, 2400]
7070

7171
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.
7276
$ref: /schemas/types.yaml#/definitions/phandle-array
7377
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
8385

8486
required:
8587
- compatible

0 commit comments

Comments
 (0)