[RFC PATCH 0/4] ufs: set power domain performance state when scaling gears
From: Krzysztof Kozlowski
Date: Fri Apr 01 2022 - 11:45:03 EST
Hi,
This is a proof-of-concept/RFC for changing the performance state
of power rails when scaling gears.
So far I added it as a parallel method to scaling clocks, thus
freq-table-hz stays in DTS, however OPP table should be probably
replace freq-table-hz entirely.
Best regards,
Krzysztof
Krzysztof Kozlowski (4):
dt-bindings: clock: qcom,gcc-sdm845: add parent power domain
dt-bindings: ufs: common: allow OPP table
arm64: dts: qcom: sdm845: control RPMHPD performance states with UFS
ufs: set power domain performance state when scaling gears
.../bindings/clock/qcom,gcc-sdm845.yaml | 3 ++
.../devicetree/bindings/ufs/ufs-common.yaml | 4 ++
arch/arm64/boot/dts/qcom/sdm845.dtsi | 17 +++++++-
drivers/scsi/ufs/ufshcd-pltfrm.c | 6 +++
drivers/scsi/ufs/ufshcd.c | 42 +++++++++++++++----
drivers/scsi/ufs/ufshcd.h | 3 ++
6 files changed, 65 insertions(+), 10 deletions(-)
--
2.32.0