mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
Merge "ARM: dts: msm: Enable DDR cooling device for waipio"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
b1828ad1cd
@@ -12,10 +12,10 @@ Properties:
|
||||
Definition: should be "qcom,ddr-cooling-device"
|
||||
|
||||
Cooling device node:
|
||||
- qcom,ddr-freq:
|
||||
- qcom,freq-table:
|
||||
Usage: required
|
||||
Value type: <u32 array>
|
||||
Definition: List of available DDR frequencies.
|
||||
Value type: <phandle to u32 array>
|
||||
Definition: phandle to the list of available DDR frequencies.
|
||||
|
||||
-#cooling-cells:
|
||||
Usage: required
|
||||
@@ -24,19 +24,18 @@ Cooling device node:
|
||||
identifier. Please refer to
|
||||
<devicetree/bindings/thermal/thermal.txt> for more
|
||||
details.
|
||||
|
||||
- interconnects:
|
||||
Usage: required
|
||||
Definition: Pairs of phandles and interconnect provider specificers
|
||||
to denote the edge source and destination ports of
|
||||
the desired interconnect path. Please refer to
|
||||
<devicetree/bindings/interconnect/interconnect.txt>
|
||||
for more details.
|
||||
Example:
|
||||
qcom,ddr-cdev {
|
||||
compatible = "qcom,ddr-cooling-device";
|
||||
qcom,ddr-freq = <200000>,
|
||||
<451000>,
|
||||
<547000>,
|
||||
<681000>,
|
||||
<768000>,
|
||||
<1017000>,
|
||||
<1555000>,
|
||||
<1708000>,
|
||||
<2092000>,
|
||||
<2736000>,
|
||||
<3196000>;
|
||||
qcom,freq-table = <&ddr_freq_table>;
|
||||
#cooling-cells = <2>;
|
||||
interconnects = <&mc_virt MASTER_LLCC &mc_virt SLAVE_EBI1>;
|
||||
};
|
||||
|
||||
@@ -361,6 +361,25 @@
|
||||
qcom,init-voltage = <880000>;
|
||||
qcom,init-mode = <RPMH_REGULATOR_MODE_HPM>;
|
||||
};
|
||||
|
||||
L5B_AO: pm8350_l5_ao: regulator-pm8350-l5-ao {
|
||||
regulator-name = "pm8350_l5_ao";
|
||||
qcom,set = <RPMH_REGULATOR_SET_ACTIVE>;
|
||||
regulator-min-microvolt = <880000>;
|
||||
regulator-max-microvolt = <880000>;
|
||||
qcom,init-voltage = <880000>;
|
||||
qcom,init-mode = <RPMH_REGULATOR_MODE_LPM>;
|
||||
};
|
||||
|
||||
regulator-pm8350-l5-so {
|
||||
regulator-name = "pm8350_l5_so";
|
||||
qcom,set = <RPMH_REGULATOR_SET_SLEEP>;
|
||||
regulator-min-microvolt = <880000>;
|
||||
regulator-max-microvolt = <880000>;
|
||||
qcom,init-voltage = <880000>;
|
||||
qcom,init-mode = <RPMH_REGULATOR_MODE_LPM>;
|
||||
qcom,init-enable = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
rpmh-regulator-ldob6 {
|
||||
@@ -379,6 +398,25 @@
|
||||
qcom,init-voltage = <1200000>;
|
||||
qcom,init-mode = <RPMH_REGULATOR_MODE_HPM>;
|
||||
};
|
||||
|
||||
L6B_AO: pm8350_l6_ao: regulator-pm8350-l6-ao {
|
||||
regulator-name = "pm8350_l6_ao";
|
||||
qcom,set = <RPMH_REGULATOR_SET_ACTIVE>;
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
qcom,init-voltage = <1200000>;
|
||||
qcom,init-mode = <RPMH_REGULATOR_MODE_LPM>;
|
||||
};
|
||||
|
||||
regulator-pm8350-l6-so {
|
||||
regulator-name = "pm8350_l6_so";
|
||||
qcom,set = <RPMH_REGULATOR_SET_SLEEP>;
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
qcom,init-voltage = <1200000>;
|
||||
qcom,init-mode = <RPMH_REGULATOR_MODE_LPM>;
|
||||
qcom,init-enable = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
rpmh-regulator-ldob7 {
|
||||
|
||||
@@ -64,6 +64,29 @@
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
qcom,cpu-voltage-cdev {
|
||||
compatible = "qcom,cc-cooling-devices";
|
||||
apc1_cluster: qcom,apc1-cluster {
|
||||
qcom,cpus = <&CPU4 &CPU7>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
ddr_cdev: qcom,ddr-cdev {
|
||||
compatible = "qcom,ddr-cooling-device";
|
||||
#cooling-cells = <2>;
|
||||
qcom,freq-table = <&ddr_freq_table>;
|
||||
interconnects = <&mc_virt MASTER_LLCC &mc_virt SLAVE_EBI1>;
|
||||
};
|
||||
|
||||
qcom,limits-dcvs {
|
||||
compatible = "qcom,msm-hw-limits";
|
||||
isens_vref_0p8-supply = <&pm8350_l5_ao>;
|
||||
isens-vref-0p8-settings = <880000 880000 30000>;
|
||||
isens_vref_1p8-supply = <&pm8350_l6_ao>;
|
||||
isens-vref-1p8-settings = <1200000 1200000 8000>;
|
||||
};
|
||||
};
|
||||
|
||||
&thermal_zones {
|
||||
|
||||
Reference in New Issue
Block a user