mbox series

[0/2] Add QCOM PBS driver

Message ID 20240201204421.16992-2-quic_amelende@quicinc.com
Headers show
Series Add QCOM PBS driver | expand

Message

Anjelique Melendez Feb. 1, 2024, 8:44 p.m. UTC
Add the Qualcomm PBS (Programmable Boot Sequencer) driver. The QCOM PBS
driver supports configuring software PBS trigger events through PBS RAM
on Qualcomm Technologies, Inc (QTI) PMICs. 

QCOM PBS driver is needed to support LUT PPG. This is a new series to
separate PBS patches from the applied LUT PPG patch. Original comments
can be found here: 
https://lore.kernel.org/all/20231221185838.28440-1-quic_amelende@quicinc.com/T/#m7ab7af4c59c6e1019721d01cb3696cb5ed708bda


Anjelique Melendez (2):
  dt-bindings: soc: qcom: Add qcom,pbs bindings
  soc: qcom: add QCOM PBS driver

 .../bindings/soc/qcom/qcom,pbs.yaml           |  46 ++++
 drivers/soc/qcom/Kconfig                      |   9 +
 drivers/soc/qcom/Makefile                     |   1 +
 drivers/soc/qcom/qcom-pbs.c                   | 236 ++++++++++++++++++
 include/linux/soc/qcom/qcom-pbs.h             |  30 +++
 5 files changed, 322 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,pbs.yaml
 create mode 100644 drivers/soc/qcom/qcom-pbs.c
 create mode 100644 include/linux/soc/qcom/qcom-pbs.h