Skip to content

Commit 7d8c489

Browse files
arinc9davem330
authored andcommitted
dt-bindings: net: dsa: mediatek,mt7530: change some descriptions to literal
The line endings must be preserved on gpio-controller, io-supply, and reset-gpios properties to look proper when the YAML file is parsed. Currently it's interpreted as a single line when parsed. Change the style of the description of these properties to literal style to preserve the line endings. Signed-off-by: Arınç ÜNAL <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ecf729f commit 7d8c489

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ properties:
9393

9494
gpio-controller:
9595
type: boolean
96-
description:
96+
description: |
9797
If defined, LED controller of the MT7530 switch will run on GPIO mode.
9898
9999
There are 15 controllable pins.
@@ -112,7 +112,7 @@ properties:
112112
maxItems: 1
113113

114114
io-supply:
115-
description:
115+
description: |
116116
Phandle to the regulator node necessary for the I/O power.
117117
See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt for
118118
details for the regulator setup on these boards.
@@ -124,7 +124,7 @@ properties:
124124
switch is a part of the multi-chip module.
125125

126126
reset-gpios:
127-
description:
127+
description: |
128128
GPIO to reset the switch. Use this if mediatek,mcm is not used.
129129
This property is optional because some boards share the reset line with
130130
other components which makes it impossible to probe the switch if the

0 commit comments

Comments
 (0)