From cb67d64132e16e7e405e76c60f25a2d69c18173d Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Wed, 14 Jul 2021 18:57:57 -0700 Subject: [PATCH] ARM: dts: qcom: Add hw-settle-time for SMB139x channels on Waipio boards As per the hardware recommendation, we need a settling time of 200 us when reading SMB139x channels. Add it. Also, remove "qcom,pre-scaling" for these channels so that the predefined scaling factors from the driver can be used. Change-Id: I99ced06a0b55ff19f15cb425e38fbbb95bc191dc --- qcom/waipio-pmic-overlay.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qcom/waipio-pmic-overlay.dtsi b/qcom/waipio-pmic-overlay.dtsi index 35dc575d..5f919cae 100644 --- a/qcom/waipio-pmic-overlay.dtsi +++ b/qcom/waipio-pmic-overlay.dtsi @@ -181,37 +181,37 @@ smb139x_1_smb_temp { reg = ; label = "smb139x_1_smb_temp"; - qcom,pre-scaling = <1 1>; + qcom,hw-settle-time = <200>; }; smb139x_1_ichg_smb { reg = ; label = "smb139x_1_ichg_smb"; - qcom,pre-scaling = <16 100>; + qcom,hw-settle-time = <200>; }; smb139x_1_iin_smb { reg = ; label = "smb139x_1_iin_smb"; - qcom,pre-scaling = <32 100>; + qcom,hw-settle-time = <200>; }; smb139x_2_smb_temp { reg = ; label = "smb139x_2_smb_temp"; - qcom,pre-scaling = <1 1>; + qcom,hw-settle-time = <200>; }; smb139x_2_ichg_smb { reg = ; label = "smb139x_2_ichg_smb"; - qcom,pre-scaling = <16 100>; + qcom,hw-settle-time = <200>; }; smb139x_2_iin_smb { reg = ; label = "smb139x_2_iin_smb"; - qcom,pre-scaling = <32 100>; + qcom,hw-settle-time = <200>; }; };