• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/** @file
2TI ADC108S102 ADC.
3
4Copyright (c) 2013-2015 Intel Corporation.
5
6This program and the accompanying materials
7are licensed and made available under the terms and conditions of the BSD License
8which accompanies this distribution.  The full text of the license may be found at
9http://opensource.org/licenses/bsd-license.php
10
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14**/
15
16Device(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