mbox series

[0/2] Introduce new generic bindings for RPMHPD

Message ID 1689744162-9421-1-git-send-email-quic_rohiagar@quicinc.com
Headers show
Series Introduce new generic bindings for RPMHPD | expand

Message

Rohit Agarwal July 19, 2023, 5:22 a.m. UTC
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@quicinc.com/

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

Comments

Bjorn Andersson July 22, 2023, 2:58 a.m. UTC | #1
On Wed, Jul 19, 2023 at 10:52:42AM +0530, Rohit Agarwal wrote:
> Update the SoC SM8[2345]50 entries to use the new
> generic RPMHPD bindings.
> 
> Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com>

Reviewed-by: Bjorn Andersson <andersson@kernel.org>

Regards,
Bjorn
Bjorn Andersson July 22, 2023, 5:17 a.m. UTC | #2
On Wed, 19 Jul 2023 10:52:40 +0530, Rohit Agarwal wrote:
> 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.
> 
> [...]

Applied, thanks!

[2/2] soc: qcom: rpmhpd: Use the newly created generic RPMHPD bindings
      commit: de3acb7af908ef4fa9fda19cdfce1cc30cb48388

Best regards,