[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <efe20cbf-485c-548c-933c-ffddb6c81d02@linaro.org>
Date: Thu, 11 Aug 2022 11:50:05 +0300
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Markus Schneider-Pargmann <msp@...libre.com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Fabien Parent <parent.f@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
Cc: linux-clk@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
Fabien Parent <fparent@...libre.com>
Subject: Re: [PATCH v3 1/4] dt-bindings: clock: mediatek: add bindings for
MT8365 SoC
On 11/08/2022 11:44, Markus Schneider-Pargmann wrote:
> From: Fabien Parent <fparent@...libre.com>
>
> Add the clock bindings for the MediaTek MT8365 SoC.
>
> Signed-off-by: Fabien Parent <fparent@...libre.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> Signed-off-by: Markus Schneider-Pargmann <msp@...libre.com>
> ---
> .../bindings/clock/mediatek,mt8365-clock.yaml | 42 ++
> .../clock/mediatek,mt8365-sys-clock.yaml | 47 +++
> .../dt-bindings/clock/mediatek,mt8365-clk.h | 374 ++++++++++++++++++
> 3 files changed, 463 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/clock/mediatek,mt8365-clock.yaml
> create mode 100644 Documentation/devicetree/bindings/clock/mediatek,mt8365-sys-clock.yaml
> create mode 100644 include/dt-bindings/clock/mediatek,mt8365-clk.h
>
> diff --git a/Documentation/devicetree/bindings/clock/mediatek,mt8365-clock.yaml b/Documentation/devicetree/bindings/clock/mediatek,mt8365-clock.yaml
> new file mode 100644
> index 000000000000..31cd248e772b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/mediatek,mt8365-clock.yaml
> @@ -0,0 +1,42 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: "http://devicetree.org/schemas/clock/mediatek,mt8365-clock.yaml#"
> +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
No quotes needed in both lines.
> +
> +title: MediaTek Functional Clock Controller for MT8365
> +
> +maintainers:
> + - Fabien Parent <fparent@...libre.com>
Are you sure this is correct and working email? Let's try not to add
non-existing emails to Git maintainers. It's a bit of pain to fix it
later. :/
> +
> +properties:
> + compatible:
> + items:
> + - enum:
> + - mediatek,mt8365-apu
> + - mediatek,mt8365-imgsys
> + - mediatek,mt8365-mfgcfg
> + - mediatek,mt8365-vdecsys
> + - mediatek,mt8365-vencsys
> + - const: syscon
> +
> + reg:
> + maxItems: 1
> +
> + '#clock-cells':
> + const: 1
> +
> +required:
> + - compatible
> + - reg
> + - '#clock-cells'
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + apu: clock-controller@...20000 {
> + compatible = "mediatek,mt8365-apu", "syscon";
> + reg = <0x19020000 0x1000>;
> + #clock-cells = <1>;
> + };
> diff --git a/Documentation/devicetree/bindings/clock/mediatek,mt8365-sys-clock.yaml b/Documentation/devicetree/bindings/clock/mediatek,mt8365-sys-clock.yaml
> new file mode 100644
> index 000000000000..4292a2fd1489
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/mediatek,mt8365-sys-clock.yaml
> @@ -0,0 +1,47 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: "http://devicetree.org/schemas/clock/mediatek,mt8365-sys-clock.yaml#"
> +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
No quotes.
> +
> +title: MediaTek System Clock Controller for MT8365
> +
> +maintainers:
> + - Fabien Parent <fparent@...libre.com>
Ekh...
> +
> +description:
> + The apmixedsys module provides most of PLLs which generated from SoC 26m.
> + The topckgen provides dividers and muxes which provides the clock source to other IP blocks.
> + The infracfg_ao and pericfg_ao provides clock gate in peripheral and infrastructure IP blocks.
> +
> +properties:
> + compatible:
> + items:
> + - enum:
> + - mediatek,mt8365-topckgen
> + - mediatek,mt8365-infracfg
> + - mediatek,mt8365-apmixedsys
> + - mediatek,mt8365-pericfg
> + - mediatek,mt8365-mcucfg
> + - const: syscon
> +
> + reg:
> + maxItems: 1
> +
> + '#clock-cells':
> + const: 1
> +
> +required:
> + - compatible
> + - reg
> + - '#clock-cells'
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + topckgen: clock-controller@...00000 {
> + compatible = "mediatek,mt8365-topckgen", "syscon";
> + reg = <0x10000000 0x1000>;
> + #clock-cells = <1>;
> + };
> diff --git a/include/dt-bindings/clock/mediatek,mt8365-clk.h b/include/dt-bindings/clock/mediatek,mt8365-clk.h
> new file mode 100644
> index 000000000000..aa8a0366caae
> --- /dev/null
> +++ b/include/dt-bindings/clock/mediatek,mt8365-clk.h
> @@ -0,0 +1,374 @@
> +/* SPDX-License-Identifier: GPL-2.0
Can you dual-license it?
> + *
> + * Copyright (c) 2022 MediaTek Inc.
Best regards,
Krzysztof
Powered by blists - more mailing lists