From: Krzysztof Kozlowski <krzk@kernel.org>
To: Danila Tikhonov <danila@jiaxyga.com>,
andersson@kernel.org, mturquette@baylibre.com, sboyd@kernel.org,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
p.zabel@pengutronix.de, vkoul@kernel.org,
vladimir.zapolskiy@linaro.org, quic_jkona@quicinc.com,
dmitry.baryshkov@linaro.org, konradybcio@kernel.org,
quic_tdas@quicinc.com
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux@mainlining.org
Subject: Re: [PATCH 01/10] dt-bindings: clock: qcom,gcc-sm8450: Add SM8475 GCC bindings
Date: Fri, 2 Aug 2024 09:30:44 +0200 [thread overview]
Message-ID: <f49ea851-4b06-4e33-8a08-04f2ca8f9808@kernel.org> (raw)
In-Reply-To: <20240731175919.20333-2-danila@jiaxyga.com>
On 31/07/2024 19:59, Danila Tikhonov wrote:
> Add SM8475 GCC bindings, which are simply a symlink to the SM8450
> bindings. Update the documentation with the new compatible.
>
> Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
> ---
> .../devicetree/bindings/clock/qcom,gcc-sm8450.yaml | 8 ++++++--
> include/dt-bindings/clock/qcom,gcc-sm8450.h | 2 ++
> include/dt-bindings/clock/qcom,sm8475-gcc.h | 1 +
> 3 files changed, 9 insertions(+), 2 deletions(-)
> create mode 120000 include/dt-bindings/clock/qcom,sm8475-gcc.h
>
> diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml
> index d848361beeb3..c7d75ee2a23b 100644
> --- a/Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml
> +++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml
> @@ -13,11 +13,15 @@ description: |
> Qualcomm global clock control module provides the clocks, resets and power
> domains on SM8450
>
> - See also:: include/dt-bindings/clock/qcom,gcc-sm8450.h
> + See also::
You can use one : (:: -> :). That was a mistake to use double colons.
> + include/dt-bindings/clock/qcom,gcc-sm8450.h
> + include/dt-bindings/clock/qcom,sm8475-gcc.h
>
> properties:
> compatible:
> - const: qcom,gcc-sm8450
> + enum:
> + - qcom,gcc-sm8450
> + - qcom,sm8475-gcc
>
> clocks:
> items:
> diff --git a/include/dt-bindings/clock/qcom,gcc-sm8450.h b/include/dt-bindings/clock/qcom,gcc-sm8450.h
> index 9679410843a0..5f1f9ab71a22 100644
> --- a/include/dt-bindings/clock/qcom,gcc-sm8450.h
> +++ b/include/dt-bindings/clock/qcom,gcc-sm8450.h
> @@ -194,6 +194,8 @@
> #define GCC_VIDEO_AXI0_CLK 182
> #define GCC_VIDEO_AXI1_CLK 183
> #define GCC_VIDEO_XO_CLK 184
> +#define GCC_GPLL2 185
> +#define GCC_GPLL3 186
Are these valid for sm8450?
>
> /* GCC resets */
> #define GCC_CAMERA_BCR 0
> diff --git a/include/dt-bindings/clock/qcom,sm8475-gcc.h b/include/dt-bindings/clock/qcom,sm8475-gcc.h
> new file mode 120000
> index 000000000000..daafdd881892
> --- /dev/null
> +++ b/include/dt-bindings/clock/qcom,sm8475-gcc.h
If the bindings are the same... then why having separate header? I
suggest dropping it.
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-08-02 7:30 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-31 17:59 [PATCH 00/10] Add SM8475 clock controller drivers Danila Tikhonov
2024-07-31 17:59 ` [PATCH 01/10] dt-bindings: clock: qcom,gcc-sm8450: Add SM8475 GCC bindings Danila Tikhonov
2024-07-31 23:10 ` Vladimir Zapolskiy
2024-08-02 7:30 ` Krzysztof Kozlowski [this message]
2024-07-31 17:59 ` [PATCH 02/10] clk: qcom: gcc-sm8450: Add SM8475 support Danila Tikhonov
2024-07-31 17:59 ` [PATCH 03/10] dt-bindings: clock: qcom,sm8450-dispcc: Add SM8475 DISPCC bindings Danila Tikhonov
2024-07-31 23:12 ` Vladimir Zapolskiy
2024-08-02 7:31 ` Krzysztof Kozlowski
2024-07-31 17:59 ` [PATCH 04/10] clk: qcom: dispcc-sm8450: Add SM8475 support Danila Tikhonov
2024-07-31 17:59 ` [PATCH 05/10] dt-bindings: clock: qcom,sm8450-gpucc: Add SM8475 GPUCC bindings Danila Tikhonov
2024-07-31 23:13 ` Vladimir Zapolskiy
2024-07-31 17:59 ` [PATCH 06/10] clk: qcom: gpucc-sm8450: Add SM8475 support Danila Tikhonov
2024-07-31 17:59 ` [PATCH 07/10] dt-bindings: clock: qcom,sm8450-videocc: Add SM8475 VIDEOCC bindings Danila Tikhonov
2024-07-31 23:13 ` Vladimir Zapolskiy
2024-07-31 17:59 ` [PATCH 08/10] clk: qcom: videocc-sm8450: Add SM8475 support Danila Tikhonov
2024-08-01 8:27 ` Dmitry Baryshkov
2024-07-31 17:59 ` [PATCH 09/10] dt-bindings: clock: qcom,sm8450-camcc: Add SM8475 CAMCC bindings Danila Tikhonov
2024-07-31 23:14 ` Vladimir Zapolskiy
2024-07-31 17:59 ` [PATCH 10/10] clk: qcom: camcc-sm8450: Add SM8475 support Danila Tikhonov
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=f49ea851-4b06-4e33-8a08-04f2ca8f9808@kernel.org \
--to=krzk@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=danila@jiaxyga.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@mainlining.org \
--cc=mturquette@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=quic_jkona@quicinc.com \
--cc=quic_tdas@quicinc.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=vkoul@kernel.org \
--cc=vladimir.zapolskiy@linaro.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).