Skip to content

Commit

Permalink
dt-bindings: net: dsa: mediatek,mt7530: change some descriptions to l…
Browse files Browse the repository at this point in the history
…iteral

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 <arinc.unal@arinc9.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Arınç ÜNAL authored and David S. Miller committed Mar 8, 2023
1 parent ecf729f commit 7d8c489
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ properties:

gpio-controller:
type: boolean
description:
description: |
If defined, LED controller of the MT7530 switch will run on GPIO mode.
There are 15 controllable pins.
Expand All @@ -112,7 +112,7 @@ properties:
maxItems: 1

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

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

0 comments on commit 7d8c489

Please sign in to comment.