[PATCH v3 03/12] arm64: dts: qcom: hamoa-pmic: Enable BCL sensor node

From: Manaf Meethalavalappu Pallikunhi

Date: Tue Sep 29 2026 - 09:13:51 EST


Add Battery Current Limiting (BCL) hardware monitor node for
hamoa-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/hamoa-pmics.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/hamoa-pmics.dtsi b/arch/arm64/boot/dts/qcom/hamoa-pmics.dtsi
index 7fad4a9b92fa..6b17d568188e 100644
--- a/arch/arm64/boot/dts/qcom/hamoa-pmics.dtsi
+++ b/arch/arm64/boot/dts/qcom/hamoa-pmics.dtsi
@@ -426,6 +426,17 @@ pm8550_temp_alarm: temp-alarm@a00 {
io-channel-names = "thermal";
};

+ 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>;
@@ -674,6 +685,17 @@ smb2360_0: pmic@7 {

status = "disabled";

+ sensor@4700 {
+ compatible = "qcom,smb2360-bcl";
+ reg = <0x4700>;
+ interrupts = <0x7 0x47 0x0 IRQ_TYPE_EDGE_RISING>,
+ <0x7 0x47 0x1 IRQ_TYPE_EDGE_RISING>,
+ <0x7 0x47 0x2 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "max-min",
+ "critical",
+ "emergency";
+ };
+
smb2360_0_eusb2_repeater: phy@fd00 {
compatible = "qcom,smb2360-eusb2-repeater";
reg = <0xfd00>;

--
2.43.0