mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:49:52 +00:00
ARM: dts: qcom: move regulator-ocp-notifier supply properties for Kalama
Move the regulator-ocp-notifier device node's regulator supply properties out of kalama-pmic-overlay.dtsi and into the platform- specific files: kalama-cdp.dtsi, kalama-mtp.dtsi, and kalama-qrd.dtsi. This avoids problems when kalama-pmic-overlay.dtsi is included on boards that do not have the full set of PMICs present. In that case the regulator-ocp-notifier device may never be initialized because some of the supplies that it depends on are not present. Change-Id: Idb003ade8329d4bc7ddca6c2212d9a8e784b5fc2
This commit is contained in:
@@ -188,3 +188,60 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
®ulator_ocp_notifier {
|
||||||
|
periph-1c1-supply = <&L1B>;
|
||||||
|
periph-1c2-supply = <&L2B>;
|
||||||
|
periph-1c5-supply = <&L5B>;
|
||||||
|
periph-1c6-supply = <&L6B>;
|
||||||
|
periph-1c7-supply = <&L7B>;
|
||||||
|
periph-1c8-supply = <&L8B>;
|
||||||
|
periph-1c9-supply = <&L9B>;
|
||||||
|
periph-1ca-supply = <&L10B>;
|
||||||
|
periph-1cb-supply = <&L11B>;
|
||||||
|
periph-1cc-supply = <&L12B>;
|
||||||
|
periph-1cd-supply = <&L13B>;
|
||||||
|
periph-1ce-supply = <&L14B>;
|
||||||
|
periph-1cf-supply = <&L15B>;
|
||||||
|
periph-1d0-supply = <&L16B>;
|
||||||
|
periph-1d1-supply = <&L17B>;
|
||||||
|
periph-2c1-supply = <&L1C>;
|
||||||
|
periph-2c3-supply = <&L3C>;
|
||||||
|
periph-3c1-supply = <&L1D>;
|
||||||
|
periph-3c2-supply = <&L2D_LEVEL>;
|
||||||
|
periph-4c1-supply = <&L1E>;
|
||||||
|
periph-4c2-supply = <&L2E>;
|
||||||
|
periph-4c3-supply = <&L3E>;
|
||||||
|
periph-5c1-supply = <&L1F>;
|
||||||
|
periph-5c2-supply = <&L2F>;
|
||||||
|
periph-5c3-supply = <&L3F>;
|
||||||
|
periph-6c1-supply = <&L1G>;
|
||||||
|
periph-6c2-supply = <&L2G>;
|
||||||
|
periph-6c3-supply = <&L3G>;
|
||||||
|
periph-ac1-supply = <&L1K>;
|
||||||
|
periph-ac2-supply = <&L2K>;
|
||||||
|
periph-ac3-supply = <&L3K>;
|
||||||
|
periph-ac4-supply = <&L4K>;
|
||||||
|
periph-ac5-supply = <&L5K>;
|
||||||
|
periph-ac6-supply = <&L6K>;
|
||||||
|
periph-ac7-supply = <&L7K>;
|
||||||
|
periph-bc3-supply = <&L3L>;
|
||||||
|
periph-bc4-supply = <&L4L>;
|
||||||
|
periph-bc5-supply = <&L5L>;
|
||||||
|
periph-bc6-supply = <&L6L>;
|
||||||
|
periph-bc7-supply = <&L7L>;
|
||||||
|
periph-c40-supply = <&L1M>;
|
||||||
|
periph-c41-supply = <&L2M>;
|
||||||
|
periph-c42-supply = <&L3M>;
|
||||||
|
periph-c43-supply = <&L4M>;
|
||||||
|
periph-c44-supply = <&L5M>;
|
||||||
|
periph-c45-supply = <&L6M>;
|
||||||
|
periph-c46-supply = <&L7M>;
|
||||||
|
periph-d40-supply = <&L1N>;
|
||||||
|
periph-d41-supply = <&L2N>;
|
||||||
|
periph-d42-supply = <&L3N>;
|
||||||
|
periph-d43-supply = <&L4N>;
|
||||||
|
periph-d44-supply = <&L5N>;
|
||||||
|
periph-d45-supply = <&L6N>;
|
||||||
|
periph-d46-supply = <&L7N>;
|
||||||
|
};
|
||||||
|
|||||||
@@ -194,3 +194,60 @@
|
|||||||
qcom,wireless-fw-name = "idt9418.bin";
|
qcom,wireless-fw-name = "idt9418.bin";
|
||||||
qcom,thermal-mitigation = <3000000 1500000 1000000 500000>;
|
qcom,thermal-mitigation = <3000000 1500000 1000000 500000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
®ulator_ocp_notifier {
|
||||||
|
periph-1c1-supply = <&L1B>;
|
||||||
|
periph-1c2-supply = <&L2B>;
|
||||||
|
periph-1c5-supply = <&L5B>;
|
||||||
|
periph-1c6-supply = <&L6B>;
|
||||||
|
periph-1c7-supply = <&L7B>;
|
||||||
|
periph-1c8-supply = <&L8B>;
|
||||||
|
periph-1c9-supply = <&L9B>;
|
||||||
|
periph-1ca-supply = <&L10B>;
|
||||||
|
periph-1cb-supply = <&L11B>;
|
||||||
|
periph-1cc-supply = <&L12B>;
|
||||||
|
periph-1cd-supply = <&L13B>;
|
||||||
|
periph-1ce-supply = <&L14B>;
|
||||||
|
periph-1cf-supply = <&L15B>;
|
||||||
|
periph-1d0-supply = <&L16B>;
|
||||||
|
periph-1d1-supply = <&L17B>;
|
||||||
|
periph-2c1-supply = <&L1C>;
|
||||||
|
periph-2c3-supply = <&L3C>;
|
||||||
|
periph-3c1-supply = <&L1D>;
|
||||||
|
periph-3c2-supply = <&L2D_LEVEL>;
|
||||||
|
periph-4c1-supply = <&L1E>;
|
||||||
|
periph-4c2-supply = <&L2E>;
|
||||||
|
periph-4c3-supply = <&L3E>;
|
||||||
|
periph-5c1-supply = <&L1F>;
|
||||||
|
periph-5c2-supply = <&L2F>;
|
||||||
|
periph-5c3-supply = <&L3F>;
|
||||||
|
periph-6c1-supply = <&L1G>;
|
||||||
|
periph-6c2-supply = <&L2G>;
|
||||||
|
periph-6c3-supply = <&L3G>;
|
||||||
|
periph-ac1-supply = <&L1K>;
|
||||||
|
periph-ac2-supply = <&L2K>;
|
||||||
|
periph-ac3-supply = <&L3K>;
|
||||||
|
periph-ac4-supply = <&L4K>;
|
||||||
|
periph-ac5-supply = <&L5K>;
|
||||||
|
periph-ac6-supply = <&L6K>;
|
||||||
|
periph-ac7-supply = <&L7K>;
|
||||||
|
periph-bc3-supply = <&L3L>;
|
||||||
|
periph-bc4-supply = <&L4L>;
|
||||||
|
periph-bc5-supply = <&L5L>;
|
||||||
|
periph-bc6-supply = <&L6L>;
|
||||||
|
periph-bc7-supply = <&L7L>;
|
||||||
|
periph-c40-supply = <&L1M>;
|
||||||
|
periph-c41-supply = <&L2M>;
|
||||||
|
periph-c42-supply = <&L3M>;
|
||||||
|
periph-c43-supply = <&L4M>;
|
||||||
|
periph-c44-supply = <&L5M>;
|
||||||
|
periph-c45-supply = <&L6M>;
|
||||||
|
periph-c46-supply = <&L7M>;
|
||||||
|
periph-d40-supply = <&L1N>;
|
||||||
|
periph-d41-supply = <&L2N>;
|
||||||
|
periph-d42-supply = <&L3N>;
|
||||||
|
periph-d43-supply = <&L4N>;
|
||||||
|
periph-d44-supply = <&L5N>;
|
||||||
|
periph-d45-supply = <&L6N>;
|
||||||
|
periph-d46-supply = <&L7N>;
|
||||||
|
};
|
||||||
|
|||||||
@@ -548,66 +548,11 @@
|
|||||||
nvmem-names = "pon_log0", "pon_log1";
|
nvmem-names = "pon_log0", "pon_log1";
|
||||||
};
|
};
|
||||||
|
|
||||||
regulator-ocp-notifier {
|
regulator_ocp_notifier: regulator-ocp-notifier {
|
||||||
compatible = "qcom,regulator-ocp-notifier";
|
compatible = "qcom,regulator-ocp-notifier";
|
||||||
interrupt-parent = <&spmi_bus>;
|
interrupt-parent = <&spmi_bus>;
|
||||||
interrupts = <0x0 0x71 0x1 IRQ_TYPE_EDGE_RISING>;
|
interrupts = <0x0 0x71 0x1 IRQ_TYPE_EDGE_RISING>;
|
||||||
nvmem-cells = <&ocp_log>;
|
nvmem-cells = <&ocp_log>;
|
||||||
nvmem-cell-names = "ocp_log";
|
nvmem-cell-names = "ocp_log";
|
||||||
|
|
||||||
periph-1c1-supply = <&L1B>;
|
|
||||||
periph-1c2-supply = <&L2B>;
|
|
||||||
periph-1c5-supply = <&L5B>;
|
|
||||||
periph-1c6-supply = <&L6B>;
|
|
||||||
periph-1c7-supply = <&L7B>;
|
|
||||||
periph-1c8-supply = <&L8B>;
|
|
||||||
periph-1c9-supply = <&L9B>;
|
|
||||||
periph-1ca-supply = <&L10B>;
|
|
||||||
periph-1cb-supply = <&L11B>;
|
|
||||||
periph-1cc-supply = <&L12B>;
|
|
||||||
periph-1cd-supply = <&L13B>;
|
|
||||||
periph-1ce-supply = <&L14B>;
|
|
||||||
periph-1cf-supply = <&L15B>;
|
|
||||||
periph-1d0-supply = <&L16B>;
|
|
||||||
periph-1d1-supply = <&L17B>;
|
|
||||||
periph-2c1-supply = <&L1C>;
|
|
||||||
periph-2c3-supply = <&L3C>;
|
|
||||||
periph-3c1-supply = <&L1D>;
|
|
||||||
periph-3c2-supply = <&L2D_LEVEL>;
|
|
||||||
periph-4c1-supply = <&L1E>;
|
|
||||||
periph-4c2-supply = <&L2E>;
|
|
||||||
periph-4c3-supply = <&L3E>;
|
|
||||||
periph-5c1-supply = <&L1F>;
|
|
||||||
periph-5c2-supply = <&L2F>;
|
|
||||||
periph-5c3-supply = <&L3F>;
|
|
||||||
periph-6c1-supply = <&L1G>;
|
|
||||||
periph-6c2-supply = <&L2G>;
|
|
||||||
periph-6c3-supply = <&L3G>;
|
|
||||||
periph-ac1-supply = <&L1K>;
|
|
||||||
periph-ac2-supply = <&L2K>;
|
|
||||||
periph-ac3-supply = <&L3K>;
|
|
||||||
periph-ac4-supply = <&L4K>;
|
|
||||||
periph-ac5-supply = <&L5K>;
|
|
||||||
periph-ac6-supply = <&L6K>;
|
|
||||||
periph-ac7-supply = <&L7K>;
|
|
||||||
periph-bc3-supply = <&L3L>;
|
|
||||||
periph-bc4-supply = <&L4L>;
|
|
||||||
periph-bc5-supply = <&L5L>;
|
|
||||||
periph-bc6-supply = <&L6L>;
|
|
||||||
periph-bc7-supply = <&L7L>;
|
|
||||||
periph-c40-supply = <&L1M>;
|
|
||||||
periph-c41-supply = <&L2M>;
|
|
||||||
periph-c42-supply = <&L3M>;
|
|
||||||
periph-c43-supply = <&L4M>;
|
|
||||||
periph-c44-supply = <&L5M>;
|
|
||||||
periph-c45-supply = <&L6M>;
|
|
||||||
periph-c46-supply = <&L7M>;
|
|
||||||
periph-d40-supply = <&L1N>;
|
|
||||||
periph-d41-supply = <&L2N>;
|
|
||||||
periph-d42-supply = <&L3N>;
|
|
||||||
periph-d43-supply = <&L4N>;
|
|
||||||
periph-d44-supply = <&L5N>;
|
|
||||||
periph-d45-supply = <&L6N>;
|
|
||||||
periph-d46-supply = <&L7N>;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -285,3 +285,60 @@
|
|||||||
qcom,wireless-fw-name = "idt9418.bin";
|
qcom,wireless-fw-name = "idt9418.bin";
|
||||||
qcom,thermal-mitigation-step = <500000>;
|
qcom,thermal-mitigation-step = <500000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
®ulator_ocp_notifier {
|
||||||
|
periph-1c1-supply = <&L1B>;
|
||||||
|
periph-1c2-supply = <&L2B>;
|
||||||
|
periph-1c5-supply = <&L5B>;
|
||||||
|
periph-1c6-supply = <&L6B>;
|
||||||
|
periph-1c7-supply = <&L7B>;
|
||||||
|
periph-1c8-supply = <&L8B>;
|
||||||
|
periph-1c9-supply = <&L9B>;
|
||||||
|
periph-1ca-supply = <&L10B>;
|
||||||
|
periph-1cb-supply = <&L11B>;
|
||||||
|
periph-1cc-supply = <&L12B>;
|
||||||
|
periph-1cd-supply = <&L13B>;
|
||||||
|
periph-1ce-supply = <&L14B>;
|
||||||
|
periph-1cf-supply = <&L15B>;
|
||||||
|
periph-1d0-supply = <&L16B>;
|
||||||
|
periph-1d1-supply = <&L17B>;
|
||||||
|
periph-2c1-supply = <&L1C>;
|
||||||
|
periph-2c3-supply = <&L3C>;
|
||||||
|
periph-3c1-supply = <&L1D>;
|
||||||
|
periph-3c2-supply = <&L2D_LEVEL>;
|
||||||
|
periph-4c1-supply = <&L1E>;
|
||||||
|
periph-4c2-supply = <&L2E>;
|
||||||
|
periph-4c3-supply = <&L3E>;
|
||||||
|
periph-5c1-supply = <&L1F>;
|
||||||
|
periph-5c2-supply = <&L2F>;
|
||||||
|
periph-5c3-supply = <&L3F>;
|
||||||
|
periph-6c1-supply = <&L1G>;
|
||||||
|
periph-6c2-supply = <&L2G>;
|
||||||
|
periph-6c3-supply = <&L3G>;
|
||||||
|
periph-ac1-supply = <&L1K>;
|
||||||
|
periph-ac2-supply = <&L2K>;
|
||||||
|
periph-ac3-supply = <&L3K>;
|
||||||
|
periph-ac4-supply = <&L4K>;
|
||||||
|
periph-ac5-supply = <&L5K>;
|
||||||
|
periph-ac6-supply = <&L6K>;
|
||||||
|
periph-ac7-supply = <&L7K>;
|
||||||
|
periph-bc3-supply = <&L3L>;
|
||||||
|
periph-bc4-supply = <&L4L>;
|
||||||
|
periph-bc5-supply = <&L5L>;
|
||||||
|
periph-bc6-supply = <&L6L>;
|
||||||
|
periph-bc7-supply = <&L7L>;
|
||||||
|
periph-c40-supply = <&L1M>;
|
||||||
|
periph-c41-supply = <&L2M>;
|
||||||
|
periph-c42-supply = <&L3M>;
|
||||||
|
periph-c43-supply = <&L4M>;
|
||||||
|
periph-c44-supply = <&L5M>;
|
||||||
|
periph-c45-supply = <&L6M>;
|
||||||
|
periph-c46-supply = <&L7M>;
|
||||||
|
periph-d40-supply = <&L1N>;
|
||||||
|
periph-d41-supply = <&L2N>;
|
||||||
|
periph-d42-supply = <&L3N>;
|
||||||
|
periph-d43-supply = <&L4N>;
|
||||||
|
periph-d44-supply = <&L5N>;
|
||||||
|
periph-d45-supply = <&L6N>;
|
||||||
|
periph-d46-supply = <&L7N>;
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user