soc/intel/ptl: Update ME specification version to 21
[coreboot.git] / src / ec / starlabs / merlin / variants / cezanne / events.asl
blob37b84b707bae274d392e1129c22affb7cd953d38
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 Method (_Q01, 0, NotSerialized)                 // Event: F1 Hot Key
5         Printf ("EC: F1")
8 Method (_Q02, 0, NotSerialized)                 // Event: F2 Hot Key
10         Printf ("EC: F2")
13 Method (_Q03, 0, NotSerialized)                 // Event: F3 Hot Key
15         Printf ("EC: F3")
18 Method (_Q04, 0, NotSerialized)                 // Event: F4 Hot Key
20         Printf ("EC: F4")
23 Method (_Q05, 0, NotSerialized)                 // Event: F5 Hot Key
25         Printf ("EC: F5")
28 Method (_Q06, 0, NotSerialized)                 // Event: F6 Hot Key
30         Printf ("EC: F6")
33 Method (_Q07, 0, NotSerialized)                 // Event: F7 Hot Key
35         Printf ("EC: F7")
38 Method (_Q08, 0, NotSerialized)                 // Event: Backlight Brightness Down
40         ^^^^HIDD.HPEM (20)
43 Method (_Q09, 0, NotSerialized)                 // Event: Backlight Brightness Up
45         ^^^^HIDD.HPEM (19)
48 Method (_Q10, 0, NotSerialized)                 // Event: F10 Hot Key
50         Printf ("EC: F10")
53 Method (_Q11, 0, NotSerialized)                 // Event: F11 Hot Key
55         Printf ("EC: F11")
58 Method (_Q12, 0, NotSerialized)                 // Event: F12 Hot Key
60         Printf ("EC: F12")
63 Method (_Q0A, 0, NotSerialized)                 // Event: AC Power Connected
65         Notify (BAT0, 0x81)
66         Notify (ADP1, 0x80)
69 Method (_Q0B, 0, NotSerialized)                 // Event: AC Power Disconnected
71         Notify (BAT0, 0x81)
72         Notify (BAT0, 0x80)
75 Method (_Q0C, 0, NotSerialized)                 // Event: Lid Closed
77         \LIDS = LSTE
78         Notify (LID0, 0x80)
81 Method (_Q0D, 0, NotSerialized)                 // Event: Lid Opened
83         \LIDS = LSTE
84         Notify (LID0, 0x80)
88 Method (_Q0E, 0, NotSerialized)                 // Event: SLEEP
90         Printf ("EC: SLEEP")
93 Method (_Q13, 0, NotSerialized)                 // Event: BRIGHTNESS
95         Printf ("EC: BRIGHTNESS")
99 Method (_Q20, 0, NotSerialized)                 // Event: CPU_T
101         Printf ("EC: CPU_T")
104 Method (_Q21, 0, NotSerialized)                 // Event: SKIN_T
106         Printf ("EC: SKIN_T")
109 Method (_Q22, 0, NotSerialized)                 // Event: CHARGER_T
111         Printf ("EC: CHARGER_T")
114 Method (_Q30, 0, NotSerialized)                 // Event: THROT_OFF
116         Printf ("EC: THROT_OFF")
119 Method (_Q31, 0, NotSerialized)                 // Event: THROT_LV1
121         Printf ("EC: THROT_LV1")
124 Method (_Q32, 0, NotSerialized)                 // Event: THROT_LV2
126         Printf ("EC: THROT_LV2")
129 Method (_Q33, 0, NotSerialized)                 // Event: THROT_LV3
131         Printf ("EC: THROT_LV3")
134 Method (_Q34, 0, NotSerialized)                 // Event: THROT_LV4
136         Printf ("EC: THROT_LV4")
139 Method (_Q35, 0, NotSerialized)                 // Event: THROT_LV5
141         Printf ("EC: THROT_LV5")
144 Method (_Q36, 0, NotSerialized)                 // Event: THROT_LV6
146         Printf ("EC: THROT_LV6")
149 Method (_Q37, 0, NotSerialized)                 // Event: THROT_LV7
151         Printf ("EC: THROT_LV7")
154 Method (_Q3B, 0, NotSerialized)                 // Event: CPU_DN_SPEED
156         Printf ("EC: CPU_DN_SPEED")
159 Method (_Q3C, 0, NotSerialized)                 // Event: CPU_UP_SPEED
161         Printf ("EC: CPU_UP_SPEED")
164 Method (_Q3D, 0, NotSerialized)                 // Event: CPU_TURBO_OFF
166         Printf ("EC: CPU_TURBO_OFF")
169 Method (_Q3E, 0, NotSerialized)                 // Event: CPU_TURBO_ON
171         Printf ("EC: CPU_TURBO_ON")
174 Method (_Q3F, 0, NotSerialized)                 // Event: SHUTDOWN
176         Printf ("EC: SHUTDOWN")
179 Method (_Q40, 0, NotSerialized)                 // Event: AC and DC Power
181         SMB2 = 0xC6
184 Method (_Q41, 0, NotSerialized)                 // Event: Battery Charge between 0% and 20%
186         SMB2 = 0xC7
189 Method (_Q42, 0, NotSerialized)                 // Event: Battery Charge between 20% and 60%
191         SMB2 = 0xC8
194 Method (_Q43, 0, NotSerialized)                 // Event: Battery Charge between 60% and 100%
196         SMB2 = 0xC9
199 Method (_Q44, 0, NotSerialized)                 // Event: AC Power Only
201         SMB2 = 0xCA
204 Method (_Q54, 0, NotSerialized)                 // Event: Power Button Press
206         Printf ("EC: PWRBTN")
209 Method (_Q79, 0, NotSerialized)                 // Event: USB Type-C
211         Printf ("EC: USB Type-C")
214 Method (_Q80, 0, NotSerialized)                 // Event: Volume Up
216         Printf ("EC: VOLUME_UP")
219 Method (_Q81, 0, NotSerialized)                 // Event: Volume Down
221         Printf ("EC: VOLUME_DOWN")
224 Method (_Q85, 0, NotSerialized)                 // Event: HOME
226         Printf ("EC: HOME")
229 Method (_Q87, 0, NotSerialized)                 // Event: Function Lock
231         Printf ("EC: Function Lock")
234 Method (_QD5, 0, NotSerialized)                 // Event: 10 Second Power Button Pressed
236         Notify (HIDD, 0xCE)
239 Method (_QD6, 0, NotSerialized)                 // Event: 10 Second Power Button Released
241         Notify (HIDD, 0xCF)
244 Method (_QF0, 0, NotSerialized)                 // Event: Temperature Report
246         Printf ("EC: Temperature Report")
249 Method (_QF1, 0, NotSerialized)                 // Event: Temperature Trigger
251         // Notify (SEN3, 0x90)
254 Method (_Q99, 0, NotSerialized)                 // Event: Airplane Mode
256         ^^^^HIDD.HPEM (8)