[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8119974.jRhZ6ZUK3Y@diego>
Date: Wed, 07 Sep 2022 16:32:49 +0200
From: Heiko Stübner <heiko@...ech.de>
To: linus.walleij@...aro.org, Jianqun Xu <jay.xu@...k-chips.com>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
linux-gpio@...r.kernel.org, linux-rockchip@...ts.infradead.org,
Jianqun Xu <jay.xu@...k-chips.com>
Subject: Re: [PATCH 1/2] dt-bindings: gpio: rockchip: add clock-names
Am Freitag, 2. September 2022, 08:04:25 CEST schrieb Jianqun Xu:
> Add 'clock-names' to the gpio dt node. so the driver could get clocks by
> a const char id, this patch names the clock-names as
> - 'bus': the apb clock for cpu to access the gpio controller
> - 'db': the debounce clock for cpu to set debounce clock rate
>
> Since the old dt nodes may have no clock-names, this patch not make them
> as part of 'required properties'.
>
> Signed-off-by: Jianqun Xu <jay.xu@...k-chips.com>
Acked-by: Heiko Stuebner <heiko@...ech.de>
> ---
> .../devicetree/bindings/gpio/rockchip,gpio-bank.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml b/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml
> index affd823c881d..d43d4c71bebf 100644
> --- a/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml
> +++ b/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml
> @@ -27,6 +27,12 @@ properties:
> - description: APB interface clock source
> - description: GPIO debounce reference clock source
>
> + clock-names:
> + minItems: 1
> + items:
> + - const: bus
> + - const: db
> +
> gpio-ranges: true
>
> gpio-controller: true
>
Powered by blists - more mailing lists