From: Shawn Guo <shengchao.guo@oss.qualcomm.com>
To: Taniya Das <taniya.das@oss.qualcomm.com>
Cc: Bjorn Andersson <andersson@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>,
Ajit Pandey <ajit.pandey@oss.qualcomm.com>,
Imran Shaik <imran.shaik@oss.qualcomm.com>,
Jagadeesh Kona <jagadeesh.kona@oss.qualcomm.com>,
linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 2/3] dt-bindings: clock: qcom: document the Nord DPRX Clock Controller
Date: Wed, 9 Sep 2026 16:31:08 +0800 [thread overview]
Message-ID: <aqEZTDMtVaGR8F6o@QCOM-aGQu4IUr3Y> (raw)
In-Reply-To: <20260907-nords_dprx-v1-2-d472af3f01b1@oss.qualcomm.com>
On Mon, Sep 07, 2026 at 01:56:14PM +0530, Taniya Das wrote:
> Add bindings documentation for the Nord DisplayPort Receiver (DPRX) Clock Controller.
>
> Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com>
> ---
> .../bindings/clock/qcom,nord-dprxcc.yaml | 68 ++++++++++++++++++++++
> include/dt-bindings/clock/qcom,nord-dprxcc.h | 27 +++++++++
> 2 files changed, 95 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/clock/qcom,nord-dprxcc.yaml b/Documentation/devicetree/bindings/clock/qcom,nord-dprxcc.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..fbaaad1f3db3ff67589d6201ed0e25710c044614
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/qcom,nord-dprxcc.yaml
> @@ -0,0 +1,68 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/clock/qcom,nord-dprxcc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm DPRX Clock & Reset Controller on Nord
> +
> +maintainers:
> + - Taniya Das <taniya.das@oss.qualcomm.com>
> +
> +description: |
" |" can be dropped?
> + Qualcomm dprx clock control module provides the clocks, resets and power
> + domains on Nord.
I'm not sure it provides power domains, as the driver registers no GDSCs
and the binding has no #power-domain-cells.
Shawn
> +
> + See also:
> + include/dt-bindings/clock/qcom,nord-dprxcc.h
> +
> +properties:
> + compatible:
> + enum:
> + - qcom,nord-dprxcc0
> + - qcom,nord-dprxcc1
> +
> + clocks:
> + items:
> + - description: XO clock source
> + - description: DPRX CFG AHB clock from NWGCC
> + - description: Sleep clock source
> +
> + power-domains:
> + description:
> + MMCX power domain.
> + maxItems: 1
> +
> + required-opps:
> + description:
> + MMCX performance point.
> + maxItems: 1
> +
> +required:
> + - compatible
> + - clocks
> + - power-domains
> + - required-opps
> +
> +allOf:
> + - $ref: qcom,gcc.yaml#
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/clock/qcom,nord-nwgcc.h>
> + #include <dt-bindings/clock/qcom,rpmh.h>
> + #include <dt-bindings/power/qcom,rpmhpd.h>
> + clock-controller@a940000 {
> + compatible = "qcom,nord-dprxcc0";
> + reg = <0x0a940000 0xc000>;
> + clocks = <&rpmhcc RPMH_CXO_CLK>,
> + <&nwgcc NW_GCC_DPRX0_CFG_AHB_CLK>,
> + <&sleep_clk>;
> + power-domains = <&rpmhpd RPMHPD_MMCX>;
> + required-opps = <&rpmhpd_opp_low_svs>;
> + #clock-cells = <1>;
> + #reset-cells = <1>;
> + };
> +...
> diff --git a/include/dt-bindings/clock/qcom,nord-dprxcc.h b/include/dt-bindings/clock/qcom,nord-dprxcc.h
> new file mode 100644
> index 0000000000000000000000000000000000000000..62c26b58ebef04f05ea1dc77664c03aaad65baa4
> --- /dev/null
> +++ b/include/dt-bindings/clock/qcom,nord-dprxcc.h
> @@ -0,0 +1,27 @@
> +/* 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_DPRX_CC_NORD_H
> +#define _DT_BINDINGS_CLK_QCOM_DPRX_CC_NORD_H
> +
> +/* DPRX_CC clocks */
> +#define DPRX_CC_AHB_CLK 0
> +#define DPRX_CC_AUD_CLK 1
> +#define DPRX_CC_AUDIO_CLK_SRC 2
> +#define DPRX_CC_CORE_AHB_DIV_CLK_SRC 3
> +#define DPRX_CC_CORE_AUD_DIV_CLK_SRC 4
> +#define DPRX_CC_CORE_RCG0_CLK_SRC 5
> +#define DPRX_CC_CORE_RCG2_CLK_SRC 6
> +#define DPRX_CC_CORE_RCG3_CLK_SRC 7
> +#define DPRX_CC_MDP_MEM_CLK 8
> +#define DPRX_CC_MMCX_XO_CLK 9
> +#define DPRX_CC_PLL0 10
> +#define DPRX_CC_PLL1 11
> +#define DPRX_CC_VID_MEM_CLK 12
> +
> +/* DPRX_CC resets */
> +#define DPRX_CC_DPRX_BLK_BCR 0
> +
> +#endif
>
> --
> 2.34.1
>
>
next prev parent reply other threads:[~2026-09-09 8:31 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-07 8:26 [PATCH 0/3] clk: qcom: Add Nord DPRX clock controller support Taniya Das
2026-09-07 8:26 ` [PATCH 1/3] clk: qcom: clk-alpha-pll: support a 28-bit ALPHA_VAL width Taniya Das
2026-09-07 8:38 ` sashiko-bot
2026-09-07 10:30 ` Abel Vesa
2026-09-09 8:41 ` Shawn Guo
2026-09-10 8:10 ` Taniya Das
2026-09-07 8:26 ` [PATCH 2/3] dt-bindings: clock: qcom: document the Nord DPRX Clock Controller Taniya Das
2026-09-07 8:35 ` sashiko-bot
2026-09-07 10:38 ` Abel Vesa
2026-09-09 8:31 ` Shawn Guo [this message]
2026-09-10 8:55 ` Taniya Das
2026-09-07 8:26 ` [PATCH 3/3] clk: qcom: dprxcc: Add Nord DPRX clock controller support Taniya Das
2026-09-07 8:55 ` sashiko-bot
2026-09-07 10:43 ` Abel Vesa
2026-09-09 9:06 ` Shawn Guo
2026-09-10 9:08 ` Taniya Das
2026-09-09 8:34 ` [PATCH 0/3] clk: qcom: " Shawn Guo
2026-09-10 8:14 ` 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=aqEZTDMtVaGR8F6o@QCOM-aGQu4IUr3Y \
--to=shengchao.guo@oss.qualcomm.com \
--cc=ajit.pandey@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=bmasney+clk@redhat.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imran.shaik@oss.qualcomm.com \
--cc=jagadeesh.kona@oss.qualcomm.com \
--cc=jbrunet+clk@baylibre.com \
--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=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=taniya.das@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