-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ALPS06334486] build: add new platform
add mt6833/mt6739/mt6768/mt6893/mt6781/mt6877 MTK-Commit-Id: c9b1573613fde4f1905a5021752d1de2f2cecf73 Signed-off-by: Alan Hu <[email protected]> CR-Id: ALPS06334486 Feature: SI Operation Change-Id: I45f6d19854c156bcec5c3a19e6eb938ceed82cef
- Loading branch information
Alan Hu
committed
Dec 15, 2021
1 parent
edc22ef
commit c791211
Showing
6,542 changed files
with
3,221,555 additions
and
14,518 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
arch/arm/boot/dts/bat_setting/mt6739_battery_prop_ext.dtsi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
/* | ||
* Copyright (c) 2019 MediaTek Inc. | ||
*/ | ||
|
||
bat_gm30: battery{ | ||
compatible = "mediatek,bat_gm30"; | ||
/* Charging termination current.*/ | ||
DIFFERENCE_FULLOCV_ITH = <(200)>; | ||
/* If ui_soc shows 1% more than X minites, system will shutdown.*/ | ||
SHUTDOWN_1_TIME = <(5)>; | ||
/* The ui_soc will keep 100% until SOC drop X percents after unplugged.*/ | ||
KEEP_100_PERCENT = <(1)>; | ||
R_FG_VALUE = <(10)>; /* R_sense resistance.*/ | ||
/* Configures whether using embedded battery or not.*/ | ||
EMBEDDED_SEL = <(0)>; | ||
PMIC_SHUTDOWN_CURRENT = <(20)>; /* System shutdown current.*/ | ||
FG_METER_RESISTANCE = <(75)>; /* The resistance of PCB*/ | ||
/* Tune value for current measurement.*/ | ||
CAR_TUNE_VALUE = <(100)>; | ||
PMIC_MIN_VOL = <(33500)>; | ||
/* vboot voltage for gauge 0%.*/ | ||
POWERON_SYSTEM_IBOOT = <(500)>; | ||
/* power on system iboot*/ | ||
SHUTDOWN_GAUGE0_VOLTAGE = <(34000)>; | ||
/* shutdown gauge 0% voltage*/ | ||
TEMPERATURE_T0 = <(50)>; /* Battery temperature T0*/ | ||
TEMPERATURE_T1 = <(25)>; /* Battery temperature T1*/ | ||
TEMPERATURE_T2 = <(10)>; /* Battery temperature T2*/ | ||
TEMPERATURE_T3 = <(0)>; /* Battery temperature T3*/ | ||
TEMPERATURE_T4 = <(-10)>; /* Battery temperature T4*/ | ||
g_FG_PSEUDO100_T0 = <(100)>; /* Pseudo 100% percentage at T0.*/ | ||
g_FG_PSEUDO100_T1 = <(100)>; /* Pseudo 100% percentage at T1.*/ | ||
g_FG_PSEUDO100_T2 = <(100)>; /* Pseudo 100% percentage at T2.*/ | ||
g_FG_PSEUDO100_T3 = <(100)>; /* Pseudo 100% percentage at T3.*/ | ||
g_FG_PSEUDO100_T4 = <(100)>; /* Pseudo 100% percentage at T4.*/ | ||
/* System shut down voltage.*/ | ||
Q_MAX_SYS_VOLTAGE_BAT0 = <(3350)>; | ||
/* System shut down voltage.*/ | ||
Q_MAX_SYS_VOLTAGE_BAT1 = <(3350)>; | ||
/* System shut down voltage.*/ | ||
Q_MAX_SYS_VOLTAGE_BAT2 = <(3350)>; | ||
/* System shut down voltage.*/ | ||
Q_MAX_SYS_VOLTAGE_BAT3 = <(3350)>; | ||
#include "mt6739_battery_table_ext.dtsi" | ||
}; |
Oops, something went wrong.