dt-bindings: gpio: change items restriction of clock for rockchip,gpio-bank
authorJianqun Xu <jay.xu@rock-chips.com>
Mon, 16 Aug 2021 01:19:43 +0000 (09:19 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 16 Aug 2021 23:01:49 +0000 (01:01 +0200)
In the past we only need on clock which name "pclk" for a gpio controller.
In the new version gpio controller, there add some register to change
debounce clock dynamic, so the dt node needs to add the second clock, we
call it "dbclk".

The clock property need 2 items on some rockchip chips such as RK3568
SoCs.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Link: https://lore.kernel.org/r/20210816011948.1118959-5-jay.xu@rock-chips.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml

index d993e002cebee41bb4fa4044a76a204fe7e935ba..0d62c28fb58d3de72d96ecc208de0c0d42734249 100644 (file)
@@ -22,7 +22,10 @@ properties:
     maxItems: 1
 
   clocks:
-    maxItems: 1
+    minItems: 1
+    items:
+      - description: APB interface clock source
+      - description: GPIO debounce reference clock source
 
   gpio-controller: true