[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230809080047.19877-1-quic_luoj@quicinc.com>
Date: Wed, 9 Aug 2023 16:00:43 +0800
From: Luo Jie <quic_luoj@...cinc.com>
To: <andersson@...nel.org>, <agross@...nel.org>,
<konrad.dybcio@...aro.org>, <mturquette@...libre.com>,
<sboyd@...nel.org>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <conor+dt@...nel.org>,
<catalin.marinas@....com>, <will@...nel.org>,
<p.zabel@...gutronix.de>
CC: <linux-arm-msm@...r.kernel.org>, <linux-clk@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<quic_srichara@...cinc.com>, Luo Jie <quic_luoj@...cinc.com>
Subject: [PATCH v1 0/4] add clock controller of qca8386/qca8084
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
Powered by blists - more mailing lists