Debian Codegraph @

src/soc/amd/cezanne/acpi/rtc_workaround.asl

raw
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 /*
4 * Workaround for RTC on Cezanne.
5 * See https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/third_party/kernel/v5.10/drivers/platform/x86/amd-pmc.c;l=416;drc=54a96af06ae6851e4a02e8dd700de0d579ef7839
6 */
7
8 Scope (\_SB.PEP) {
9 Name (_PRW, Package () {
10 Package() {\_SB.GPIO, 0},
11 0x03
12 })
13 }
14
15 Scope (\_SB.GPIO) {
16 Name (_AEI, ResourceTemplate () {
17 GpioInt(Edge, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000, "\\_SB.GPIO",,,,)
18 {
19 44 /* int_shdwsysalarmfire */
20 }
21 })
22
23 Method (_E2C, 0, Serialized) {
24 Notify (\_SB_.PEP, 0x02)
25 }
26 }