From: Yu Tu <yu.tu@amlogic.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
<linux-clk@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-amlogic@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Neil Armstrong <narmstrong@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Kevin Hilman <khilman@baylibre.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Subject: Re: [PATCH 1/3] dt-bindings: clk: meson: add S4 SoC clock controller bindings
Date: Tue, 19 Jul 2022 13:55:47 +0800 [thread overview]
Message-ID: <6daf3b5c-cdf9-d5d0-894c-774b80e866ff@amlogic.com> (raw)
In-Reply-To: <b7a33482-9bce-7ab1-43cb-3c93a5282490@linaro.org>
Hi Krzysztof,
Thank you for your advice.
On 2022/7/12 17:40, Krzysztof Kozlowski wrote:
> [ EXTERNAL EMAIL ]
>
> On 08/07/2022 08:27, Yu Tu wrote:
>> Add new clock controller compatible and dt-bindings header for the
>> Everything-Else domain of the S4 SoC.
>>
>> Signed-off-by: Yu Tu <yu.tu@amlogic.com>
>> ---
>> .../bindings/clock/amlogic,gxbb-clkc.txt | 1 +
>> MAINTAINERS | 1 +
>> include/dt-bindings/clock/s4-clkc.h | 354 ++++++++++++++++++
>> 3 files changed, 356 insertions(+)
>> create mode 100644 include/dt-bindings/clock/s4-clkc.h
>>
>> diff --git a/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt b/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt
>> index 7ccecd5c02c1..301b43dea912 100644
>> --- a/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt
>> +++ b/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt
>> @@ -12,6 +12,7 @@ Required Properties:
>> "amlogic,g12a-clkc" for G12A SoC.
>> "amlogic,g12b-clkc" for G12B SoC.
>> "amlogic,sm1-clkc" for SM1 SoC.
>> + "amlogic,s4-clkc" for S4 SoC.
>> - clocks : list of clock phandle, one for each entry clock-names.
>> - clock-names : should contain the following:
>> * "xtal": the platform xtal
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index c1abc53f9e91..e4ca46c5c8a1 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -1775,6 +1775,7 @@ F: Documentation/devicetree/bindings/clock/amlogic*
>> F: drivers/clk/meson/
>> F: include/dt-bindings/clock/gxbb*
>> F: include/dt-bindings/clock/meson*
>> +F: include/dt-bindings/clock/s*
>>
>> ARM/Amlogic Meson SoC Crypto Drivers
>> M: Corentin Labbe <clabbe@baylibre.com>
>> diff --git a/include/dt-bindings/clock/s4-clkc.h b/include/dt-bindings/clock/s4-clkc.h
>> new file mode 100644
>> index 000000000000..8b46d54d79fe
>> --- /dev/null
>> +++ b/include/dt-bindings/clock/s4-clkc.h
>> @@ -0,0 +1,354 @@
>> +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
>> +/*
>> + * Copyright (c) 2021 Amlogic, Inc. All rights reserved.
>> + * Author: Yu Tu <yu.tu@amlogic.com>
>> + */
>> +
>> +#ifndef __S4_CLKC_H
>> +#define __S4_CLKC_H
>
> Use header guards mathcing paths. See other files for examples.
I will correct it.
>
>> +
>> +/*
>> + * CLKID index values
>> + */
>> +
>> +#define CLKID_PLL_BASE 0
>> +#define CLKID_FIXED_PLL_DCO (CLKID_PLL_BASE + 0)
>
> Drop CLKID_PLL_BASE
I will correct it.
>
>> +#define CLKID_FIXED_PLL (CLKID_PLL_BASE + 1)
>
> ditto... and so on.
I will correct it.
>
>
> Best regards,
> Krzysztof
>
> .
next prev parent reply other threads:[~2022-07-19 5:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-08 6:27 [PATCH 0/3] Add S4 SoC clock controller driver Yu Tu
2022-07-08 6:27 ` [PATCH 1/3] dt-bindings: clk: meson: add S4 SoC clock controller bindings Yu Tu
2022-07-11 12:25 ` Jerome Brunet
2022-07-19 5:30 ` Yu Tu
2022-07-12 9:40 ` Krzysztof Kozlowski
2022-07-19 5:55 ` Yu Tu [this message]
2022-07-08 6:27 ` [PATCH 2/3] arm64: dts: meson: add S4 Soc clock controller in DT Yu Tu
2022-07-12 9:41 ` Krzysztof Kozlowski
2022-07-19 5:57 ` Yu Tu
2022-07-08 6:27 ` [PATCH 3/3] clk: meson: s4: add s4 SoC clock controller driver Yu Tu
2022-07-11 12:22 ` Jerome Brunet
2022-07-19 5:53 ` Yu Tu
2022-07-12 9:44 ` Krzysztof Kozlowski
2022-07-19 6:02 ` Yu Tu
2022-07-19 6:29 ` Krzysztof Kozlowski
2022-07-19 6:58 ` Yu Tu
2022-07-19 7:29 ` Krzysztof Kozlowski
2022-07-19 7:33 ` Yu Tu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6daf3b5c-cdf9-d5d0-894c-774b80e866ff@amlogic.com \
--to=yu.tu@amlogic.com \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=mturquette@baylibre.com \
--cc=narmstrong@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).