[PATCH 0/3] Refactor the rpmhpd macros

From: Rohit Agarwal
Date: Thu Jul 06 2023 - 05:20:36 EST


Hi,

This series updates the rpmhpd macros defined to use a more generic
set of macros to avoid adding SoC specific entry everytime. This increases
the reusability of the macros and almost deletes 300 lines of code.

The macros are arranged based on the frequencies in the SoC entry
in the driver to avoid extra wastage of memory.

Thanks,
Rohit.

Rohit Agarwal (3):
dt-bindings: power: rpmpd: Remove the SoC specific entries
soc: qcom: rpmpd: Update the entries of PD macros
soc: qcom: rpmphd: Update the entries of PD macros

drivers/soc/qcom/rpmhpd.c | 338 ++++++++++++++--------------
drivers/soc/qcom/rpmpd.c | 216 +++++++++---------
include/dt-bindings/power/qcom-rpmpd.h | 389 ++++-----------------------------
3 files changed, 323 insertions(+), 620 deletions(-)

--
2.7.4