﻿//=================================================================================================
// KBC Version: 	00.01.09
// Date:		2025/01/10
// Base:		v000108
//=================================================================================================
1. Added Thunderbolt Charging function.
   In battery mode, the Thunderbolt port will not charge the device when the system is in S4/ S5.

//=================================================================================================
// KBC Version: 	00.01.08
// Date:		2023/12/04
// Base:		v000107
//=================================================================================================
1. Fix power button delay problem caused by Dock out.

//=================================================================================================
// KBC Version: 	00.01.07
// Date:		2023/10/19
// Base:		v000106
//=================================================================================================
1. Set WWAN_PWR High when S5toS0. Supports EM9191(5G).

//=================================================================================================
// KBC Version: 	00.01.06
// Date:		2023/10/12
// Base:		v000105
//=================================================================================================
1. Fix USB Power Share issue when BAT power only(GPJ6).

//=================================================================================================
// KBC Version: 	00.01.05
// Date:		2023/08/10
// Base:		v000104
//=================================================================================================
1. Modify Charge IC setting value for ISN.
0x3C:028BH
0x3D:7100H
0x4C:Battery mode->0300H,AC Mode->0320H
0x3F:0BB8H 3.000A(57.000W)(PD-10W)
0x3B:0D5CH 3.420A(64,980W)(PD-2W)
0x47:0D80H 3.456A(65.664W)(PD-1W)

//=================================================================================================
// KBC Version: 	00.01.04
// Date:		2023/06/15
// Base:		v000103
//=================================================================================================
1. Deleted MOD_DET# function.
2. Fix the BriBat power issue after flashing EC.
3. Fix BriBatOn Set GPIO to S5 issue.
4. Set eSPI_ALERT is supplied by VCC(1.8V).
5. Set Set5G_Pcie_RstPinHigh when S5toS0.
6. Add H2RAM COMMAND 0x67.
   date 0x01 = Set5G_Pcie_RstPinHigh
   date 0x00 = Set5G_Pcie_RstPinLow

//=================================================================================================
// KBC Version: 	00.01.03
// Date:		2023/04/20
// Base:		v00010218
//=================================================================================================
1. Add 0x66 H2RAM command, Xor STEALTH_BLT#.
2. Enable CPUPowerControl(PL1).
3. Fix power button delay issue.
4. Fix flash EC Power_LED issue.
5. Add Review BRIDGER_BAT Powered Switching Panel.
6. Modify night vision mode TMR to 9/10000.
7. Fix MODControl issue.
8. Fix Prog2Key issue.
9. Fix ADC Automatic Hardware Calibration Enabl.
10. Modify SX9324_SUPPORT Proximity.
11. Modify CHARGE_CURRENT 0x0960 -> 2.4A.
12. Deleted SET_DEVICE_ON_EE when S0 for EE test.
13. Add USB_EN# function.
14. Add UART_EN# function.

//=================================================================================================
// KBC Version: 	00.01.02
// Date:		2023/03/13
// Base:		v00010100
//=================================================================================================
1. Add 2nd GPS function.
#define AttDeviceAttached1					ECReg(ACPIRAM + 0xF1)
#define ATTDEVICE_2GPS				BIT6 //separate GPS_ON
2. Modify ISL9241 to 2-cell.
3. Add Device all open for EE test

//=================================================================================================
// KBC Version: 	00.01.01.00
// Date:		2023/03/10
// Base:		v00010000
//=================================================================================================
1. GPIO Initial configuration beased on "X11G3_CKT_ADL_RA_Update.pdf".


//=================================================================================================
// KBC Version: 	00.01.00.00
// Date:		2023/02/09
// Base:		R11AH7 v000610
//=================================================================================================
1. Based on AMI ITE5571 code base and "202211161_R11AH7_ADL_TwinHead_00061000".
2. Power sequence based on "TURN_ON_POWER.TXT", "TURN_OFF_POWER.TXT" and "Load GPIO Config.TXT".
3. ChargerIC initial setting based on "ChargerIC Initial.TXT" and "isl95521a_ds-2016-05-09.pdf".