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