From 7c3d6c957ff0f53c098f849be2f1cd3b2b74fa14 Mon Sep 17 00:00:00 2001 From: liuyc20 Date: Tue, 23 Nov 2021 09:38:48 +0800 Subject: [PATCH] arm/dts: bringup bq2589x for rhodep 1.As ic spec, the bq2589x i2c addr should be 0x6A. 2.there is no pull-up resistor to the board. pull-up this gpio12 by dts config. Change-Id: I0b850f6166d2b2966480dc3bc3266ffa03b0ef38 Signed-off-by: liuyc20 Reviewed-on: https://gerrit.mot.com/2124249 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/discrete_charging_rhodep.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcom/discrete_charging_rhodep.dtsi b/qcom/discrete_charging_rhodep.dtsi index a5e29d50ea33..8bfa48db0797 100644 --- a/qcom/discrete_charging_rhodep.dtsi +++ b/qcom/discrete_charging_rhodep.dtsi @@ -156,10 +156,10 @@ temp_neg_10_thres = <0>; }; - bq25890@62 { + bq25890@6A { status = "okay"; compatible = "ti,bq2589x-1"; - reg = <0x62>; + reg = <0x6A>; pinctrl-names = "default"; pinctrl-0 = <&bq2589x_irq &gpio6_adc_default>; @@ -216,7 +216,7 @@ config { pins = "gpio12"; drive-strength = <2>; - bias-disable; + bias-pull-up; input-enable; }; };