From 8140bcbb15469fd1611a367bd53bb73ee587a6a9 Mon Sep 17 00:00:00 2001 From: chailu1 Date: Thu, 5 Aug 2021 09:52:14 +0800 Subject: [PATCH] arch/dts: add usb-pdhandle and pd current max iio for charging dlkm For add PD charging(include PPS/Fixed) policy in DLKM for single charge path(only pmic charging), so need add usb-pdhandle and pd current max iio in dtsi for blair. Change-Id: I66e4ed74df450254abd1ba556f3c3dc76f87f0e1 Signed-off-by: chailu1 Reviewed-on: https://gerrit.mot.com/2033442 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Haijian Ma Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/blair-pm6125-moto-common-overlay.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcom/blair-pm6125-moto-common-overlay.dtsi b/qcom/blair-pm6125-moto-common-overlay.dtsi index 20be0df954db..b427296e8cb2 100644 --- a/qcom/blair-pm6125-moto-common-overlay.dtsi +++ b/qcom/blair-pm6125-moto-common-overlay.dtsi @@ -239,6 +239,7 @@ <&pm7250b_charger PSY_IIO_USB_INPUT_CURRENT_SETTLED>, <&pm7250b_charger PSY_IIO_RERUN_AICL>, <&pm7250b_charger PSY_IIO_SW_JEITA_ENABLED>, + <&pm7250b_charger PSY_IIO_PD_CURRENT_MAX>, <&pm7250b_qg PSY_IIO_VOLTAGE_NOW>, <&pm7250b_qg PSY_IIO_CURRENT_NOW>, <&pm7250b_qg PSY_IIO_TEMP>, @@ -256,6 +257,7 @@ "usb_input_current_settled", "battery_rerun_aicl", "battery_sw_jeita_enabled", + "usb_pd_current_max", "voltage_now", "current_now", "temp", @@ -274,6 +276,7 @@ qcom,iterm-ma = <242>; qcom,vfloat-comp-uv = <20000>; qcom,force-hvdcp-5v; + qcom,usbpd-phandle = <&pm7250b_pdphy>; }; }; };