[PATCH v2 06/10] arm64: dts: qcom: pmh0101: Enable BCL sensor node
From: Manaf Meethalavalappu Pallikunhi
Date: Tue Jul 21 2026 - 15:53:04 EST
Add Battery Current Limiting (BCL) hardware monitor node for pmh0101
PMIC. The BCL monitors battery voltage and current, providing hardware
interrupts when configurable thresholds are violated.
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/pmh0101.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/pmh0101.dtsi b/arch/arm64/boot/dts/qcom/pmh0101.dtsi
index b1ec41325958..fd632b592d2e 100644
--- a/arch/arm64/boot/dts/qcom/pmh0101.dtsi
+++ b/arch/arm64/boot/dts/qcom/pmh0101.dtsi
@@ -43,6 +43,15 @@ pmh0101_temp_alarm: temp-alarm@a00 {
#thermal-sensor-cells = <0>;
};
+ sensor@4700 {
+ compatible = "qcom,pmh0101-bcl";
+ reg = <0x4700>;
+ interrupts = <0x1 0x47 0x0 IRQ_TYPE_EDGE_RISING>,
+ <0x1 0x47 0x1 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "max-min",
+ "critical";
+ };
+
pmh0101_gpios: gpio@8800 {
compatible = "qcom,pmh0101-gpio", "qcom,spmi-gpio";
reg = <0x8800>;
--
2.43.0