Devicetree
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: net: adin: use YAML block scalar to avoid parse issue
@ 2022-05-26  4:57 Chris Packham
  2022-05-26  5:02 ` Jakub Kicinski
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Packham @ 2022-05-26  4:57 UTC (permalink / raw)
  To: michael.hennerich, davem, edumazet, kuba, pabeni, robh+dt,
	krzysztof.kozlowski+dt, alexandru.ardelean, josua
  Cc: netdev, devicetree, linux-kernel, Chris Packham

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(-)

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.
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: net: adin: use YAML block scalar to avoid parse issue
  2022-05-26  4:57 [PATCH] dt-bindings: net: adin: use YAML block scalar to avoid parse issue Chris Packham
@ 2022-05-26  5:02 ` Jakub Kicinski
  2022-05-26  5:05   ` Chris Packham
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Kicinski @ 2022-05-26  5:02 UTC (permalink / raw)
  To: Chris Packham
  Cc: michael.hennerich, davem, edumazet, pabeni, robh+dt,
	krzysztof.kozlowski+dt, alexandru.ardelean, josua, netdev,
	devicetree, linux-kernel

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: net: adin: use YAML block scalar to avoid parse issue
  2022-05-26  5:02 ` Jakub Kicinski
@ 2022-05-26  5:05   ` Chris Packham
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Packham @ 2022-05-26  5:05 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: davem@davemloft.net, edumazet@google.com, pabeni@redhat.com,
	robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	josua@solid-run.com, netdev@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-26  5:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-26  4:57 [PATCH] dt-bindings: net: adin: use YAML block scalar to avoid parse issue Chris Packham
2022-05-26  5:02 ` Jakub Kicinski
2022-05-26  5:05   ` Chris Packham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox