Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Sreeshankar K <sreeshankar0910@gmail.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>, Stephen Boyd <sboyd@kernel.org>,
	Brian Masney <bmasney+clk@redhat.com>,
	Jerome Brunet <jbrunet+clk@baylibre.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Amit Kucheria <amitk@kernel.org>,
	Thara Gopinath <thara.gopinath@gmail.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Daniel Lezcano <daniel.lezcano@kernel.org>,
	Zhang Rui <rui.zhang@intel.com>,
	Lukasz Luba <lukasz.luba@arm.com>,
	Robert Marko <robimarko@gmail.com>,
	Guru Das Srinagesh <linux@gurudas.dev>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	Manivannan Sadhasivam <mani@kernel.org>,
	linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-pm@vger.kernel.org,
	Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>,
	Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Subject: Re: [PATCH v17 1/8] dt-bindings: clock: Add SM7250 global clock controller
Date: Wed, 2 Dec 2026 09:53:09 +0100	[thread overview]
Message-ID: <20261202085309.GA156511@pevik> (raw)
In-Reply-To: <20261201-sm7250-v17-1-1477c54422e1@gmail.com>

Hi Sreeshankar,

> Add device tree bindings for global clock controller on SM7250 SoC.

> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> Reviewed-by: Petr Vorel <pvorel@suse.cz>
> Signed-off-by: Sreeshankar K <sreeshankar0910@gmail.com>
> ---
>  .../devicetree/bindings/clock/qcom,gcc-sm6350.yaml |  13 +-
>  include/dt-bindings/clock/qcom,gcc-sm7250.h        | 163 +++++++++++++++++++++
>  2 files changed, 172 insertions(+), 4 deletions(-)

> diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sm6350.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sm6350.yaml
> index 098a108b8..ee9cb8759 100644
> --- a/Documentation/devicetree/bindings/clock/qcom,gcc-sm6350.yaml
> +++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sm6350.yaml
> @@ -4,20 +4,25 @@
>  $id: http://devicetree.org/schemas/clock/qcom,gcc-sm6350.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#

> -title: Qualcomm Global Clock & Reset Controller on SM6350
> +title: Qualcomm Global Clock & Reset Controller on SM6350 and SM7250

>  maintainers:
>    - Konrad Dybcio <konradybcio@kernel.org>
> +  - Sreeshankar K <sreeshankar0910@gmail.com>

>  description: |
>    Qualcomm global clock control module provides the clocks, resets and power
> -  domains on SM6350.
> +  domains on SM6350 and SM7250.

> -  See also: include/dt-bindings/clock/qcom,gcc-sm6350.h
> +  See also:
> +    - include/dt-bindings/clock/qcom,gcc-sm6350.h
> +    - include/dt-bindings/clock/qcom,gcc-sm7250.h

Maybe qcom,gcc-sm7250.h would be worth to rename to qcom,sm7250-gcc.h ("gcc" at
the end). Quoting Dmitry [1] replying to my question in the past:

	> I noticed GCC headers file names for SM* SoC have 2 patterns: "qcom,gcc-sm*" and
	> "qcom,sm*-gcc":

	The second form is the preferred one as can be seen by the platforms
	(and time of creation).

[1] https://lore.kernel.org/linux-arm-msm/jioy2avjhyo2g7m6igrr3opikbnpp32heucpamiebqbx3udvlj@itrwcbog2m5w/

>  properties:
>    compatible:
> -    const: qcom,gcc-sm6350
> +    enum:
> +      - qcom,gcc-sm6350
> +      - qcom,gcc-sm7250

>    clocks:
>      items:
> diff --git a/include/dt-bindings/clock/qcom,gcc-sm7250.h b/include/dt-bindings/clock/qcom,gcc-sm7250.h
> new file mode 100644
> index 000000000..ae81f445c
> --- /dev/null
> +++ b/include/dt-bindings/clock/qcom,gcc-sm7250.h
> @@ -0,0 +1,163 @@
> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
> +/*
> + * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
> + * Copyright (c) 2026, Sreeshankar K <sreeshankar0910@gmail.com>
> + */
> +
> +#ifndef _DT_BINDINGS_CLK_QCOM_GCC_SM7250_H
> +#define _DT_BINDINGS_CLK_QCOM_GCC_SM7250_H
FYI Interestingly enough, all include/dt-bindings/clock/qcom,*-gcc.h files have
pattern _DT_BINDINGS_CLK_QCOM_GCC_SOC_H (e.g.
_DT_BINDINGS_CLK_QCOM_GCC_SM8650_H).

...

Kind regards,
Petr

  reply	other threads:[~2026-12-02  8:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 13:51 [PATCH v17 0/8] Add initial support for Qualcomm SM7250 SoC Sreeshankar K
2026-12-01 13:51 ` [PATCH v17 1/8] dt-bindings: clock: Add SM7250 global clock controller Sreeshankar K
2026-12-02  8:53   ` Petr Vorel [this message]
2026-12-01 13:51 ` [PATCH v17 2/8] clk: qcom: Add Global Clock Controller (GCC) driver for SM7250 Sreeshankar K
2026-12-02  7:52   ` [PATCH v17 2/8] clk: qcom: Add Global Clock Controller (GCC) Petr Vorel
2026-12-01 13:51 ` [PATCH v17 3/8] thermal/qcom/lmh: Switch to match data for SoC CPU-to-node mappings Sreeshankar K
2026-12-01 13:51 ` [PATCH v17 4/8] dt-bindings: thermal: lmh: Document SM7250 LMh Sreeshankar K
2026-12-01 13:51 ` [PATCH v17 5/8] thermal/qcom/lmh: Add support for Qualcomm SM7250 Sreeshankar K
2026-12-01 13:51 ` [PATCH v17 6/8] dt-bindings: firmware: qcom,scm: Document SM7250 SCM Sreeshankar K
2026-12-01 13:51 ` [PATCH v17 7/8] dt-bindings: cpufreq: qcom-hw: Document SM7250 cpufreq hardware Sreeshankar K
2026-12-01 13:51 ` [PATCH v17 8/8] arm64: dts: qcom: Add SM7250 devicetree file Sreeshankar K
2026-12-01 13:54 ` [PATCH v17 0/8] Add initial support for Qualcomm SM7250 SoC Konrad Dybcio
2026-12-01 14:54   ` Petr Vorel

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=20261202085309.GA156511@pevik \
    --to=pvorel@suse.cz \
    --cc=abelvesa@kernel.org \
    --cc=amitk@kernel.org \
    --cc=andersson@kernel.org \
    --cc=bmasney+clk@redhat.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel.lezcano@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=jbrunet+clk@baylibre.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux@gurudas.dev \
    --cc=lukasz.luba@arm.com \
    --cc=mani@kernel.org \
    --cc=rafael@kernel.org \
    --cc=robh@kernel.org \
    --cc=robimarko@gmail.com \
    --cc=rui.zhang@intel.com \
    --cc=sboyd@kernel.org \
    --cc=sreeshankar0910@gmail.com \
    --cc=thara.gopinath@gmail.com \
    --cc=viresh.kumar@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