mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-15 17:14:00 +08:00
arm64: dts: qcom: msm8998: Add rpmpd node
Add the rpmpd node on the msm8998 and define the available levels. Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org> Reviewed-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Sibi Sankar <sibis@codeaurora.org> [bjorn: dropped use of level defines, to allow merging in parallel] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Andy Gross <agross@kernel.org>
This commit is contained in:
parent
11f61210d7
commit
460f13cab0
@ -4,6 +4,7 @@
|
|||||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
#include <dt-bindings/clock/qcom,gcc-msm8998.h>
|
#include <dt-bindings/clock/qcom,gcc-msm8998.h>
|
||||||
#include <dt-bindings/clock/qcom,rpmcc.h>
|
#include <dt-bindings/clock/qcom,rpmcc.h>
|
||||||
|
#include <dt-bindings/power/qcom-rpmpd.h>
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
@ -264,6 +265,56 @@
|
|||||||
compatible = "qcom,rpmcc-msm8998", "qcom,rpmcc";
|
compatible = "qcom,rpmcc-msm8998", "qcom,rpmcc";
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rpmpd: power-controller {
|
||||||
|
compatible = "qcom,msm8998-rpmpd";
|
||||||
|
#power-domain-cells = <1>;
|
||||||
|
operating-points-v2 = <&rpmpd_opp_table>;
|
||||||
|
|
||||||
|
rpmpd_opp_table: opp-table {
|
||||||
|
compatible = "operating-points-v2";
|
||||||
|
|
||||||
|
rpmpd_opp_ret: opp1 {
|
||||||
|
opp-level = <16>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rpmpd_opp_ret_plus: opp2 {
|
||||||
|
opp-level = <32>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rpmpd_opp_min_svs: opp3 {
|
||||||
|
opp-level = <48>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rpmpd_opp_low_svs: opp4 {
|
||||||
|
opp-level = <64>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rpmpd_opp_svs: opp5 {
|
||||||
|
opp-level = <128>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rpmpd_opp_svs_plus: opp6 {
|
||||||
|
opp-level = <192>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rpmpd_opp_nom: opp7 {
|
||||||
|
opp-level = <256>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rpmpd_opp_nom_plus: opp8 {
|
||||||
|
opp-level = <320>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rpmpd_opp_turbo: opp9 {
|
||||||
|
opp-level = <384>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rpmpd_opp_turbo_plus: opp10 {
|
||||||
|
opp-level = <512>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user