1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * EMEM data may be accessed through port 62/66 or through LPC at 900h
5 * or through LPC GMR (Generic Memory Range) MMIO range.
8 TIN0, 8, // Temperature 0
9 TIN1, 8, // Temperature 1
10 TIN2, 8, // Temperature 2
11 TIN3, 8, // Temperature 3
12 TIN4, 8, // Temperature 4
13 TIN5, 8, // Temperature 5
14 TIN6, 8, // Temperature 6
15 TIN7, 8, // Temperature 7
16 TIN8, 8, // Temperature 8
17 TIN9, 8, // Temperature 9
19 FAN0, 16, // Fan Speed 0
20 FAN1, 16, // Fan Speed 1
22 BTVR, 8, // Battery structure version
24 LIDS, 1, // Lid Switch State
25 PBTN, 1, // Power Button Pressed
26 WPDI, 1, // Write Protect Disabled
27 RECK, 1, // Keyboard Initiated Recovery
28 RECD, 1, // Dedicated Recovery Mode
30 BTVO, 32, // Battery Present Voltage
31 BTPR, 32, // Battery Present Rate
32 BTRA, 32, // Battery Remaining Capacity
33 ACEX, 1, // AC Present
34 BTEX, 1, // Battery Present
35 BFDC, 1, // Battery Discharging
36 BFCG, 1, // Battery Charging
37 BFCR, 1, // Battery Level Critical
38 BFIV, 1, // Invalid Battery Data
39 BFCT, 1, // Battery cutoff
41 BTCN, 8, // Battery Count
42 BTIX, 8, // Battery index
44 BTDA, 32, // Battery Design Capacity
45 BTDV, 32, // Battery Design Voltage
46 BTDF, 32, // Battery Last Full Charge Capacity
47 BTCC, 32, // Battery Cycle Count
48 BMFG, 64, // Battery Manufacturer String
49 BMOD, 64, // Battery Model String
50 BSER, 64, // Battery Serial String
51 BTYP, 64, // Battery Type String
53 ALS0, 16, // ALS reading 0 in lux
57 PWRT, 8, // Power source and change count
58 EOVD, 8, // EC OEM Variable Data