]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: net: fsl,fec: Add missing types to phy-reset-* properties
authorRob Herring <robh@kernel.org>
Tue, 19 Jul 2022 21:51:08 +0000 (15:51 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Jul 2022 11:38:16 +0000 (12:38 +0100)
The phy-reset-* properties are missing type definitions and are not common
properties. Even though they are deprecated, a type is needed.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/fsl,fec.yaml

index daa2f79a294f534846243d80878566346e0401e5..1b1853062cd3f0ddde040b91154c5e2e5f532606 100644 (file)
@@ -183,6 +183,7 @@ properties:
       Should specify the gpio for phy reset.
 
   phy-reset-duration:
+    $ref: /schemas/types.yaml#/definitions/uint32
     deprecated: true
     description:
       Reset duration in milliseconds.  Should present only if property
@@ -191,12 +192,14 @@ properties:
       and 1 millisecond will be used instead.
 
   phy-reset-active-high:
+    type: boolean
     deprecated: true
     description:
       If present then the reset sequence using the GPIO specified in the
       "phy-reset-gpios" property is reversed (H=reset state, L=operation state).
 
   phy-reset-post-delay:
+    $ref: /schemas/types.yaml#/definitions/uint32
     deprecated: true
     description:
       Post reset delay in milliseconds. If present then a delay of phy-reset-post-delay