linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] CPR commonization in preparation for CPR3 driver
@ 2021-01-19 17:45 AngeloGioacchino Del Regno
  2021-01-19 17:45 ` [PATCH v4 1/3] soc: qcom: cpr: Move common functions to new file AngeloGioacchino Del Regno
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: AngeloGioacchino Del Regno @ 2021-01-19 17:45 UTC (permalink / raw)
  To: nks
  Cc: bjorn.andersson, agross, robh+dt, linux-pm, linux-arm-msm,
	devicetree, linux-kernel, phone-devel, konrad.dybcio,
	marijn.suijten, martin.botka, jeffrey.l.hugo,
	AngeloGioacchino Del Regno

  **
  ** 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


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

end of thread, other threads:[~2021-01-19 21:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 17:45 [PATCH v4 0/3] CPR commonization in preparation for CPR3 driver AngeloGioacchino Del Regno
2021-01-19 17:45 ` [PATCH v4 1/3] soc: qcom: cpr: Move common functions to new file AngeloGioacchino Del Regno
2021-01-19 17:45 ` [PATCH v4 2/3] dt-bindings: avs: cpr: Convert binding to YAML schema AngeloGioacchino Del Regno
2021-01-19 17:45 ` [PATCH v4 3/3] arm64: qcom: qcs404: Change CPR nvmem-names AngeloGioacchino Del Regno

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