devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Refactor the rpmhpd macros
@ 2023-07-06  9:20 Rohit Agarwal
  2023-07-06  9:20 ` [PATCH 1/3] dt-bindings: power: rpmpd: Remove the SoC specific entries Rohit Agarwal
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Rohit Agarwal @ 2023-07-06  9:20 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
	conor+dt
  Cc: linux-arm-msm, linux-kernel, devicetree, Rohit Agarwal

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-07-06 11:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-06  9:20 [PATCH 0/3] Refactor the rpmhpd macros Rohit Agarwal
2023-07-06  9:20 ` [PATCH 1/3] dt-bindings: power: rpmpd: Remove the SoC specific entries Rohit Agarwal
2023-07-06  9:59   ` Konrad Dybcio
2023-07-06 10:07     ` Rohit Agarwal
2023-07-06 10:45   ` Krzysztof Kozlowski
2023-07-06 10:53     ` Rohit Agarwal
2023-07-06 10:57       ` Krzysztof Kozlowski
2023-07-06 11:03         ` Rohit Agarwal
2023-07-06  9:20 ` [PATCH 2/3] soc: qcom: rpmpd: Update the entries of PD macros Rohit Agarwal
2023-07-06  9:20 ` [PATCH 3/3] soc: qcom: rpmphd: " Rohit Agarwal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).