Skip to content

Commit 75d1415

Browse files
jayxurockchiplinusw
authored andcommitted
dt-bindings: gpio: change items restriction of clock for rockchip,gpio-bank
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 5f82afd commit 75d1415

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ properties:
2222
maxItems: 1
2323

2424
clocks:
25-
maxItems: 1
25+
minItems: 1
26+
items:
27+
- description: APB interface clock source
28+
- description: GPIO debounce reference clock source
2629

2730
gpio-controller: true
2831

0 commit comments

Comments
 (0)