[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230930134114.1816590-1-bryan.odonoghue@linaro.org>
Date: Sat, 30 Sep 2023 14:41:09 +0100
From: Bryan O'Donoghue <bryan.odonoghue@...aro.org>
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,
jonathan@...ek.ca, quic_tdas@...cinc.com,
vladimir.zapolskiy@...aro.org
Cc: linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
bryan.odonoghue@...aro.org
Subject: [PATCH v2 0/5] Add sc8280xp CAMCC bindings and driver
V2:
I've expanded the scope of this series to include some fixups for the
camcc.yaml in general.
- Adds qcom,camcc-common.yaml
There are a number of repeated patterns in the various camcc yaml
files which we can contain in a common camcc .yaml instead.
I used gcc.yaml as a base per Krzysztof's suggestion.
- Adding the common values file I noticed that sm8450 and sm8550 were
both listed as compatible strings in qcom,sm8450-camcc.yaml.
This appears to be in error though since sm8450 and sm8550 are
not compat strings of the same driver but different drivers entirely.
- Switches to indexing, instead of fw_name for clocks - Konrad
- Adds the GCC AHB to the clock index - Bod/Konrad
- Changes reference "cam_cc" to "camcc" throughout camcc-sc8280xp.c
Link: https://git.codelinaro.org/bryan.odonoghue/kernel/-/tree/linux-next-26-10-23-sc8280xp-camcc-v2
V1:
This is a bog-standard series to add in the CAMCC for 8280xp.
As a precursor to adding in sc8280xp I thought a bit of tidy up on the
existing yaml for the camcc controllers in general would be worthwhile.
As a result there's a precursor patch which aggregates the various camcc
yaml files into one location.
The sc8280xp looks like sdm845 with more blocks. Similar to sc8280xp we
park GDSC to CXO. Thanks to Dmitry for the suggestion the GDSC parking.
Link: https://git.codelinaro.org/bryan.odonoghue/kernel/-/tree/linux-next-23-09-23-sc8280xp-camcc
Bryan O'Donoghue (5):
dt-bindings: clock: qcom,camcc-common.yaml: Add a common file for
camcc
dt-bindings: clock: Add SM8550 CAMCC yaml
dt-bindings: clock: Add SC8280XP CAMCC
clk: qcom: camcc-sc8280xp: Add sc8280xp CAMCC
arm64: boot: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp
.../bindings/clock/qcom,camcc-common.yaml | 44 +
.../bindings/clock/qcom,camcc-sm8250.yaml | 32 +-
.../bindings/clock/qcom,sc7180-camcc.yaml | 23 +-
.../bindings/clock/qcom,sc7280-camcc.yaml | 23 +-
.../bindings/clock/qcom,sc8280xp-camcc.yaml | 57 +
.../bindings/clock/qcom,sdm845-camcc.yaml | 23 +-
.../bindings/clock/qcom,sm6350-camcc.yaml | 13 +-
.../bindings/clock/qcom,sm8450-camcc.yaml | 33 +-
.../bindings/clock/qcom,sm8550-camcc.yaml | 56 +
arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 16 +
drivers/clk/qcom/Kconfig | 9 +
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/camcc-sc8280xp.c | 3052 +++++++++++++++++
.../dt-bindings/clock/qcom,sc8280xp-camcc.h | 179 +
14 files changed, 3437 insertions(+), 124 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/qcom,camcc-common.yaml
create mode 100644 Documentation/devicetree/bindings/clock/qcom,sc8280xp-camcc.yaml
create mode 100644 Documentation/devicetree/bindings/clock/qcom,sm8550-camcc.yaml
create mode 100644 drivers/clk/qcom/camcc-sc8280xp.c
create mode 100644 include/dt-bindings/clock/qcom,sc8280xp-camcc.h
--
2.40.1
Powered by blists - more mailing lists