[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210119174529.227074-1-angelogioacchino.delregno@somainline.org>
Date: Tue, 19 Jan 2021 18:45:26 +0100
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...ainline.org>
To: nks@...wful.org
Cc: bjorn.andersson@...aro.org, agross@...nel.org, robh+dt@...nel.org,
linux-pm@...r.kernel.org, linux-arm-msm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
phone-devel@...r.kernel.org, konrad.dybcio@...ainline.org,
marijn.suijten@...ainline.org, martin.botka@...ainline.org,
jeffrey.l.hugo@...il.com,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...ainline.org>
Subject: [PATCH v4 0/3] CPR commonization in preparation for CPR3 driver
**
** NOTE: To "view the full picture", please look at the following
** patch series:
** https://patchwork.kernel.org/project/linux-arm-msm/list/?series=413355
** This is a subset of that series.
**
In preparation for adding a driver for CPR3, CPR4 and CPR4-Hardened,
commonize some functions in the CPR driver, as they will be used by
both drivers, drastically reducing code duplication.
Changes in v4:
- Huge patch series has been split for better reviewability,
as suggested by Bjorn
Changes in v3:
- Fixed YAML doc issues
Changes in v2:
- Minor Cleanups
Tested on the following smartphones:
- Sony Xperia XA2 (SDM630)
- Sony Xperia XA2 Ultra (SDM630)
- Sony Xperia 10 (SDM630)
- Sony Xperia XZ Premium (MSM8998)
- F(x)Tec Pro 1 (MSM8998)
AngeloGioacchino Del Regno (3):
soc: qcom: cpr: Move common functions to new file
dt-bindings: avs: cpr: Convert binding to YAML schema
arm64: qcom: qcs404: Change CPR nvmem-names
.../bindings/power/avs/qcom,cpr.txt | 131 +-----
.../bindings/soc/qcom/qcom,cpr.yaml | 167 +++++++
MAINTAINERS | 2 +-
arch/arm64/boot/dts/qcom/qcs404.dtsi | 26 +-
drivers/soc/qcom/Makefile | 2 +-
drivers/soc/qcom/cpr-common.c | 382 +++++++++++++++
drivers/soc/qcom/cpr-common.h | 113 +++++
drivers/soc/qcom/cpr.c | 441 ++----------------
8 files changed, 705 insertions(+), 559 deletions(-)
create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,cpr.yaml
create mode 100644 drivers/soc/qcom/cpr-common.c
create mode 100644 drivers/soc/qcom/cpr-common.h
--
2.30.0
Powered by blists - more mailing lists