1 /* SPDX-License-Identifier: GPL-2.0-only */
5 /* Realtek Audio Codec */
6 Device (RTEK) /* Audio Codec driver I2C */
8 Name (_HID, AUDIO_CODEC_HID)
9 Name (_CID, Package() { AUDIO_CODEC_CID, "INTCCFFD" })
10 Name (_DDN, AUDIO_CODEC_DDN)
13 Method(_CRS, 0x0, Serialized)
15 Name(SBUF,ResourceTemplate ()
18 AUDIO_CODEC_I2C_ADDR, /* SlaveAddress: bus address */
19 ControllerInitiated, /* SlaveMode: default to ControllerInitiated */
20 400000, /* ConnectionSpeed: in Hz */
21 AddressingMode7Bit, /* Addressing Mode: default to 7 bit */
22 "\\_SB.PCI0.I2C5", /* ResourceSource: I2C bus controller name */
25 /* Jack Detect (index 0) */
26 GpioInt (Edge, ActiveHigh, ExclusiveAndWake, PullDefault,,
27 "\\_SB.GPSW") { JACK_DETECT_GPIO_INDEX }
39 Scope (\_SB.PCI0.LPEA)
41 Name (GBUF, ResourceTemplate ()
43 /* Jack Detect (index 0) */
44 GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullDefault,,
45 "\\_SB.GPSW") { JACK_DETECT_GPIO_INDEX }