*********************************************************************************
      GE5KN61 EC RELEASE NOTE

*********************************************************************************
---------------------------------------------------------------------------------
2017/08/28                EC Version 1.24.00
---------------------------------------------------------------------------------
1. Modify thermal Spec
   "GE5KN66_Fan Speed Control Table_V10_NPI phase_20170822.pdf"
   "GE5KN61_Fan Speed Control Table_V5_ phase_20170104a.pdf"

Note:
     Release Formal version "GE5KN 1.24.00" for Standard
     Release sub version    "GE5KN 1.24.20" for BR keyboard
     Release sub version    "GE5KN 1.24.30" for BR keyboard (ME full area, 2key different)
     Release sub version    "GE5KN 1.24.64" for Haier
     Release sub version    "GE5KN 1.24.70" for German keyboard (R-Ctrl key different)

---------------------------------------------------------------------------------
2017/07/12                EC Version 1.23.00
---------------------------------------------------------------------------------
1. Rsmrst# pin low for Battery mode power off sequence.
   (avoid system power on fail before RTC reset)
2. Fn+F7 adjust keyboard brightness always Send OSD for Haier Spec (EC 1.23.64).
3. eDP panel sequence BL_ON delay 2000ms only for S3.
4. patch code for EC 1.07-->1.22 can't auto reboot after flash.

Note:
     Release Formal version "GE5KN 1.23.00" for Standard
     Release sub version    "GE5KN 1.23.20" for BR keyboard
     Release sub version    "GE5KN 1.23.30" for BR keyboard (ME full area, 2key different)
     Release sub version    "GE5KN 1.23.64" for Haier
     Release sub version    "GE5KN 1.23.70" for German keyboard (R-Ctrl key different)

---------------------------------------------------------------------------------
2017/06/28                EC Version 1.22.00
---------------------------------------------------------------------------------
1. eDP panel sequence BL_ON delay 2000ms.

Note:
     Release Formal version "GE5KN 1.22.00" for Standard
     Release sub version    "GE5KN 1.22.20" for BR keyboard
     Release sub version    "GE5KN 1.22.30" for BR keyboard (ME full area, 2key different)
     Release sub version    "GE5KN 1.22.64" for Haier
     
---------------------------------------------------------------------------------
2017/06/12                EC Version 1.21.00
---------------------------------------------------------------------------------
1. Modify battery Spec
   "EC setting_V1.0_William.docx" -->add temperature table ID 0x0F
2. Modify battery charge table.
   "SW Gauge_0.1_090921"
3. Battery discharge voltage offset 0.76%-->0.25%, (battery team spec.)
   it may fix battery low power voltage issue.

Note:
     Release Formal version "GE5KN 1.21.00" for Standard
     Release sub version    "GE5KN 1.21.20" for BR keyboard
     Release sub version    "GE5KN 1.21.30" for BR keyboard (ME full area, 2key different)
     Release sub version    "GE5KN 1.21.64" for Haier

---------------------------------------------------------------------------------
2017/06/02                EC Version 1.20.00
---------------------------------------------------------------------------------
1. Fix press 3 + 4 + 5 key lost on fully-area keyboard.

Note:
     Release Formal version "GE5KN 1.20.00" for Standard
     Release sub version    "GE5KN 1.20.20" for BR keyboard
     Release sub version    "GE5KN 1.20.30" for BR keyboard (ME full area, 2key different)
     Release sub version    "GE5KN 1.20.64" for Haier

---------------------------------------------------------------------------------
2017/06/02                EC Version 1.19.00
---------------------------------------------------------------------------------
1. Remove EC 1.15.00 fix item "1. Modify battery low voltage shutdown delay time 8sec --> 2sec"
   (follow Battery team William 0525 email.)
2. Modify thermal Spec
   "GE5KN66_Fan Speed Control Table_V8_NPI phase_20170525.pptx"

Note:
     Release Formal version "GE5KN 1.19.00" for Standard
     Release sub version    "GE5KN 1.19.20" for BR keyboard
     Release sub version    "GE5KN 1.19.30" for BR keyboard (ME full area, 2key different)
     Release sub version    "GE5KN 1.19.64" for Haier

---------------------------------------------------------------------------------
2017/05/18                EC Version 1.18.00
---------------------------------------------------------------------------------
1. Add Fn key scancode 0xE0 0x63
2. Fix 2 anbormal behavior about Thermal Patch Fan:
   <1>Fan boost LED will turn ON.
   <2>Sometimes Fan voltage is not 5V.
3.Add workaround for ME keyboard back light can't adjust issue

Note:
     Release Formal version "GE5KN 1.18.00" for Standard
     Release sub version    "GE5KN 1.18.20" for BR keyboard
     Release sub version    "GE5KN 1.18.30" for BR keyboard (ME full area, 2key different)
     Release sub version    "GE5KN 1.18.64" for Haier

---------------------------------------------------------------------------------
2017/05/17                EC Version 1.17.00 (not formal release)
---------------------------------------------------------------------------------
N/A

---------------------------------------------------------------------------------
2017/05/17                EC Version 1.16.00 (not formal release)
---------------------------------------------------------------------------------
N/A

---------------------------------------------------------------------------------
2017/05/16                EC Version 1.15.00
---------------------------------------------------------------------------------
1. Modify battery low voltage shutdown delay time 8sec --> 2sec

2. Remove no use define ECRAM 0476h.0 (TP Off/On), AP may write this flag abnormal.

Note:
     Release Formal version "GE5KN 1.15.00" for Standard
     Release sub version    "GE5KN 1.15.20" for BR keyboard
     Release sub version    "GE5KN 1.15.30" for BR keyboard (ME full area, 2key different)
     Release sub version    "GE5KN 1.15.64" for Haier
     
---------------------------------------------------------------------------------
2017/05/10                EC Version 1.14.00
---------------------------------------------------------------------------------
1. Fan speed define change(for tool use, low risk):
	464/465 : MainFan (CPU)
	46C/46D: SecodeFan (VGA)
	46E/46F: 3rd Fan (Reserved)
2. Modify battery Spec
   "EC setting_V0.9_William.docx" -->add high temperature CPU PROCHOT

3. Modify thermal Spec
   "GE5KN66_Fan Speed Control Table_V6_NPI phase_20170510.pptx"

Note:
     Release Formal version "GE5KN 1.14.00" for Standard
     Release sub version    "GE5KN 1.14.20" for BR keyboard
     Release sub version    "GE5KN 1.14.64" for Haier
     
---------------------------------------------------------------------------------
2017/05/02                EC Version 1.13.00
---------------------------------------------------------------------------------
1. Battery over temperature throttling + GPU GPIO12 Low
2. Add debug function(but disable, no risk):
   (1)battery learning test process code for RD use.
   (2)Sequence debug for C.

Note:
     Release Formal version "GE5KN 1.13.00" for Standard
     Release sub version    "GE5KN 1.13.20" for BR keyboard
     Release sub version    "GE5KN 1.13.64" for Haier
     
---------------------------------------------------------------------------------
2017/04/17                EC Version 1.12.00
---------------------------------------------------------------------------------
1. Modify number pad key scancode for fix RGB AP LED location issue.

Note:
     Release Formal version "GE5KN 1.12.00" for Standard
     Release sub version    "GE5KN 1.12.20" for BR keyboard
     Release sub version    "GE5KN 1.12.64" for Haier
     
---------------------------------------------------------------------------------
2017/04/11                EC Version 1.11.00
---------------------------------------------------------------------------------
1. Fix 100% battery which UVP protected, can't wake up issue.
2. Midify number pad Enter key standard scancode "E0 5A" for RGB Keyboard AP use.

Note:
     Release Formal version "GE5KN 1.11.00" for Standard
     Release sub version    "GE5KN 1.11.20" for BR keyboard
     Release sub version    "GE5KN 1.11.64" for Haier
     
---------------------------------------------------------------------------------
2017/03/31                EC Version 1.10.00
---------------------------------------------------------------------------------
1. Modify battery 2'C can't S3 resume for meet battery Spec
   "EC setting_V0.7_William.docx"
2. Patch code Q-Event 0x77(down) & 0x78(up) for Fn+KB brightness AP use.

Note:
     Release Formal version "GE5KN 1.10.00" for Standard
     Release sub version    "GE5KN 1.10.20" for BR keyboard
     Release sub version    "GE5KN 1.10.64" for Haier

---------------------------------------------------------------------------------
2017/03/29                EC Version 1.09.00
---------------------------------------------------------------------------------
1. Modify support battery Spec
   "EC setting_V0.7_William.docx"
2. remove EC 1.08.00 No.3 , it cause Winkey issue again.
3. Add Q-Event 0x77(down) & 0x78(up) for Fn+KB brightness AP use.
 
Note:
     Release Formal version "GE5KN 1.09.00" for Standard
     Release sub version    "GE5KN 1.09.20" for BR keyboard
     Release sub version    "GE5KN 1.09.64" for Haier

---------------------------------------------------------------------------------
2017/03/15                EC Version 1.08.00
---------------------------------------------------------------------------------
1. Add patch code to clear MyAPP HP register bit, avoid AC icon abnormal.
2. Modify Fan table for ID6.
3. Fix 686C port write 0x767 workaround for new AP can't write 0x767 , AP no function.
4. battery low voltage EC shutdown, always update 0% RSOC.
 
Note:
     Release Formal version "GE5KN 1.08.00" for Standard
     Release sub version    "GE5KN 1.08.20" for BR keyboard
     Release sub version    "GE5KN 1.08.64" for Haier
     
---------------------------------------------------------------------------------
2017/03/06                EC Version 1.07.00
---------------------------------------------------------------------------------
1. Fix Qkey3 floating GPIO to avoid Qkey1(LCD off) abnormal.
2. Fix BR keyboard many wrong key(1.07.20 only).
 
Note:
     Release Formal version "GE5KN 1.07.00" for Standard
     Release sub version    "GE5KN 1.07.20" for BR keyboard
     Release sub version    "GE5KN 1.07.64" for Haier
     
---------------------------------------------------------------------------------
2017/02/23                EC Version 1.06.00                  
---------------------------------------------------------------------------------
1. Update battery Spec to fix charge abnormal in low temperature. 
   "NormalBAT EC setting of Battery_Guide 20170221 V0.2"
   "PowerBAT EC setting of Battery_Guide 20170221 V0.2"
2. Fix ZeroI default=0, charge current abnormal.
3. Add default Fan table.
4. Disable charger battery boost function to avoid longrun battery leakage.
5. RSOC < 60% --> RSOC<70% do GPU D5.
6. Add Winlock issue workaround solution.
 
Note:
     Release Formal version "GE5KN 1.06.00" for Standard
     Release sub version    "GE5KN 1.06.20" for BR keyboard
     Release sub version    "GE5KN 1.06.64" for Haier

---------------------------------------------------------------------------------
2017/02/18                EC Version 1.05.00                  
---------------------------------------------------------------------------------
1. Retry solution for charger issue

---------------------------------------------------------------------------------
2017/02/10                EC Version 1.04.00                  
---------------------------------------------------------------------------------
1. change battery leakage volume to 40mAH for Haier sku
2. patch no eDP backlight issue when HDMI plugged in
3. change platform ID level for detecting ID6 (ModuleID Bit1 low)

---------------------------------------------------------------------------------
2017/02/03                EC Version 1.03.00                  
---------------------------------------------------------------------------------
1. change battery charge voltage to 17.4V requested by power team
2. assign AC parameters to GE5KN7x(230W, battery boost disable) & GE5KN6x(180W, battery boost enable)
3. change GPU Dstate from D4 to D5 in DC mode with RSOC more than 60% for GE5KN7x (GE5KN6x remains the same)
4. checksum: 0x74FC2C

---------------------------------------------------------------------------------
2017/01/16                EC Version 1.02.00                  
---------------------------------------------------------------------------------
1. add a flag for different nV chips (1060, 1070) (GE5KN6x, GE5KN7x) by EC RAM 0x456 bit2
2. add 1070 fan table and thermal patch power
3. power consumption in S3 with battery only (Haier: 50mAh)
4. issue fan boost virtual scan code (0x43) for showing OSD icon
5. checksum: 0x74F409

---------------------------------------------------------------------------------
2017/01/11                EC Version 1.01.00                  
---------------------------------------------------------------------------------
1. assign PLx_Thermal value if system boots in battery mode
2. combine GE5KN63 (Haier) customized code (Fn+1: fan boost, Fn+2: breath LED, only power LED breaths in S3)
3. add fan boost LED for ID6 by IO extender GPIO18
4. checksum: 0x754CCE
*note: for GE5KN64, EC RAM 0x456 bit1 is set by BIOS, makes Qkey1 function be LCD backlight on/off 

---------------------------------------------------------------------------------
2017/01/05                EC Version 1.00.00                  
---------------------------------------------------------------------------------
1. fix fan not run to cause GPU performance down
2. change version for NPI
3. checksum: 0x756143

---------------------------------------------------------------------------------
2017/01/04                EC Version 0.12.00                  
---------------------------------------------------------------------------------
1. add Brazil scan table
2. diode keyboard first hitting detection by interrupt instead of polling
3. add ID6 fan table and differentiated from ID1's by BT_ON's signal level at power on (1: ID1, 0: ID6)
4. GE5KN64 (Qkey of LCD on/off instead of fan boost on/off) and other sku distinguished by BIOS (port66 command 0x7C)
5. checksum: 0x75610F

---------------------------------------------------------------------------------
2016/12/21                EC Version 0.11.00                  
---------------------------------------------------------------------------------
1. thermal patch for Kaby Lake's abnormal DTS behavior at heavy loading
2. fan table 20161207 change
3. enable Workaround3000 for system reboot hang when quiting from BIOS setup menu
4. not to issue SCI when in S3 for resuming from S3 too slow issue.
5. disable keyboard debug card
6. add diode keyboard support
7. checksum: 0x76099D

---------------------------------------------------------------------------------
2016/12/05                EC Version 0.10.00                  
---------------------------------------------------------------------------------
1. change version for B phase release
2. checksum: 0x76D1AD

---------------------------------------------------------------------------------
2016/11/28                EC Version 0.02.00                  
---------------------------------------------------------------------------------
1. change fan control to C code
2. new fan control scheme for dual fans (choose the max DA value between GPU & CPU)
3. set normal fan enable after turning fan boost off
4. add support byte 3 for different backlight keyboards
5. panel sequence LVDS_VIN pull in 30ms
6. remove RTD init to shrink code size
7. add diode key (non-ghost for full area backlight keyboard)
8. change battery temperature throttling point to 57C
9. checksum: 0x76D1A5

---------------------------------------------------------------------------------
2016/11/10                EC Version 0.01.00                  
---------------------------------------------------------------------------------
1. Modified from GE5SN 1.10.00
2. Modifed IO extender GPIO07 to INPUT PIN (GPIO13_LCD_BLEN_EC)
3. shrink EC code by 4K byte
4. keep keyboard backlight level
5. keep win lock status
6. checksum 0x739194