devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/4] add clock controller of qca8386/qca8084
@ 2023-08-09  8:00 Luo Jie
  2023-08-09  8:00 ` [PATCH v1 1/4] clk: qcom: branch: Add clk_branch2_qca8k_ops Luo Jie
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Luo Jie @ 2023-08-09  8:00 UTC (permalink / raw)
  To: andersson, agross, konrad.dybcio, mturquette, sboyd, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, catalin.marinas, will, p.zabel
  Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, quic_srichara,
	Luo Jie

qca8xxx is 4 * 2.5GBaseT ports chip, working as switch mode
named by qca8386, or working as PHY mode named by qca8084,
clock hardware reigster is accessed by MDIO bus.

This patch series add the clock controller of qca8363/qca8084,
and add the clock ops clk_branch2_qca8k_ops to avoid spin lock
used during the clock operation of qca8k clock controller where
the sleep happens when accessing clock control register by MDIO
bus.

Changes in v1:
	* remove clock flag CLK_ENABLE_MUTEX_LOCK.
	* add clock ops clk_branch2_qca8k_ops.
	* improve yaml file for fixing dtschema warnings.
	* enable clock controller driver in defconfig.

Luo Jie (4):
  clk: qcom: branch: Add clk_branch2_qca8k_ops
  dt-bindings: clock: add qca8386/qca8084 clock and reset definitions
  clk: qcom: add clock controller driver for qca8386/qca8084
  arm64: defconfig: Enable qca8k nss clock controller

 .../bindings/clock/qcom,qca8k-nsscc.yaml      |   79 +
 arch/arm64/configs/defconfig                  |    1 +
 drivers/clk/qcom/Kconfig                      |    8 +
 drivers/clk/qcom/Makefile                     |    1 +
 drivers/clk/qcom/clk-branch.c                 |    8 +
 drivers/clk/qcom/clk-branch.h                 |    2 +
 drivers/clk/qcom/nsscc-qca8k.c                | 2195 +++++++++++++++++
 include/dt-bindings/clock/qcom,qca8k-nsscc.h  |  101 +
 include/dt-bindings/reset/qcom,qca8k-nsscc.h  |   75 +
 9 files changed, 2470 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,qca8k-nsscc.yaml
 create mode 100644 drivers/clk/qcom/nsscc-qca8k.c
 create mode 100644 include/dt-bindings/clock/qcom,qca8k-nsscc.h
 create mode 100644 include/dt-bindings/reset/qcom,qca8k-nsscc.h


base-commit: 1c2c8c3517b3ba43a964afe1ff7926b13dc51492
-- 
2.17.1


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-08-10  4:51 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09  8:00 [PATCH v1 0/4] add clock controller of qca8386/qca8084 Luo Jie
2023-08-09  8:00 ` [PATCH v1 1/4] clk: qcom: branch: Add clk_branch2_qca8k_ops Luo Jie
2023-08-09 16:56   ` Konrad Dybcio
2023-08-10  3:46     ` Jie Luo
2023-08-09  8:00 ` [PATCH v1 2/4] dt-bindings: clock: add qca8386/qca8084 clock and reset definitions Luo Jie
2023-08-09 15:34   ` Krzysztof Kozlowski
2023-08-10  3:51     ` Jie Luo
2023-08-09  8:00 ` [PATCH v1 3/4] clk: qcom: add clock controller driver for qca8386/qca8084 Luo Jie
2023-08-09 15:38   ` Krzysztof Kozlowski
2023-08-10  4:44     ` Jie Luo
2023-08-09 16:57   ` Konrad Dybcio
2023-08-10  4:48     ` Jie Luo
2023-08-09  8:00 ` [PATCH v1 4/4] arm64: defconfig: Enable qca8k nss clock controller Luo Jie
2023-08-09 15:40   ` Krzysztof Kozlowski
2023-08-10  4:50     ` Jie Luo
2023-08-09 15:32 ` [PATCH v1 0/4] add clock controller of qca8386/qca8084 Krzysztof Kozlowski
2023-08-10  4:51   ` Jie Luo

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).