- Device (STAC)
- {
- Name (_ADR, Zero) // _ADR: Address
- Name (_HID, "STAC0303") // _HID: Hardware ID
- Name (_CID, "INTACCL") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If ((OSSL & 0x80))
- {
- If ((ACCS == 0x02))
- {
- Return (0x0F)
- }
-
- Return (Zero)
- }
- Else
- {
- Return (Zero)
- }
- }
-
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (RBUF, ResourceTemplate ()
- {
- I2cSerialBus (0x0019, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.I2C3",
- 0x00, ResourceConsumer, ,
- )
- })
- Return (RBUF) /* \_SB_.I2C3.STAC._CRS.RBUF */
- }
- }
-
- Device (STMA)
- {
- Name (_ADR, Zero) // _ADR: Address
- Name (_HID, "STMA0303") // _HID: Hardware ID
- Name (_CID, "INTMAGN") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If ((OSSL & 0x80))
- {
- If ((ACCS == 0x02))
- {
- Return (0x0F)
- }
-
- Return (Zero)
- }
- Else
- {
- Return (Zero)
- }
- }
-
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (RBUF, ResourceTemplate ()
- {
- I2cSerialBus (0x001E, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.I2C3",
- 0x00, ResourceConsumer, ,
- )
- GpioInt (Level, ActiveHigh, Exclusive, PullDown, 0x0000,
- "\\_SB.GPO0", 0x00, ResourceConsumer, ,
- )
- { // Pin list
- 0x005F
- }
- GpioInt (Level, ActiveHigh, Exclusive, PullDown, 0x0000,
- "\\_SB.GPO0", 0x00, ResourceConsumer, ,
- )
- { // Pin list
- 0x003A
- }
- })
- Return (RBUF) /* \_SB_.I2C3.STMA._CRS.RBUF */
- }
- }
-
- Device (STGY)
- {
- Name (_ADR, Zero) // _ADR: Address
- Name (_HID, "STGY0320") // _HID: Hardware ID
- Name (_CID, "INTGYRO") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If ((OSSL & 0x80))
- {
- If ((GYRS == 0x02))
- {
- Return (0x0F)
- }
-
- Return (Zero)
- }
- Else
- {
- Return (Zero)
- }
- }
-
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (RBUF, ResourceTemplate ()
- {
- I2cSerialBus (0x006B, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.I2C3",
- 0x00, ResourceConsumer, ,
- )
- GpioInt (Level, ActiveHigh, Exclusive, PullDown, 0x0000,
- "\\_SB.GPO0", 0x00, ResourceConsumer, ,
- )
- { // Pin list
- 0x005E
- }
- })
- Return (RBUF) /* \_SB_.I2C3.STGY._CRS.RBUF */
- }
- }
-
- Device (FUSI)
- {
- Name (_ADR, Zero) // _ADR: Address
- Name (_HID, "FUSI0001") // _HID: Hardware ID
- Name (_CID, "INTFUSI") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- Return (Zero)
- }
-
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (RBUF, ResourceTemplate ()
- {
- GpioInt (Edge, ActiveHigh, Exclusive, PullDown, 0x0000,
- "\\_SB.GPO2", 0x00, ResourceConsumer, ,
- )
- { // Pin list
- 0x0017
- }
- GpioInt (Edge, ActiveLow, Exclusive, PullDown, 0x0000,
- "\\_SB.GPO2", 0x00, ResourceConsumer, ,
- )
- { // Pin list
- 0x0006
- }
- })
- Return (RBUF) /* \_SB_.I2C3.FUSI._CRS.RBUF */
- }
- }
-
- Device (ALSW)
- {
- Name (_ADR, Zero) // _ADR: Address
- Name (_HID, "JSA01212") // _HID: Hardware ID
- Name (_CID, "INTLALS") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If ((OSSL & 0x80))
- {
- Return (0x0F)
- }
-
- Return (Zero)
- }
-
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (RBUF, ResourceTemplate ()
- {
- I2cSerialBus (0x0044, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.I2C3",
- 0x00, ResourceConsumer, ,
- )
- GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionInputOnly,
- "\\_SB.GPO2", 0x00, ResourceConsumer, ,
- )
- { // Pin list
- 0x0006
- }
- })
- Return (RBUF) /* \_SB_.I2C3.ALSW._CRS.RBUF */
- }
- }
-