2021-07-26 01:36:19

by Jianqun Xu

[permalink] [raw]
Subject: [PATCH v7 4/9] dt-bindings: gpio: change items restriction of clock for rockchip,gpio-bank

From: Liang Chen <[email protected]>

The clock property need 2 items on some rockchip chips.

Signed-off-by: Liang Chen <[email protected]>
---
v7:
- none
v6:
- add to this serials

.../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 d993e002cebe..0d62c28fb58d 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

--
2.25.1




2021-07-26 22:21:20

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v7 4/9] dt-bindings: gpio: change items restriction of clock for rockchip,gpio-bank

On Mon, 26 Jul 2021 09:34:57 +0800, Jianqun Xu wrote:
> From: Liang Chen <[email protected]>
>
> The clock property need 2 items on some rockchip chips.
>
> Signed-off-by: Liang Chen <[email protected]>
> ---
> v7:
> - none
> v6:
> - add to this serials
>
> .../devicetree/bindings/gpio/rockchip,gpio-bank.yaml | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>

Acked-by: Rob Herring <[email protected]>