]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/ADC108S102.asi
de651576b8fb7211d35e03a327672d76f9c6d14e
[mirror_edk2.git] / QuarkPlatformPkg / Acpi / AcpiTables / Dsdt / ADC108S102.asi
1 /** @file
2 TI ADC108S102 ADC.
3
4 Copyright (c) 2013-2015 Intel Corporation.
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 Device(ADC2)
11 {
12 Name(_HID, "INT3495") // GalileoGen2 Low-Speed ADC.
13 Name(_CID, "INT3495")
14 Name(RBUF, ResourceTemplate()
15 {
16 SPISerialBus(0x0000, PolarityLow, ThreeWireMode, 0x10, ControllerInitiated, 0x1E8480, ClockPolarityLow, ClockPhaseFirst, "\\_SB.PCI0.SPI0", 0x00, ResourceConsumer, ,)
17 })
18 Method(_CRS, 0x0, NotSerialized)
19 {
20 Return(RBUF)
21 }
22 Method(_STA, 0x0, NotSerialized)
23 {
24 //
25 // Only Platform Type / Id 8 has this device.
26 //
27 If(LNotEqual(PTYP, 8))
28 {
29 return (0)
30 }
31 Return(0xf)
32 }
33 }