Re: [PATCH v4 12/12] arm64: dts: qcom: smb2370: Enable BCL sensor node

From: Konrad Dybcio

Date: Mon Oct 19 2026 - 12:10:41 EST


On 10/5/26 2:24 PM, Manaf Meethalavalappu Pallikunhi wrote:
> Add Battery Current Limiting (BCL) hardware monitor node for smb2370
> 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/smb2370.dtsi | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/smb2370.dtsi b/arch/arm64/boot/dts/qcom/smb2370.dtsi
> index 1e02578e4ee3..4809b3d8cfe2 100644
> --- a/arch/arm64/boot/dts/qcom/smb2370.dtsi
> +++ b/arch/arm64/boot/dts/qcom/smb2370.dtsi
> @@ -10,6 +10,17 @@ smb2370_j_e2: pmic@9 {
> #address-cells = <1>;
> #size-cells = <0>;
>
> + sensor@4700 {
> + compatible = "qcom,smb2370-bcl";

Like on Hamoa, why just one instance?

Konrad

> + reg = <0x4700>;
> + interrupts = <0x9 0x47 0x0 IRQ_TYPE_EDGE_RISING>,
> + <0x9 0x47 0x1 IRQ_TYPE_EDGE_RISING>,
> + <0x9 0x47 0x2 IRQ_TYPE_EDGE_RISING>;
> + interrupt-names = "max-min",
> + "critical",
> + "emergency";
> + };
> +
> smb2370_j_e2_eusb2_repeater: phy@fd00 {
> compatible = "qcom,smb2370-eusb2-repeater";
> reg = <0xfd00>;
>