mbox series

[0/2] Qualcomm Ramp Controller and MSM8976 config

Message ID 20221104133506.131316-1-angelogioacchino.delregno@collabora.com (mailing list archive)
Headers show
Series Qualcomm Ramp Controller and MSM8976 config | expand

Message

AngeloGioacchino Del Regno Nov. 4, 2022, 1:35 p.m. UTC
This series adds the Qualcomm Ramp Controller driver, necessary on
various legacy Qualcomm SoCs to enable CPU DVFS by programming said
controller with the right values, where the bootloader doesn't do
that before booting the kernel.

At least MSM8976 and MSM8956 require this initial programming to be
performed on Linux.

AngeloGioacchino Del Regno (2):
  dt-bindings: soc: qcom: Add bindings for Qualcomm Ramp Controller
  soc: qcom: Add Qualcomm Ramp Controller driver

 .../soc/qcom/qcom,ramp-controller.yaml        |  42 +++
 drivers/soc/qcom/Kconfig                      |   9 +
 drivers/soc/qcom/Makefile                     |   1 +
 drivers/soc/qcom/ramp_controller.c            | 330 ++++++++++++++++++
 4 files changed, 382 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,ramp-controller.yaml
 create mode 100644 drivers/soc/qcom/ramp_controller.c