[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <450c73ad-0008-1e32-6081-00ef54072dc1@loongson.cn>
Date: Wed, 9 Nov 2022 17:11:49 +0800
From: Yinbo Zhu <zhuyinbo@...ngson.cn>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Huacai Chen <chenhuacai@...nel.org>,
WANG Xuerui <kernel@...0n.name>,
Jiaxun Yang <jiaxun.yang@...goat.com>,
Jianmin Lv <lvjianmin@...ngson.cn>,
Yang Li <yang.lee@...ux.alibaba.com>,
linux-clk@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, loongarch@...ts.linux.dev
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: Re: [PATCH v9 3/3] dt-bindings: clock: add loongson-2 clock
Hi maintainer,
Please help me merge this patch to upstream.
thanks,
Yinbo.
在 2022/11/3 下午1:00, Yinbo Zhu 写道:
> Add the Loongson-2 clock binding with DT schema format using
> json-schema.
>
> Signed-off-by: Yinbo Zhu <zhuyinbo@...ngson.cn>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> ---
> Change in v9:
> 1. Add all history changlog information.
> Change in v8:
> 1. NO change, but other patch in this series of patches has
> changes.
> Change in v7:
> 1. NO change, but other patch in this series of patches has
> changes.
> Change in v6:
> 1. NO change, but other patch in this series of patches has
> changes.
> Change in v5:
> 1. NO change, but other patch in this series of patches has
> changes.
> Change in v4:
> 1. NO change, but other patch in this series of patches has
> changes.
> Change in v3:
> 1. Drop redundant (last) binding from the title.
> 2. Drop "- |" between ref_100m node and clk node.
> Change in v2:
> 1. Drop "Binding" string in the title.
> 2. Drop entire allOf and move the contents to top level.
> 3. Change string "refclk_100m" to "ref_100m".
>
> .../bindings/clock/loongson,ls2k-clk.yaml | 63 +++++++++++++++++++
> MAINTAINERS | 1 +
> 2 files changed, 64 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml
>
> diff --git a/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml b/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml
> new file mode 100644
> index 000000000000..63a59015987e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml
> @@ -0,0 +1,63 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/clock/loongson,ls2k-clk.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Loongson-2 SoC Clock Control Module
> +
> +maintainers:
> + - Yinbo Zhu <zhuyinbo@...ngson.cn>
> +
> +description: |
> + Loongson-2 SoC clock control module is an integrated clock controller, which
> + generates and supplies to all modules.
> +
> +properties:
> + compatible:
> + enum:
> + - loongson,ls2k-clk
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + items:
> + - description: 100m ref
> +
> + clock-names:
> + items:
> + - const: ref_100m
> +
> + '#clock-cells':
> + const: 1
> + description:
> + The clock consumer should specify the desired clock by having the clock
> + ID in its "clocks" phandle cell. See include/dt-bindings/clock/loongson,ls2k-clk.h
> + for the full list of Loongson-2 SoC clock IDs.
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - clock-names
> + - '#clock-cells'
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + ref_100m: clock-ref-100m {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <100000000>;
> + clock-output-names = "ref_100m";
> + };
> +
> + clk: clock-controller@...00480 {
> + compatible = "loongson,ls2k-clk";
> + reg = <0x1fe00480 0x58>;
> + #clock-cells = <1>;
> + clocks = <&ref_100m>;
> + clock-names = "ref_100m";
> + };
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 8b3d7bb18350..7afaf6d72800 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -12022,6 +12022,7 @@ LOONGSON-2 SOC SERIES CLOCK DRIVER
> M: Yinbo Zhu <zhuyinbo@...ngson.cn>
> L: linux-clk@...r.kernel.org
> S: Maintained
> +F: Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml
> F: drivers/clk/clk-loongson2.c
> F: include/dt-bindings/clock/loongson,ls2k-clk.h
>
>
Powered by blists - more mailing lists