[PATCH 0/2] Introduce new generic bindings for RPMHPD

From: Rohit Agarwal
Date: Wed Jul 19 2023 - 01:23:08 EST


Hi,

This series introduces a new generic bindings for Qualcomm SoCs
to be used instead of creating new SoC specific bindings each time.
The order of the bindings is kept according to the order in Qualcomm
SoC like SM8[2345]50 so that it can be reused in these SoC without
breaking the ABI.
This was suggested as per the discussions in [1].
I will create a followup series of DT updates according to the new bindings.

Separating this series from the original [1] since this involves refactoring
and no new support addition.

[1] https://lore.kernel.org/all/1689054169-10800-1-git-send-email-quic_rohiagar@xxxxxxxxxxx/

Thanks,
Rohit.

Rohit Agarwal (2):
dt-bindings: power: qcom,rpmhpd: Add Generic RPMh PD indexes
soc: qcom: rpmhpd: Use the newly created generic RPMHPD bindings

drivers/soc/qcom/rpmhpd.c | 101 ++++++++++++++++----------------
include/dt-bindings/power/qcom,rpmhpd.h | 30 ++++++++++
2 files changed, 81 insertions(+), 50 deletions(-)
create mode 100644 include/dt-bindings/power/qcom,rpmhpd.h

--
2.7.4