summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@collabora.com>2023-07-18 12:09:14 +0300
committerJakub Kicinski <kuba@kernel.org>2023-07-20 06:58:42 +0300
commit51318bf443955b083d12ab7d7a168e18ea6e14da (patch)
tree06d2b9b89ce1411e4e74f1ed165fe0b669768f27 /Documentation
parent2faf5ad2682d4fadf9fb51d2745e3c6c05cb4502 (diff)
downloadlinux-51318bf443955b083d12ab7d7a168e18ea6e14da.tar.xz
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: Eugen Hristev <eugen.hristev@collabora.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230718090914.282293-1-eugen.hristev@collabora.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/rockchip-dwmac.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
index 176ea5f90251..bb943c96c196 100644
--- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
@@ -80,6 +80,7 @@ properties:
"output" means GMAC provides the reference clock.
$ref: /schemas/types.yaml#/definitions/string
enum: [input, output]
+ default: input
rockchip,grf:
description: The phandle of the syscon node for the general register file.