dt-bindings: phy: hisilicon: Fix 'hisilicon,eye-diagram-param' differing types
authorRob Herring <robh@kernel.org>
Wed, 25 Jan 2023 22:14:43 +0000 (16:14 -0600)
committerRob Herring <robh@kernel.org>
Fri, 3 Feb 2023 00:05:57 +0000 (18:05 -0600)
'hisilicon,eye-diagram-param' is also defined in
hisilicon,phy-hi3670-pcie.yaml as a 'uint32-array'. Unify it to use
'uint32-array' everywhere.

Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Link: https://lore.kernel.org/r/20230125221444.3058631-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/phy/hisilicon,hi3660-usb3.yaml
Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml

index 20b79e2e8b8202ce3d0a44b57730222cea736a18..b11d9873854a1539c480443c8b1e86052a8928ec 100644 (file)
@@ -27,7 +27,8 @@ properties:
     description: phandle of syscon used to control usb tcxo.
 
   hisilicon,eye-diagram-param:
-    $ref: /schemas/types.yaml#/definitions/uint32
+    $ref: /schemas/types.yaml#/definitions/uint32-array
+    maxItems: 1
     description: Eye diagram for phy.
 
 required:
index 1cb00dbcd4c505035152180e407e363f38552f6d..3c69aca6c7eb6bd51b0a759da736badab0af7668 100644 (file)
@@ -32,7 +32,8 @@ properties:
     description: phandle of syscon used to control phy deep sleep.
 
   hisilicon,eye-diagram-param:
-    $ref: /schemas/types.yaml#/definitions/uint32
+    $ref: /schemas/types.yaml#/definitions/uint32-array
+    maxItems: 1
     description: Eye diagram for phy.
 
   hisilicon,tx-vboost-lvl: