From 54fb4f8396b497698866ad18e127650282b34d7f Mon Sep 17 00:00:00 2001 From: Manaf Meethalavalappu Pallikunhi Date: Tue, 25 Oct 2016 20:11:59 +0530 Subject: [PATCH] ARM: dts: msm: Add BCL peripheral configs for pmfalcon Add pmfalcon BCL peripheral related configs to enable the BCL peripheral driver. Add configs like vbat interrupt, ibat interrupt, vbat polling delay, ibat polling delay, etc. Change-Id: I9d7cc82c50c1b09610f5a4eac86af4617389f23f Signed-off-by: Manaf Meethalavalappu Pallikunhi --- arch/arm/boot/dts/qcom/msm-pmfalcon.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/qcom/msm-pmfalcon.dtsi b/arch/arm/boot/dts/qcom/msm-pmfalcon.dtsi index 9af9ba7e4537..1cc31380604b 100644 --- a/arch/arm/boot/dts/qcom/msm-pmfalcon.dtsi +++ b/arch/arm/boot/dts/qcom/msm-pmfalcon.dtsi @@ -550,6 +550,20 @@ "dma-grant"; }; }; + + bcl@4200 { + compatible = "qcom,msm-bcl-lmh"; + reg = <0x4200 0xff>, + <0x4300 0xff>; + reg-names = "fg_user_adc", + "fg_lmh"; + interrupts = <0x0 0x42 0x0 IRQ_TYPE_NONE>, + <0x0 0x42 0x2 IRQ_TYPE_NONE>; + interrupt-names = "bcl-high-ibat-int", + "bcl-low-vbat-int"; + qcom,vbat-polling-delay-ms = <100>; + qcom,ibat-polling-delay-ms = <100>; + }; }; qcom,pmfalcon@1 { -- 2.11.0