soc/intel/ptl: Update ME specification version to 21
[coreboot.git] / src / ec / starlabs / merlin / variants / kbl / events.asl
blob5e80fd0f192661cad1aff4deecf7a0943da3833b
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 Method (_Q0D, 0, NotSerialized)                 // Event: Lid Opened
5         \LIDS = LSTE
6         Notify (LID0, 0x80)
9 Method (_Q0C, 0, NotSerialized)                 // Event: Lid Closed
11         \LIDS = LSTE
12         Notify (LID0, 0x80)
15 Method (_Q0A, 0, NotSerialized)                 // Event: AC Power Connected
17         Notify (BAT0, 0x81)
18         Notify (ADP1, 0x80)
21 Method (_Q0B, 0, NotSerialized)                 // Event: AC Power Disconnected
23         Notify (BAT0, 0x81)
24         Notify (BAT0, 0x80)
27 Method (_Q06, 0, NotSerialized)                 // Event: Backlight Brightness Down
29         ^^^^HIDD.HPEM (20)
32 Method (_Q07, 0, NotSerialized)                 // Event: Backlight Brightness Up
34         ^^^^HIDD.HPEM (19)
37 Method (_Q08, 0, NotSerialized)                 // Event: Function Lock
39         Printf ("EC: Function Lock")
42 Method (_Q99, 0, NotSerialized)                 // Event: Airplane Mode
44         ^^^^HIDD.HPEM (8)
47 Method (_QD5, 0, NotSerialized)                 // Event: 10 Second Power Button Pressed
49         Notify (HIDD, 0xCE)
52 Method (_QD6, 0, NotSerialized)                 // Event: 10 Second Power Button Released
54         Notify (HIDD, 0xCF)
57 Method (_Q22, 0, NotSerialized)                 // Event: CHARGER_T
59         Printf ("EC: CHARGER_T")
63 // TODO:
64 // Below Q Events need to be added
66 // Method (_Q40, 0, NotSerialized)              // Event: AC and DC Power
67 // {
68 //      SMB2 = 0xC6
69 // }
71 // Method (_Q41, 0, NotSerialized)              // Event: Battery Charge between 0% and 20%
72 // {
73 //      SMB2 = 0xC7
74 // }
76 // Method (_Q42, 0, NotSerialized)              // Event: Battery Charge between 20% and 60%
77 // {
78 //      SMB2 = 0xC8
79 // }
81 // Method (_Q43, 0, NotSerialized)              // Event: Battery Charge between 60% and 100%
82 // {
83 //      SMB2 = 0xC9
84 // }
86 // Method (_Q44, 0, NotSerialized)              // Event: AC Power Only
87 // {
88 //      SMB2 = 0xCA
89 // }
91 Method (_Q80, 0, NotSerialized)                 // Event: Volume Up
93         Printf ("EC: VOLUME_UP")
96 Method (_Q81, 0, NotSerialized)                 // Event: Volume Down
98         Printf ("EC: VOLUME_DOWN")
101 Method (_Q54, 0, NotSerialized)                 // Event: Power Button Press
103         Printf ("EC: PWRBTN")
106 Method (_QF0, 0, NotSerialized)                 // Event: Temperature Report
108         Printf ("EC: Temperature Report")
111 Method (_QF1, 0, NotSerialized)                 // Event: Temperature Trigger
113         // Notify (SEN3, 0x90)
117  * The below events are unique to this platform.
118  */
121 Method (_Q85, 0, NotSerialized)                 // Event: HOME
123         Printf ("EC: HOME")
126 Method (_Q79, 0, NotSerialized)                 // Event: USB Type-C
128         Printf ("EC: USB Type-C")
131 Method (_Q0E, 0, NotSerialized)                 // Event: SLEEP
133         Printf ("EC: SLEEP")
136 Method (_Q13, 0, NotSerialized)                 // Event: BRIGHTNESS
138         Printf ("EC: BRIGHTNESS")
141 Method (_Q20, 0, NotSerialized)                 // Event: CPU_T
143         Printf ("EC: CPU_T")
146 Method (_Q21, 0, NotSerialized)                 // Event: SKIN_T
148         Printf ("EC: SKIN_T")
151 Method (_Q30, 0, NotSerialized)                 // Event: THROT_OFF
153         Printf ("EC: THROT_OFF")
156 Method (_Q31, 0, NotSerialized)                 // Event: THROT_LV1
158         Printf ("EC: THROT_LV1")
161 Method (_Q32, 0, NotSerialized)                 // Event: THROT_LV2
163         Printf ("EC: THROT_LV2")
166 Method (_Q33, 0, NotSerialized)                 // Event: THROT_LV3
168         Printf ("EC: THROT_LV3")
171 Method (_Q34, 0, NotSerialized)                 // Event: THROT_LV4
173         Printf ("EC: THROT_LV4")
176 Method (_Q35, 0, NotSerialized)                 // Event: THROT_LV5
178         Printf ("EC: THROT_LV5")
181 Method (_Q36, 0, NotSerialized)                 // Event: THROT_LV6
183         Printf ("EC: THROT_LV6")
186 Method (_Q37, 0, NotSerialized)                 // Event: THROT_LV7
188         Printf ("EC: THROT_LV7")
191 Method (_Q38, 0, NotSerialized)                 // Event: CPU_DN_SPEED
193         Printf ("EC: CPU_DN_SPEED")
196 Method (_Q3C, 0, NotSerialized)                 // Event: CPU_UP_SPEED
198         Printf ("EC: CPU_UP_SPEED")
201 Method (_Q3D, 0, NotSerialized)                 // Event: CPU_TURBO_OFF
203         Printf ("EC: CPU_TURBO_OFF")
206 Method (_Q3E, 0, NotSerialized)                 // Event: CPU_TURBO_ON
208         Printf ("EC: CPU_TURBO_ON")
211 Method (_Q3F, 0, NotSerialized)                 // Event: SHUTDOWN
213         Printf ("EC: SHUTDOWN")
216 Method (_Q01, 0, NotSerialized)                 // Event: F1 Hot Key
218         Printf ("EC: F1")
221 Method (_Q02, 0, NotSerialized)                 // Event: F2 Hot Key
223         Printf ("EC: F2")
226 Method (_Q03, 0, NotSerialized)                 // Event: F3 Hot Key
228         Printf ("EC: F3")
231 Method (_Q04, 0, NotSerialized)                 // Event: F4 Hot Key
233         Printf ("EC: F4")
236 Method (_Q05, 0, NotSerialized)                 // Event: F5 Hot Key
238         Printf ("EC: F5")
241 Method (_Q09, 0, NotSerialized)                 // Event: F9 Hot Key
243         Printf ("EC: F9")
246 Method (_Q10, 0, NotSerialized)                 // Event: F10 Hot Key
248         Printf ("EC: F10")
251 Method (_Q11, 0, NotSerialized)                 // Event: F11 Hot Key
253         Printf ("EC: F11")
256 Method (_Q12, 0, NotSerialized)                 // Event: F12 Hot Key
258         Printf ("EC: F6")