[PATCH v4 08/12] arm64: dts: qcom: pm8550: Enable BCL sensor node

From: Manaf Meethalavalappu Pallikunhi

Date: Mon Oct 05 2026 - 08:35:31 EST


Add Battery Current Limiting (BCL) hardware monitor node for pm8550
PMIC. The BCL monitors battery voltage and current, providing hardware
interrupts when configurable thresholds are violated.

Reviewed-by: Abel Vesa <abel.vesa@xxxxxxxxxxxxxxxx>
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/pm8550.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pm8550.dtsi b/arch/arm64/boot/dts/qcom/pm8550.dtsi
index 896bcacb6490..c4a575af7bb6 100644
--- a/arch/arm64/boot/dts/qcom/pm8550.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8550.dtsi
@@ -45,6 +45,17 @@ pm8550_temp_alarm: temp-alarm@a00 {
#thermal-sensor-cells = <0>;
};

+ sensor@4700 {
+ compatible = "qcom,pm8550-bcl";
+ reg = <0x4700>;
+ interrupts = <0x1 0x47 0x0 IRQ_TYPE_EDGE_RISING>,
+ <0x1 0x47 0x1 IRQ_TYPE_EDGE_RISING>,
+ <0x1 0x47 0x2 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "max-min",
+ "critical",
+ "emergency";
+ };
+
pm8550_gpios: gpio@8800 {
compatible = "qcom,pm8550-gpio", "qcom,spmi-gpio";
reg = <0x8800>;

--
2.43.0