mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
arm/dts: rename bq25980 to cp and add slave iio
rename bq25980 to cp for charge pump common modules. and add slave cp iio Change-Id: I1887a978f99430058ab959f247c67d758f8ccdf6 Signed-off-by: mahj8 <mahj8@motorola.com> Reviewed-on: https://gerrit.mot.com/2232182 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
57c6a1b624
commit
de89923ad7
1 changed files with 18 additions and 6 deletions
|
|
@ -122,6 +122,7 @@
|
|||
status = "okay";
|
||||
compatible = "ti,bq25960-master";
|
||||
reg = <0x66>;
|
||||
#io-channel-cells = <1>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <57 0>;
|
||||
ti,irq-gpio = <&tlmm 57 0>;
|
||||
|
|
@ -135,6 +136,7 @@
|
|||
status = "okay";
|
||||
compatible = "ti,bq25960-slave";
|
||||
reg = <0x67>;
|
||||
#io-channel-cells = <1>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <84 0>;
|
||||
ti,irq-gpio = <&tlmm 84 0>;
|
||||
|
|
@ -237,7 +239,12 @@
|
|||
<&bq25960_master PSY_IIO_MMI_CP_INPUT_CURRENT_NOW>,
|
||||
<&bq25960_master PSY_IIO_MMI_CP_INPUT_VOLTAGE_NOW>,
|
||||
<&bq25960_master PSY_IIO_CP_STATUS1>,
|
||||
<&bq25960_master PSY_IIO_CP_CLEAR_ERROR>;
|
||||
<&bq25960_master PSY_IIO_CP_CLEAR_ERROR>,
|
||||
<&bq25960_slave PSY_IIO_CP_ENABLE>,
|
||||
<&bq25960_slave PSY_IIO_MMI_CP_INPUT_CURRENT_NOW>,
|
||||
<&bq25960_slave PSY_IIO_MMI_CP_INPUT_VOLTAGE_NOW>,
|
||||
<&bq25960_slave PSY_IIO_CP_STATUS1>,
|
||||
<&bq25960_slave PSY_IIO_CP_CLEAR_ERROR>;
|
||||
|
||||
io-channel-names = "hw_current_max",
|
||||
"charging_enabled",
|
||||
|
|
@ -248,11 +255,16 @@
|
|||
"usb_real_type",
|
||||
"battery_dp_dm",
|
||||
"usb_qc3p_power",
|
||||
"bq25980_cp_enabled",
|
||||
"bq25980_input_current_now",
|
||||
"bq25980_input_voltage_settled",
|
||||
"bq25980_cp_status1",
|
||||
"bq25980_cp_clear_error";
|
||||
"cp_enabled",
|
||||
"cp_input_current_now",
|
||||
"cp_input_voltage_settled",
|
||||
"cp_status1",
|
||||
"cp_clear_error",
|
||||
"cp_slave_enabled",
|
||||
"cp_slave_input_current_now",
|
||||
"cp_slave_input_voltage_settled",
|
||||
"cp_slave_status1",
|
||||
"cp_slave_clear_error";
|
||||
|
||||
// qcom,usbpd-phandle = <&pm7250b_pdphy>;
|
||||
mmi,pps-volt-steps = <20000>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue