[irqchip: irq/irqchip-next] dt-bindings: gpio: change items restriction of clock for rockchip,gpio-bank

From: irqchip-bot for Jianqun Xu
Date: Wed Aug 18 2021 - 15:57:47 EST


The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID: 75d1415ea57c1b0e87f786e85e5f478fab5c91be
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/75d1415ea57c1b0e87f786e85e5f478fab5c91be
Author: Jianqun Xu <jay.xu@xxxxxxxxxxxxxx>
AuthorDate: Mon, 16 Aug 2021 09:19:43 +08:00
Committer: Linus Walleij <linus.walleij@xxxxxxxxxx>
CommitterDate: Tue, 17 Aug 2021 01:01:49 +02:00

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 <jay.xu@xxxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20210816011948.1118959-5-jay.xu@xxxxxxxxxxxxxx
Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
---
Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml b/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml
index d993e00..0d62c28 100644
--- a/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml
+++ b/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml
@@ -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