[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210811043451.189776-1-y.oudjana@protonmail.com>
Date: Wed, 11 Aug 2021 04:35:28 +0000
From: Yassine Oudjana <y.oudjana@...tonmail.com>
To: Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Georgi Djakov <djakov@...nel.org>,
Rob Herring <robh+dt@...nel.org>
Cc: Yassine Oudjana <y.oudjana@...tonmail.com>,
AngeloGioacchino Del Regno <kholk11@...il.com>,
linux-arm-msm@...r.kernel.org, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/6] interconnect: qcom: Add MSM8996 interconnect driver
This series adds a driver for interconnects on MSM8996. This fixes some rare display underflows
and causes a slight heat reduction.
The driver currently supports all NoCs on MSM8996 except a0noc, due to some issues with writing
to its registers.
Changes since v2:
- Dual-license qcom,msm8996.h and move it to the dt bindings patch
- Remove interconnect paths from CPUs since cpufreq driver doesn't support icc scaling yet.
Changes since v1:
- Split first patch into 2 patches, one for renaming qcom_icc_set in icc-rpmh, and another
one for the actual commonization.
- Revert unnecessary move of include line in sdm660.c
Yassine Oudjana (6):
interconnect: qcom: icc-rpmh: Rename qcom_icc_set
interconnect: qcom: sdm660: Commonize RPM-QoS
dt-bindings: interconnect: Move SDM660 to a new RPM-QoS file
dt-bindings: interconnect: Add Qualcomm MSM8996 DT bindings
interconnect: qcom: Add MSM8996 interconnect provider driver
arm64: dts: qcom: msm8996: Add interconnect support
.../{qcom,sdm660.yaml => qcom,rpm-qos.yaml} | 23 +-
arch/arm64/boot/dts/qcom/msm8996.dtsi | 80 +++
drivers/interconnect/qcom/Kconfig | 14 +-
drivers/interconnect/qcom/Makefile | 4 +
drivers/interconnect/qcom/icc-rpm-qos.c | 237 ++++++++
drivers/interconnect/qcom/icc-rpm-qos.h | 133 ++++
drivers/interconnect/qcom/icc-rpmh.c | 6 +-
drivers/interconnect/qcom/icc-rpmh.h | 2 +-
drivers/interconnect/qcom/msm8996.c | 574 ++++++++++++++++++
drivers/interconnect/qcom/msm8996.h | 149 +++++
drivers/interconnect/qcom/sc7180.c | 2 +-
drivers/interconnect/qcom/sc7280.c | 2 +-
drivers/interconnect/qcom/sdm660.c | 346 +----------
drivers/interconnect/qcom/sdm845.c | 2 +-
drivers/interconnect/qcom/sdx55.c | 2 +-
drivers/interconnect/qcom/sm8150.c | 2 +-
drivers/interconnect/qcom/sm8250.c | 2 +-
drivers/interconnect/qcom/sm8350.c | 2 +-
.../dt-bindings/interconnect/qcom,msm8996.h | 163 +++++
19 files changed, 1387 insertions(+), 358 deletions(-)
rename Documentation/devicetree/bindings/interconnect/{qcom,sdm660.yaml => qcom,rpm-qos.yaml} (82%)
create mode 100644 drivers/interconnect/qcom/icc-rpm-qos.c
create mode 100644 drivers/interconnect/qcom/icc-rpm-qos.h
create mode 100644 drivers/interconnect/qcom/msm8996.c
create mode 100644 drivers/interconnect/qcom/msm8996.h
create mode 100644 include/dt-bindings/interconnect/qcom,msm8996.h
--
2.32.0
Powered by blists - more mailing lists