ARM: dts: qcom: Enable compatible string for drivers

Enable compatible string of drivers in monaco.

Change-Id: I664f5c62455cff8214bd081f5334fcda7ccfc6cb
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
This commit is contained in:
Nitesh Kumar
2024-05-05 23:43:43 +05:30
parent 8510de3054
commit e1ad7607bb
4 changed files with 95 additions and 7 deletions

View File

@@ -58,7 +58,7 @@
};
cx_cdev: cx-cdev-lvl {
/* compatible = "qcom,regulator-cooling-device"; */
compatible = "qcom,regulator-cooling-device";
regulator-cdev-supply = <&VDD_CX_FLOOR_LEVEL>;
regulator-levels = <RPM_SMD_REGULATOR_LEVEL_NONE
RPM_SMD_REGULATOR_LEVEL_NOM>;

View File

@@ -13,6 +13,21 @@
cooling-device = <&CPU0 1 1>;
};
trip0_cpu1 {
trip = <&pm5100_trip0>;
cooling-device = <&CPU1 1 1>;
};
trip0_cpu2 {
trip = <&pm5100_trip0>;
cooling-device = <&CPU2 1 1>;
};
trip0_cpu3 {
trip = <&pm5100_trip0>;
cooling-device = <&CPU3 1 1>;
};
trip1_cpu2 {
trip = <&pm5100_trip0>;
cooling-device = <&cpu2_pause 1 1>;
@@ -27,11 +42,26 @@
pm5100-bcl-lvl0 {
cooling-maps {
cpu0_cdev {
cpu0_cdev0 {
trip = <&bcl_lvl0>;
cooling-device = <&CPU0 2 2>;
};
cpu1_cdev0 {
trip = <&bcl_lvl0>;
cooling-device = <&CPU1 2 2>;
};
cpu2_cdev0 {
trip = <&bcl_lvl0>;
cooling-device = <&CPU2 2 2>;
};
cpu3_cdev0 {
trip = <&bcl_lvl0>;
cooling-device = <&CPU3 2 2>;
};
cpu2_cdev {
trip = <&bcl_lvl0>;
cooling-device = <&cpu2_pause 1 1>;
@@ -51,11 +81,26 @@
pm5100-bcl-lvl1 {
cooling-maps {
cpu0_cdev {
cpu0_cdev0 {
trip = <&bcl_lvl1>;
cooling-device = <&CPU0 2 2>;
};
cpu1_cdev0 {
trip = <&bcl_lvl1>;
cooling-device = <&CPU1 2 2>;
};
cpu2_cdev0 {
trip = <&bcl_lvl1>;
cooling-device = <&CPU2 2 2>;
};
cpu3_cdev0 {
trip = <&bcl_lvl1>;
cooling-device = <&CPU3 2 2>;
};
cpu1_cdev {
trip = <&bcl_lvl1>;
cooling-device = <&cpu1_pause 1 1>;
@@ -76,11 +121,26 @@
socd {
cooling-maps {
soc_cpu0 {
socd_cpu0 {
trip = <&socd_trip>;
cooling-device = <&CPU0 1 1>;
};
socd_cpu1 {
trip = <&socd_trip>;
cooling-device = <&CPU1 1 1>;
};
socd_cpu2 {
trip = <&socd_trip>;
cooling-device = <&CPU2 1 1>;
};
socd_cpu3 {
trip = <&socd_trip>;
cooling-device = <&CPU3 1 1>;
};
soc_cpu2 {
trip = <&socd_trip>;
cooling-device = <&cpu2_pause 1 1>;

View File

@@ -69,8 +69,36 @@
};
};
qcom,cpu-hotplug {
compatible = "qcom,cpu-hotplug";
cpu0_hotplug: cpu0-hotplug {
qcom,cpu = <&CPU0>;
qcom,cdev-alias = "cpu-hotplug0";
#cooling-cells = <2>;
};
cpu1_hotplug: cpu1-hotplug {
qcom,cpu = <&CPU1>;
qcom,cdev-alias = "cpu-hotplug1";
#cooling-cells = <2>;
};
cpu2_hotplug: cpu2-hotplug {
qcom,cpu = <&CPU2>;
qcom,cdev-alias = "cpu-hotplug2";
#cooling-cells = <2>;
};
cpu3_hotplug: cpu3-hotplug {
qcom,cpu = <&CPU3>;
qcom,cdev-alias = "cpu-hotplug3";
#cooling-cells = <2>;
};
};
tsens0:tsens@4410000 {
//compatible = "qcom,tsens26xx";
compatible = "qcom,tsens26xx";
reg = <0x04410000 0x20>,
<0x04411000 0x140>;
reg-names = "tsens_srot_physical",
@@ -139,7 +167,7 @@
};
lmh_cpu_vdd: qcom,lmh-cpu-vdd@f550800 {
//compatible = "qcom,lmh-cpu-vdd";
compatible = "qcom,lmh-cpu-vdd";
reg = <0xf550800 0x1000>;
#cooling-cells = <2>;
};

View File

@@ -279,7 +279,7 @@
};
bcl_off: bcl-off@4700 {
/* compatible = "qcom,bcl-off"; */
compatible = "qcom,bcl-off";
reg = <0x4700 0x100>;
#cooling-cells = <2>;
};