diff mbox series

dt-bindings: net: adin: use YAML block scalar to avoid parse issue

Message ID 20220526045740.4073762-1-chris.packham@alliedtelesis.co.nz (mailing list archive)
State Not Applicable
Delegated to: Netdev Maintainers
Headers show
Series dt-bindings: net: adin: use YAML block scalar to avoid parse issue | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Chris Packham May 26, 2022, 4:57 a.m. UTC
YAML doesn't like colons (:) in text. Use a block scalar so that the
colon in the description text doesn't cause a parse error.

Fixes: 1f77204e11f8 ("dt-bindings: net: adin: document phy clock output properties")
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
---
 Documentation/devicetree/bindings/net/adi,adin.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Jakub Kicinski May 26, 2022, 5:02 a.m. UTC | #1
On Thu, 26 May 2022 16:57:40 +1200 Chris Packham wrote:
> YAML doesn't like colons (:) in text. Use a block scalar so that the
> colon in the description text doesn't cause a parse error.
> 
> Fixes: 1f77204e11f8 ("dt-bindings: net: adin: document phy clock output properties")
> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>

Got the same fix from Geert already, applying to netdev/net now:

https://lore.kernel.org/all/6fcef2665a6cd86a021509a84c5956ec2efd93ed.1653401420.git.geert+renesas@glider.be/
Chris Packham May 26, 2022, 5:05 a.m. UTC | #2
On 26/05/22 17:02, Jakub Kicinski wrote:
> On Thu, 26 May 2022 16:57:40 +1200 Chris Packham wrote:
>> YAML doesn't like colons (:) in text. Use a block scalar so that the
>> colon in the description text doesn't cause a parse error.
>>
>> Fixes: 1f77204e11f8 ("dt-bindings: net: adin: document phy clock output properties")
>> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
> Got the same fix from Geert already, applying to netdev/net now:
>
> https://lore.kernel.org/all/6fcef2665a6cd86a021509a84c5956ec2efd93ed.1653401420.git.geert+renesas@glider.be/

Good. Sorry for the noise.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/adi,adin.yaml b/Documentation/devicetree/bindings/net/adi,adin.yaml
index 77750df0c2c4..88611720545d 100644
--- a/Documentation/devicetree/bindings/net/adi,adin.yaml
+++ b/Documentation/devicetree/bindings/net/adi,adin.yaml
@@ -37,7 +37,8 @@  properties:
     default: 8
 
   adi,phy-output-clock:
-    description: Select clock output on GP_CLK pin. Two clocks are available:
+    description: |
+      Select clock output on GP_CLK pin. Two clocks are available:
       A 25MHz reference and a free-running 125MHz.
       The phy can alternatively automatically switch between the reference and
       the 125MHz clocks based on its internal state.