dt-bindings: net: adin: Escape a trailing ":"
PATCH 1/1 dt-bindings: net: adin: Escape a trailing ":"
From: Palmer Dabbelt <[email protected]>
1f77204e11f8 ("dt-bindings: net: adin: document phy clock output properties") added a line with a ":" at the end, which is tripping up my attempts to run the DT schema checks due to this being invalid YAML syntax. I get a schema check failure with the following error
ruamel.yaml.scanner.ScannerError: mapping values are not allowed in this context
This just escapes the line in question, so it can parse.
--- Documentation/devicetree/bindings/net/adi,adin.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/net/adi,adin.yaml +2 -1
@@ -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.
Signature · 1 line
2.34.1
Rob Herring
maintainerQuoted 9 lines · Palmer Dabbelt
From: Palmer Dabbelt <[email protected]>
1f77204e11f8("dt-bindings: net: adin: document phy clock output properties") added a line with a ":" at the end, which is tripping up my attempts to run the DT schema checks due to this being invalid YAML syntax. I get a schema check failure with the following errorruamel.yaml.scanner.ScannerError: mapping values are not allowed in this context
Quoted 7 lines
This just escapes the line in question, so it can parse.
Fixes 1f77204e11f8 ("dt-bindings: net: adin: document phy clock output properties")Signed-off-by Palmer Dabbelt <[email protected]>--- Documentation/devicetree/bindings/net/adi,adin.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Already have a fix queued in netdev.
Rob
Quoted 12 lines · Rob Herring
Quoted 11 lines · Palmer Dabbelt
From: Palmer Dabbelt <[email protected]>
1f77204e11f8("dt-bindings: net: adin: document phy clock output properties") added a line with a ":" at the end, which is tripping up my attempts to run the DT schema checks due to this being invalid YAML syntax. I get a schema check failure with the following errorruamel.yaml.scanner.ScannerError: mapping values are not allowed in this context
This just escapes the line in question, so it can parse.
Quoted 7 lines
Quoted 5 lines
Fixes 1f77204e11f8 ("dt-bindings: net: adin: document phy clock output properties")Signed-off-by Palmer Dabbelt <[email protected]>--- Documentation/devicetree/bindings/net/adi,adin.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)Already have a fix queued in netdev.
OK, thanks!