lkml.org 
[lkml]   [2023]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] Refactor the rpmhpd macros
Date
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

\
 
 \ /
  Last update: 2023-07-06 11:20    [W:0.078 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site