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

Change-Id: I07d8b98ecfd8c9e6bd91f08656ac119e209af6b9
Signed-off-by: mahj8 <mahj8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2029005
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
mahj8 2021-07-30 15:31:06 +08:00 • committed by panyq6
commit fb1368b7ad
2 changed files with 6 additions and 0 deletions

View file

@ -425,6 +425,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>,
@ -442,6 +443,7 @@
"usb_input_current_settled",
"battery_rerun_aicl",
"battery_sw_jeita_enabled",
"usb_pd_current_max",
"voltage_now",
"current_now",
"temp",
@ -460,6 +462,7 @@
qcom,iterm-ma = <242>;
qcom,vfloat-comp-uv = <20000>;
qcom,force-hvdcp-5v;
qcom,usbpd-phandle = <&pm7250b_pdphy>;
};
};

View file

@ -248,6 +248,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>,
@ -265,6 +266,7 @@
"usb_input_current_settled",
"battery_rerun_aicl",
"battery_sw_jeita_enabled",
"usb_pd_current_max",
"voltage_now",
"current_now",
"temp",
@ -283,6 +285,7 @@
qcom,iterm-ma = <242>;
qcom,vfloat-comp-uv = <20000>;
qcom,force-hvdcp-5v;
qcom,usbpd-phandle = <&pm7250b_pdphy>;
};
};
};