From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: Jingyi Wang <jingyi.wang@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
Jagadeesh Kona <quic_jkona@quicinc.com>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Taniya Das <taniya.das@oss.qualcomm.com>,
Konrad Dybcio <konradybcio@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org, aiqun.yu@oss.qualcomm.com,
tingwei.zhang@oss.qualcomm.com, trilok.soni@oss.qualcomm.com,
yijie.yang@oss.qualcomm.com
Subject: Re: [PATCH 5/9] dt-bindings: clock: qcom: document the Kaanapali GPU Clock Controller
Date: Thu, 25 Sep 2025 10:04:45 +0100 [thread overview]
Message-ID: <19c66c0e-e784-4403-abae-c4cd92f4a150@linaro.org> (raw)
In-Reply-To: <20250924-knp-mmclk-v1-5-d7ea96b4784a@oss.qualcomm.com>
On 25/09/2025 00:56, Jingyi Wang wrote:
> From: Taniya Das <taniya.das@oss.qualcomm.com>
>
> Add bindings documentation for the Kaanapali Graphics Clock and Graphics
> power domain Controller.
>
> Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com>
> Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
> ---
> .../bindings/clock/qcom,kaanapali-gxclkctl.yaml | 63 ++++++++++++++++++++++
> .../bindings/clock/qcom,sm8450-gpucc.yaml | 2 +
> include/dt-bindings/clock/qcom,kaanapali-gpucc.h | 47 ++++++++++++++++
> .../dt-bindings/clock/qcom,kaanapali-gxclkctl.h | 12 +++++
> 4 files changed, 124 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/clock/qcom,kaanapali-gxclkctl.yaml b/Documentation/devicetree/bindings/clock/qcom,kaanapali-gxclkctl.yaml
> new file mode 100644
> index 000000000000..31398aec839d
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/qcom,kaanapali-gxclkctl.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/qcom,kaanapali-gxclkctl.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm Graphics power domain Controller on Kaanapali
> +
> +maintainers:
> + - Taniya Das <taniya.das@oss.qualcomm.com>
> +
> +description: |
> + Qualcomm graphics power domain control module provides the power
> + domains on Qualcomm SoCs. This module exposes the GDSC power domain
> + which helps the recovery of Graphics subsystem.
> +
> + See also::
> + include/dt-bindings/clock/qcom,kaanapali-gxclkctl.h
> +
> +properties:
> + compatible:
> + enum:
> + - qcom,kaanapali-gxclkctl
> +
> + power-domains:
> + description:
> + Power domains required for the clock controller to operate
> + items:
> + - description: GFX power domain
> + - description: GMXC power domain
> + - description: GPUCC(CX) power domain
> +
> + '#power-domain-cells':
> + const: 1
> +
> + reg:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - power-domains
> + - '#power-domain-cells'
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/power/qcom,rpmhpd.h>
> + soc {
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + clock-controller@3d68024 {
> + compatible = "qcom,kaanapali-gxclkctl";
> + reg = <0 0x3d68024 0x0 0x8>;
> + power-domains = <&rpmhpd RPMHPD_GFX>,
> + <&rpmhpd RPMHPD_GMXC>,
> + <&gpucc 0>;
> + #power-domain-cells = <1>;
> + };
> + };
> +...
> diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml
> index 44380f6f8136..6feaa32569f9 100644
> --- a/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml
> +++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml
> @@ -14,6 +14,7 @@ description: |
> domains on Qualcomm SoCs.
>
> See also::
> + include/dt-bindings/clock/qcom,kaanapali-gpucc.h
> include/dt-bindings/clock/qcom,milos-gpucc.h
> include/dt-bindings/clock/qcom,sar2130p-gpucc.h
> include/dt-bindings/clock/qcom,sm4450-gpucc.h
> @@ -26,6 +27,7 @@ description: |
> properties:
> compatible:
> enum:
> + - qcom,kaanapali-gpucc
> - qcom,milos-gpucc
> - qcom,sar2130p-gpucc
> - qcom,sm4450-gpucc
> diff --git a/include/dt-bindings/clock/qcom,kaanapali-gpucc.h b/include/dt-bindings/clock/qcom,kaanapali-gpucc.h
> new file mode 100644
> index 000000000000..e8dc2009c71b
> --- /dev/null
> +++ b/include/dt-bindings/clock/qcom,kaanapali-gpucc.h
> @@ -0,0 +1,47 @@
> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
> +/*
> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
> + */
> +
> +#ifndef _DT_BINDINGS_CLK_QCOM_GPU_CC_KAANAPALI_H
> +#define _DT_BINDINGS_CLK_QCOM_GPU_CC_KAANAPALI_H
> +
> +/* GPU_CC clocks */
> +#define GPU_CC_AHB_CLK 0
> +#define GPU_CC_CB_CLK 1
> +#define GPU_CC_CX_ACCU_SHIFT_CLK 2
> +#define GPU_CC_CX_GMU_CLK 3
> +#define GPU_CC_CXO_AON_CLK 4
> +#define GPU_CC_CXO_CLK 5
> +#define GPU_CC_DEMET_CLK 6
> +#define GPU_CC_DPM_CLK 7
> +#define GPU_CC_FF_CLK_SRC 8
> +#define GPU_CC_FREQ_MEASURE_CLK 9
> +#define GPU_CC_GMU_CLK_SRC 10
> +#define GPU_CC_GPU_SMMU_VOTE_CLK 11
> +#define GPU_CC_GX_ACCU_SHIFT_CLK 12
> +#define GPU_CC_GX_GMU_CLK 13
> +#define GPU_CC_HUB_AON_CLK 14
> +#define GPU_CC_HUB_CLK_SRC 15
> +#define GPU_CC_HUB_CX_INT_CLK 16
> +#define GPU_CC_HUB_DIV_CLK_SRC 17
> +#define GPU_CC_MEMNOC_GFX_CLK 18
> +#define GPU_CC_PLL0 19
> +#define GPU_CC_PLL0_OUT_EVEN 20
> +#define GPU_CC_RSCC_HUB_AON_CLK 21
> +#define GPU_CC_RSCC_XO_AON_CLK 22
> +#define GPU_CC_SLEEP_CLK 23
> +
> +/* GPU_CC power domains */
> +#define GPU_CC_CX_GDSC 0
> +
> +/* GPU_CC resets */
> +#define GPU_CC_CB_BCR 0
> +#define GPU_CC_CX_BCR 1
> +#define GPU_CC_FAST_HUB_BCR 2
> +#define GPU_CC_FF_BCR 3
> +#define GPU_CC_GMU_BCR 4
> +#define GPU_CC_GX_BCR 5
> +#define GPU_CC_XO_BCR 6
> +
> +#endif
> diff --git a/include/dt-bindings/clock/qcom,kaanapali-gxclkctl.h b/include/dt-bindings/clock/qcom,kaanapali-gxclkctl.h
> new file mode 100644
> index 000000000000..460e21881c4f
> --- /dev/null
> +++ b/include/dt-bindings/clock/qcom,kaanapali-gxclkctl.h
> @@ -0,0 +1,12 @@
> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
> +/*
> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
> + */
> +
> +#ifndef _DT_BINDINGS_CLK_QCOM_GX_CLKCTL_KAANAPALI_H
> +#define _DT_BINDINGS_CLK_QCOM_GX_CLKCTL_KAANAPALI_H
> +
> +/* GX_CLKCTL power domains */
> +#define GX_CLKCTL_GX_GDSC 0
> +
> +#endif
>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
next prev parent reply other threads:[~2025-09-25 9:04 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-24 23:56 [PATCH 0/9] Add support for Multimedia Clock controllers for Kaanapali Jingyi Wang
2025-09-24 23:56 ` [PATCH 1/9] dt-bindings: clock: qcom: document Kaanapali DISPCC clock controller Jingyi Wang
2025-10-09 10:48 ` Krzysztof Kozlowski
2025-09-24 23:56 ` [PATCH 2/9] dt-bindings: clock: sm8450-camcc: Remove sc8280xp camcc to from sm8450 camcc Jingyi Wang
2025-09-25 8:29 ` Bryan O'Donoghue
2025-09-25 8:44 ` Taniya Das
2025-09-25 12:47 ` Bryan O'Donoghue
2025-09-25 13:12 ` Bjorn Andersson
2025-09-25 13:14 ` Krzysztof Kozlowski
2025-09-25 21:20 ` Dmitry Baryshkov
2025-09-26 7:06 ` Taniya Das
2025-09-24 23:56 ` [PATCH 3/9] dt-bindings: clock: qcom: Add support for CAMCC for Kaanapali Jingyi Wang
2025-09-25 8:39 ` Bryan O'Donoghue
2025-09-25 8:46 ` Taniya Das
2025-09-25 9:01 ` Bryan O'Donoghue
2025-09-26 7:09 ` Taniya Das
2025-09-24 23:56 ` [PATCH 4/9] dt-bindings: clock: qcom: Add Kaanapali video clock controller Jingyi Wang
2025-09-25 9:02 ` Bryan O'Donoghue
2025-10-09 10:49 ` Krzysztof Kozlowski
2025-09-24 23:56 ` [PATCH 5/9] dt-bindings: clock: qcom: document the Kaanapali GPU Clock Controller Jingyi Wang
2025-09-25 9:04 ` Bryan O'Donoghue [this message]
2025-09-24 23:56 ` [PATCH 6/9] clk: qcom: dispcc: Add support for display clock controller Kaanapali Jingyi Wang
2025-09-24 23:56 ` [PATCH 7/9] clk: qcom: camcc: Add support for camera clock controller for Kaanapali Jingyi Wang
2025-09-25 9:10 ` Bryan O'Donoghue
2025-09-26 8:40 ` Taniya Das
2025-09-25 12:45 ` Bryan O'Donoghue
2025-09-26 7:10 ` Taniya Das
2025-09-24 23:56 ` [PATCH 8/9] clk: qcom: Add support for VideoCC driver " Jingyi Wang
2025-09-26 0:55 ` Bryan O'Donoghue
2025-09-24 23:56 ` [PATCH 9/9] drivers: clk: qcom: Add support for GPUCC and GFXCLK " Jingyi Wang
2025-09-25 13:17 ` Bjorn Andersson
2025-09-26 7:24 ` Taniya Das
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=19c66c0e-e784-4403-abae-c4cd92f4a150@linaro.org \
--to=bryan.odonoghue@linaro.org \
--cc=aiqun.yu@oss.qualcomm.com \
--cc=alexandre.torgue@foss.st.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=jingyi.wang@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=mturquette@baylibre.com \
--cc=neil.armstrong@linaro.org \
--cc=quic_jkona@quicinc.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=taniya.das@oss.qualcomm.com \
--cc=tingwei.zhang@oss.qualcomm.com \
--cc=trilok.soni@oss.qualcomm.com \
--cc=vladimir.zapolskiy@linaro.org \
--cc=yijie.yang@oss.qualcomm.com \
/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