charge gpio : evb to evt board gpio change:
wt6670f: change reset pin & intr gpio cw2217b: change i2c1 to i2c0 sgm51542: change intr & chg_en gpio bq25890: change intr & chg_en gpio bq25970: change intr gpio sgm7220: change intr gpio Change-Id: I3981aa8adca0623c94372b68ebccfcd5136c9c8d Reviewed-on: https://gerrit.mot.com/2115727 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: <huaqin85@motorola.com> Reviewed-by: Wei Xu <xuwei9@lenovo.com> Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
1 parent
55ce9af1a8
commit
7dfbd040c8
2 files changed
+24
-25
No files matched your search
+19
-20
@@ -66,8 +66,8 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
compatible = "mediatek,wt6670f_qc3p";
|
compatible = "mediatek,wt6670f_qc3p";
|
||||||
reg = <0x35>;
|
reg = <0x35>;
|
||||||
wt6670f-reset-gpio = <&tlmm 84 0x0>;
|
wt6670f-reset-gpio = <&tlmm 68 0x0>;
|
||||||
wt6670f-int-gpio = <&tlmm 103 0x0>;
|
wt6670f-int-gpio = <&tlmm 93 0x0>;
|
||||||
//wt6670f-i2c-scl-pin = <&tlmm 1 0x0>;
|
//wt6670f-i2c-scl-pin = <&tlmm 1 0x0>;
|
||||||
//wt6670f-i2c-sda-pin = <&tlmm 0 0x0>;
|
//wt6670f-i2c-sda-pin = <&tlmm 0 0x0>;
|
||||||
|
|
||||||
@@ -84,6 +84,16 @@
|
|||||||
//pinctrl-4 = <&wt6670_pins_sda_high>;
|
//pinctrl-4 = <&wt6670_pins_sda_high>;
|
||||||
//pinctrl-5 = <&wt6670_pins_i2c>;
|
//pinctrl-5 = <&wt6670_pins_i2c>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cw2217@64 {
|
||||||
|
compatible = "cellwise,cw2217";
|
||||||
|
reg = <0x64>;
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
df-serialnum = "SB18D33989";
|
||||||
|
#include "bat_setting/CW_md50-scud-5000mah.dtsi"
|
||||||
|
#include "bat_setting/CW_md50-amperex-5000mah.dtsi"
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&qupv3_se1_i2c {
|
&qupv3_se1_i2c {
|
||||||
@@ -100,9 +110,9 @@
|
|||||||
// io-channel-names = "gpio3_div3";
|
// io-channel-names = "gpio3_div3";
|
||||||
|
|
||||||
interrupt-parent = <&tlmm>;
|
interrupt-parent = <&tlmm>;
|
||||||
interrupts = <105 0>; //irq num base on hardware design
|
interrupts = <96 0>; //irq num base on hardware design
|
||||||
sgm,irq-gpio = <&tlmm 105 0>; //irq num base on hardware design
|
sgm,irq-gpio = <&tlmm 96 0>; //irq num base on hardware design
|
||||||
//sgm,chg-en-gpio = <&tlmm 92 0>; //gpio num base on hardware design 1.MTK parent node name is pio 2.QUALCOMM parent node name is tlmm or other
|
sgm,chg-en-gpio = <&tlmm 36 0>; //gpio num base on hardware design 1.MTK parent node name is pio 2.QUALCOMM parent node name is tlmm or other
|
||||||
//add by zhanghuan
|
//add by zhanghuan
|
||||||
// dpdm-supply = <&usb2_phy0>;
|
// dpdm-supply = <&usb2_phy0>;
|
||||||
|
|
||||||
@@ -141,8 +151,8 @@
|
|||||||
|
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&bq2589x_irq>;
|
pinctrl-0 = <&bq2589x_irq>;
|
||||||
bq2589x_irq-gpio = <&tlmm 105 0>;
|
bq2589x_irq-gpio = <&tlmm 96 0>;
|
||||||
//bq2589x_en-gpio = <&tlmm 92 0>;
|
bq2589x_en-gpio = <&tlmm 36 0>;
|
||||||
dpdm-supply = <&usb2_phy0>;
|
dpdm-supply = <&usb2_phy0>;
|
||||||
|
|
||||||
ti,bq2589x,vbus-volt-high-level = <8700>;/* tune adapter to output 9v */
|
ti,bq2589x,vbus-volt-high-level = <8700>;/* tune adapter to output 9v */
|
||||||
@@ -169,8 +179,8 @@
|
|||||||
//pinctrl-names = "default_slave";
|
//pinctrl-names = "default_slave";
|
||||||
//pinctrl-0 = <&bq2597x_int_default_slave>;
|
//pinctrl-0 = <&bq2597x_int_default_slave>;
|
||||||
interrupt-parent = <&tlmm>;
|
interrupt-parent = <&tlmm>;
|
||||||
interrupts = <104 0>; //irq num base on hardware design
|
interrupts = <3 0>; //irq num base on hardware design
|
||||||
bq2597x,irq-gpio = <&tlmm 104 0>; //irq num base on hardware design
|
bq2597x,irq-gpio = <&tlmm 3 0>; //irq num base on hardware design
|
||||||
|
|
||||||
ti,bq2597x,bat-ovp-disable = <0>;
|
ti,bq2597x,bat-ovp-disable = <0>;
|
||||||
ti,bq2597x,bat-ocp_disable = <0>;
|
ti,bq2597x,bat-ocp_disable = <0>;
|
||||||
@@ -201,17 +211,6 @@
|
|||||||
ti,bq2597x,ac-ovp-threshold = <17>;
|
ti,bq2597x,ac-ovp-threshold = <17>;
|
||||||
ti,bq2597x,sense-resistor-mohm = <5>;
|
ti,bq2597x,sense-resistor-mohm = <5>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cw2217@64 {
|
|
||||||
compatible = "cellwise,cw2217";
|
|
||||||
reg = <0x64>;
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
df-serialnum = "SB18D33989";
|
|
||||||
#include "bat_setting/CW_md50-scud-5000mah.dtsi"
|
|
||||||
#include "bat_setting/CW_md50-amperex-5000mah.dtsi"
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&tlmm {
|
&tlmm {
|
||||||
|
|||||||
+5
-5
@@ -11,7 +11,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
&qupv3_se0_i2c {
|
&qupv3_se1_i2c {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
sgm7220: sgm7220@47 {
|
sgm7220: sgm7220@47 {
|
||||||
compatible = "sgm,usb_type_c_sgm7220";
|
compatible = "sgm,usb_type_c_sgm7220";
|
||||||
@@ -25,8 +25,8 @@
|
|||||||
sgm7220-tcpc,rp_level = <0>; /* 0: Default, 1: 1.5, 2: 3.0 */
|
sgm7220-tcpc,rp_level = <0>; /* 0: Default, 1: 1.5, 2: 3.0 */
|
||||||
sgm7220-tcpc,vconn_supply = <0>; /* 0: Never, 1: Always, */
|
sgm7220-tcpc,vconn_supply = <0>; /* 0: Never, 1: Always, */
|
||||||
/* 2: EMarkOnly, 3: StartOnly */
|
/* 2: EMarkOnly, 3: StartOnly */
|
||||||
sgm7220,intr_gpio = <&tlmm 33 0x0>;
|
sgm7220,intr_gpio = <&tlmm 84 0x0>;
|
||||||
sgm7220,intr_gpio_num = <33>;
|
sgm7220,intr_gpio_num = <84>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&sgm7220_int_n>;
|
pinctrl-0 = <&sgm7220_int_n>;
|
||||||
};
|
};
|
||||||
@@ -36,12 +36,12 @@
|
|||||||
&tlmm {
|
&tlmm {
|
||||||
sgm7220_int_n: sgm7220_int_n {
|
sgm7220_int_n: sgm7220_int_n {
|
||||||
mux {
|
mux {
|
||||||
pins = "gpio33";
|
pins = "gpio84";
|
||||||
function = "gpio";
|
function = "gpio";
|
||||||
};
|
};
|
||||||
|
|
||||||
config {
|
config {
|
||||||
pins = "gpio33";
|
pins = "gpio84";
|
||||||
drive-strength = <2>;
|
drive-strength = <2>;
|
||||||
bias-pull-up;
|
bias-pull-up;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user