dts:remove CDRVH for evt2, remain the original design for evb & evt1
CDRVH remain for evt2 board, so configure i2c address to 0x65 remove CDRVH for dvt board, so configure i2c address to 0x66 Change-Id: I60f61efff8bbb585ad407670fc0a00fc2b089fc3 Signed-off-by: huaqin85 <huaqin85@motorola.com> Reviewed-on: https://gerrit.mot.com/2144244 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Reviewed-by: Wei Xu <xuwei9@lenovo.com> Tested-by: Jira Key Reviewed-by: Wang Wang <wangwang1@lenovo.com> Submit-Approved: Jira Key
This commit is contained in:
1 parent
74f42adfa6
commit
512c4bb59c
3 files changed
+98
-1
No files matched your search
@@ -279,7 +279,7 @@
|
|||||||
ti,bq2589x,enable-ico;
|
ti,bq2589x,enable-ico;
|
||||||
ti,bq2589x,use-absolute-vindpm;
|
ti,bq2589x,use-absolute-vindpm;
|
||||||
};
|
};
|
||||||
|
/*
|
||||||
bq2597x: bq2597x-charger@66 {
|
bq2597x: bq2597x-charger@66 {
|
||||||
compatible = "ti,bq25970-charger";
|
compatible = "ti,bq25970-charger";
|
||||||
reg = <0x66>;
|
reg = <0x66>;
|
||||||
@@ -324,6 +324,7 @@
|
|||||||
ti,bq2597x,ac-ovp-threshold = <17>;
|
ti,bq2597x,ac-ovp-threshold = <17>;
|
||||||
ti,bq2597x,sense-resistor-mohm = <5>;
|
ti,bq2597x,sense-resistor-mohm = <5>;
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
&tlmm {
|
&tlmm {
|
||||||
|
|||||||
@@ -21,3 +21,51 @@
|
|||||||
qcom,msm-id = <518 0x10000>;
|
qcom,msm-id = <518 0x10000>;
|
||||||
qcom,board-id = <0 0xB000>;
|
qcom,board-id = <0 0xB000>;
|
||||||
};
|
};
|
||||||
|
&qupv3_se1_i2c {
|
||||||
|
status = "okay";
|
||||||
|
bq2597x: bq2597x-charger@66 {
|
||||||
|
compatible = "ti,bq25970-charger";
|
||||||
|
reg = <0x66>;
|
||||||
|
#io-channel-cells = <1>;
|
||||||
|
//ti,bq2597x,interrupt_gpios = <&pio 30 0>;
|
||||||
|
//interrupt-parent = <&pio>;
|
||||||
|
//interrupts = <2 IRQ_TYPE_EDGE_FALLING 2 0>;
|
||||||
|
//interrupt-names = "bq2597x_irq";
|
||||||
|
|
||||||
|
//pinctrl-names = "default_slave";
|
||||||
|
//pinctrl-0 = <&bq2597x_int_default_slave>;
|
||||||
|
interrupt-parent = <&tlmm>;
|
||||||
|
interrupts = <3 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-ocp_disable = <0>;
|
||||||
|
ti,bq2597x,bat-ovp-alarm-disable = <0>;
|
||||||
|
ti,bq2597x,bus-ocp-disable = <0>;
|
||||||
|
ti,bq2597x,bus-ovp-alarm-disable = <0>;
|
||||||
|
ti,bq2597x,bus-ocp-alarm-disable = <0>;
|
||||||
|
ti,bq2597x,bat-ucp-alarm-disable = <0>;
|
||||||
|
ti,bq2597x,bat-therm-disable = <0>;
|
||||||
|
ti,bq2597x,bus-therm-disable = <0>;
|
||||||
|
|
||||||
|
ti,bq2597x,bat-ovp-threshold = <4500>;
|
||||||
|
ti,bq2597x,bat-ovp-alarm-threshold = <4450>;
|
||||||
|
ti,bq2597x,bat-ocp-threshold = <8000>;
|
||||||
|
ti,bq2597x,bat-ocp-alarm-threshold = <7500>;
|
||||||
|
|
||||||
|
ti,bq2597x,bus-ovp-threshold = <12000>;
|
||||||
|
ti,bq2597x,bus-ovp-alarm-threshold = <11000>;
|
||||||
|
ti,bq2597x,bus-ocp-threshold = <3750>;
|
||||||
|
ti,bq2597x,bus-ocp-alarm-threshold = <3500>;
|
||||||
|
|
||||||
|
ti,bq2597x,bat-ucp-alarm-threshold = <2000>;
|
||||||
|
|
||||||
|
ti,bq2597x,bat-therm-threshold = <0x15>;
|
||||||
|
ti,bq2597x,bus-therm-threshold = <0x15>;
|
||||||
|
ti,bq2597x,die-therm-threshold = <125>;
|
||||||
|
|
||||||
|
ti,bq2597x,ac-ovp-threshold = <17>;
|
||||||
|
ti,bq2597x,sense-resistor-mohm = <5>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
@@ -24,3 +24,51 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "camera/khaje-camera-sensor-mot-rhode-overlay_evt.dtsi"
|
#include "camera/khaje-camera-sensor-mot-rhode-overlay_evt.dtsi"
|
||||||
|
|
||||||
|
&qupv3_se1_i2c {
|
||||||
|
status = "okay";
|
||||||
|
bq2597x: bq2597x-charger@65 {
|
||||||
|
compatible = "ti,bq25970-charger";
|
||||||
|
reg = <0x65>;
|
||||||
|
#io-channel-cells = <1>;
|
||||||
|
//ti,bq2597x,interrupt_gpios = <&pio 30 0>;
|
||||||
|
//interrupt-parent = <&pio>;
|
||||||
|
//interrupts = <2 IRQ_TYPE_EDGE_FALLING 2 0>;
|
||||||
|
//interrupt-names = "bq2597x_irq";
|
||||||
|
|
||||||
|
//pinctrl-names = "default_slave";
|
||||||
|
//pinctrl-0 = <&bq2597x_int_default_slave>;
|
||||||
|
interrupt-parent = <&tlmm>;
|
||||||
|
interrupts = <3 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-ocp_disable = <0>;
|
||||||
|
ti,bq2597x,bat-ovp-alarm-disable = <0>;
|
||||||
|
ti,bq2597x,bus-ocp-disable = <0>;
|
||||||
|
ti,bq2597x,bus-ovp-alarm-disable = <0>;
|
||||||
|
ti,bq2597x,bus-ocp-alarm-disable = <0>;
|
||||||
|
ti,bq2597x,bat-ucp-alarm-disable = <0>;
|
||||||
|
ti,bq2597x,bat-therm-disable = <0>;
|
||||||
|
ti,bq2597x,bus-therm-disable = <0>;
|
||||||
|
|
||||||
|
ti,bq2597x,bat-ovp-threshold = <4500>;
|
||||||
|
ti,bq2597x,bat-ovp-alarm-threshold = <4450>;
|
||||||
|
ti,bq2597x,bat-ocp-threshold = <8000>;
|
||||||
|
ti,bq2597x,bat-ocp-alarm-threshold = <7500>;
|
||||||
|
|
||||||
|
ti,bq2597x,bus-ovp-threshold = <12000>;
|
||||||
|
ti,bq2597x,bus-ovp-alarm-threshold = <11000>;
|
||||||
|
ti,bq2597x,bus-ocp-threshold = <3750>;
|
||||||
|
ti,bq2597x,bus-ocp-alarm-threshold = <3500>;
|
||||||
|
|
||||||
|
ti,bq2597x,bat-ucp-alarm-threshold = <2000>;
|
||||||
|
|
||||||
|
ti,bq2597x,bat-therm-threshold = <0x15>;
|
||||||
|
ti,bq2597x,bus-therm-threshold = <0x15>;
|
||||||
|
ti,bq2597x,die-therm-threshold = <125>;
|
||||||
|
|
||||||
|
ti,bq2597x,ac-ovp-threshold = <17>;
|
||||||
|
ti,bq2597x,sense-resistor-mohm = <5>;
|
||||||
|
};
|
||||||
|
};
|
||||||
Reference in new issue
Block a user