1 /** @file 2 TI ADC108S102 ADC. 3 4 Copyright (c) 2013-2015 Intel Corporation. 5 6 This program and the accompanying materials 7 are licensed and made available under the terms and conditions of the BSD License 8 which accompanies this distribution. The full text of the license may be found at 9 http://opensource.org/licenses/bsd-license.php 10 11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 13 14 **/ 15 16 Device(ADC2) 17 { 18 Name(_HID, "INT3495") // GalileoGen2 Low-Speed ADC. 19 Name(_CID, "INT3495") 20 Name(RBUF, ResourceTemplate() 21 { 22 SPISerialBus(0x0000, PolarityLow, ThreeWireMode, 0x10, ControllerInitiated, 0x1E8480, ClockPolarityLow, ClockPhaseFirst, "\\_SB.PCI0.SPI0", 0x00, ResourceConsumer, ,) 23 }) 24 Method(_CRS, 0x0, NotSerialized) 25 { 26 Return(RBUF) 27 } 28 Method(_STA, 0x0, NotSerialized) 29 { 30 // 31 // Only Platform Type / Id 8 has this device. 32 // 33 If(LNotEqual(PTYP, 8)) 34 { 35 return (0) 36 } 37 Return(0xf) 38 } 39 } 40