Commit 51318bf4 authored by Eugen Hristev's avatar Eugen Hristev Committed by Jakub Kicinski

dt-bindings: net: rockchip-dwmac: add default 'input' for clock_in_out

'clock_in_out' property is optional, and it can be one of two enums.
The binding does not specify what is the behavior when the property is
missing altogether.
Hence, add a default value that the driver can use.
Signed-off-by: default avatarEugen Hristev <eugen.hristev@collabora.com>
Reviewed-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230718090914.282293-1-eugen.hristev@collabora.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 2faf5ad2
...@@ -80,6 +80,7 @@ properties: ...@@ -80,6 +80,7 @@ properties:
"output" means GMAC provides the reference clock. "output" means GMAC provides the reference clock.
$ref: /schemas/types.yaml#/definitions/string $ref: /schemas/types.yaml#/definitions/string
enum: [input, output] enum: [input, output]
default: input
rockchip,grf: rockchip,grf:
description: The phandle of the syscon node for the general register file. description: The phandle of the syscon node for the general register file.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment