arm64/dts:Capri/Capri+ charging bring up.
Capri 5000, Capri 6000, Capri+ 3 products have different requirement, bring up. Change-Id: I54fae278122017f74f509eaeb10e8776eb367213 Signed-off-by: xieqiong2 <xieqiong2@lenovo.com> Reviewed-on: https://gerrit.mot.com/1755478 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
1 parent
7829c33e08
commit
921d3fac09
7 files changed
+150
-24
No files matched your search
+3
-1
@@ -58,9 +58,11 @@ dtbo-$(CONFIG_CEBU_DTB) += \
|
||||
bengal-cebu-evt-overlay.dtbo-base := bengal-moto-base-cebu.dtb
|
||||
|
||||
dtbo-$(CONFIG_CAPRI_DTB) += \
|
||||
bengal-capri-evt-overlay.dtbo
|
||||
bengal-capri-evt-overlay.dtbo \
|
||||
bengal-capri-evt-sku5-overlay.dtbo
|
||||
|
||||
bengal-capri-evt-overlay.dtbo-base := bengal-moto-base.dtb
|
||||
bengal-capri-evt-sku5-overlay.dtbo-base := bengal-moto-base.dtb
|
||||
|
||||
dtbo-$(CONFIG_CAPRIP_DTB) += \
|
||||
bengal-caprip-evt-overlay.dtbo
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
&soc{
|
||||
mtp_batterydata: qcom,battery-data {
|
||||
qcom,batt-id-range-pct = <15>;
|
||||
df-serialnum = "SB18C77591";
|
||||
#include "qg-batterydata-jk50-atl-4850mah.dtsi"
|
||||
#include "qg-batterydata-jk50-scud-4850mah.dtsi"
|
||||
#include "qg-batterydata-jk50-atl-flex-4850mah.dtsi"
|
||||
#include "qg-batterydata-jk50-atl-unicoba-4850mah.dtsi"
|
||||
#include "qg-batterydata-jk50-swd-4850mah.dtsi"
|
||||
};
|
||||
};
|
||||
|
||||
&pmi632_qg {
|
||||
qcom,qg-iterm-ma = <350>;
|
||||
};
|
||||
|
||||
&pmi632_charger {
|
||||
qcom,iterm-ma = <100>;
|
||||
qcom,fcc-max-ua = <2000000>;
|
||||
qcom,fv-max-uv = <4400000>;
|
||||
qcom,usb-icl-ua = <2000000>;
|
||||
qcom,thermal-mitigation = <2000>,
|
||||
<1800>,
|
||||
<1600>,
|
||||
<1300>,
|
||||
<1100>,
|
||||
<900>,
|
||||
<600>,
|
||||
<400>;
|
||||
qcom,mmi-temp-zones = <0 4200 1000 0>,
|
||||
<10 4200 1000 1000>,
|
||||
<15 0 1000 1000>,
|
||||
<45 0 2000 2000>,
|
||||
<60 4200 2000 0>;
|
||||
qcom,hvdcp-disable;
|
||||
qcom,support-2a-dcp;
|
||||
};
|
||||
@@ -0,0 +1,44 @@
|
||||
/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
&soc{
|
||||
mtp_batterydata: qcom,battery-data {
|
||||
qcom,batt-id-range-pct = <15>;
|
||||
df-serialnum = "SB18C96996";
|
||||
#include "qg-batterydata-ATL-4V45_6000mah.dtsi"
|
||||
};
|
||||
};
|
||||
|
||||
&pmi632_qg {
|
||||
qcom,qg-iterm-ma = <400>;
|
||||
};
|
||||
|
||||
&pmi632_charger {
|
||||
qcom,iterm-ma = <290>;
|
||||
qcom,fcc-max-ua = <3000000>;
|
||||
qcom,fv-max-uv = <4450000>;
|
||||
qcom,usb-icl-ua = <3000000>;
|
||||
qcom,thermal-mitigation = <3000>,
|
||||
<2600>,
|
||||
<2300>,
|
||||
<1800>,
|
||||
<1500>,
|
||||
<1000>,
|
||||
<600>,
|
||||
<400>;
|
||||
qcom,mmi-temp-zones = <0 4200 1164 0>,
|
||||
<10 4200 3000 1164>,
|
||||
<15 0 3000 3000>,
|
||||
<45 0 3000 3000>,
|
||||
<60 4200 3000 0>;
|
||||
mmi,ext-ovp-greater-12v;
|
||||
};
|
||||
@@ -168,6 +168,7 @@
|
||||
qcom,dsi-default-panel = <&dsi_hlt_hx83102d_video>;
|
||||
};
|
||||
|
||||
/*
|
||||
&soc{
|
||||
mtp_batterydata: qcom,battery-data {
|
||||
qcom,batt-id-range-pct = <15>;
|
||||
@@ -179,9 +180,10 @@
|
||||
#include "qg-batterydata-jk50-swd-4850mah.dtsi"
|
||||
};
|
||||
};
|
||||
*/
|
||||
|
||||
&pmi632_qg {
|
||||
qcom,qg-iterm-ma = <350>;
|
||||
//qcom,qg-iterm-ma = <350>;
|
||||
qcom,vbatt-cutoff-mv = <3200>;
|
||||
qcom,vbatt-empty-mv = <3000>;
|
||||
qcom,vbatt-low-mv = <3300>;
|
||||
@@ -212,28 +214,28 @@
|
||||
};
|
||||
|
||||
&pmi632_charger {
|
||||
qcom,iterm-ma = <100>;
|
||||
qcom,fcc-max-ua = <2000000>;
|
||||
qcom,fv-max-uv = <4400000>;
|
||||
qcom,usb-icl-ua = <2000000>;
|
||||
qcom,thermal-mitigation = <2000>,
|
||||
<1800>,
|
||||
<1600>,
|
||||
<1300>,
|
||||
<1100>,
|
||||
<900>,
|
||||
<600>,
|
||||
<400>;
|
||||
//qcom,iterm-ma = <100>;
|
||||
//qcom,fcc-max-ua = <2000000>;
|
||||
//qcom,fv-max-uv = <4400000>;
|
||||
//qcom,usb-icl-ua = <2000000>;
|
||||
//qcom,thermal-mitigation = <2000>,
|
||||
// <1800>,
|
||||
// <1600>,
|
||||
// <1300>,
|
||||
// <1100>,
|
||||
// <900>,
|
||||
// <600>,
|
||||
// <400>;
|
||||
qcom,battery-data = <&mtp_batterydata>;
|
||||
qcom,mmi-temp-zones = <0 4200 1000 0>,
|
||||
<10 4200 1000 1000>,
|
||||
<15 0 1000 1000>,
|
||||
<45 0 2000 2000>,
|
||||
<60 4200 2000 0>;
|
||||
//qcom,mmi-temp-zones = <0 4200 1000 0>,
|
||||
// <10 4200 1000 1000>,
|
||||
// <15 0 1000 1000>,
|
||||
// <45 0 2000 2000>,
|
||||
// <60 4200 2000 0>;
|
||||
qcom,enable-charging-limit;
|
||||
qcom,upper-limit-capacity = <70>;
|
||||
qcom,upper-limit-capacity = <75>;
|
||||
qcom,lower-limit-capacity = <60>;
|
||||
qcom,hvdcp-disable;
|
||||
//qcom,hvdcp-disable;
|
||||
qcom,otg-cl-ua = <1000000>;
|
||||
qcom,dc-unsupported;
|
||||
qcom,wireless-unsupported;
|
||||
@@ -241,7 +243,7 @@
|
||||
qcom,disable-suspend-on-collapse;
|
||||
dpdm-supply = <&qusb_phy0>;
|
||||
qcom,auto-recharge-soc = <99>;
|
||||
qcom,support-microb-dcp;
|
||||
//qcom,support-2a-dcp;
|
||||
};
|
||||
|
||||
&soc {
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
/plugin/;
|
||||
|
||||
#include "bengal-capri-common-overlay.dtsi"
|
||||
#include "bengal-capri-charge-5000-overlay.dtsi"
|
||||
|
||||
/ {
|
||||
model = "capri";
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
/* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include "bengal-capri-common-overlay.dtsi"
|
||||
#include "bengal-capri-charge-6000-overlay.dtsi"
|
||||
|
||||
/ {
|
||||
model = "capri";
|
||||
compatible = "qcom,bengal-capri", "qcom,bengal-moto", "qcom,bengal";
|
||||
qcom,msm-id = <417 0x10000>;
|
||||
qcom,board-id = <(5<<8) 0xA000>;
|
||||
};
|
||||
|
||||
/*
|
||||
* capri HW rev specific changes go here
|
||||
*/
|
||||
@@ -304,9 +304,9 @@
|
||||
<10 4200 1000 1000>,
|
||||
<15 0 1000 1000>,
|
||||
<45 0 3000 3000>,
|
||||
<60 4200 2000 0>;
|
||||
<60 4200 2500 0>;
|
||||
qcom,enable-charging-limit;
|
||||
qcom,upper-limit-capacity = <70>;
|
||||
qcom,upper-limit-capacity = <75>;
|
||||
qcom,lower-limit-capacity = <60>;
|
||||
qcom,otg-cl-ua = <1000000>;
|
||||
qcom,dc-unsupported;
|
||||
|
||||
Reference in new issue
Block a user