--- /dev/null
+/*++\r
+\r
+Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved\r
+\r
+ This program and the accompanying materials are licensed and made available under\r
+ the terms and conditions of the BSD License that accompanies this distribution.\r
+ The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php.\r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+\r
+\r
+Module Name:\r
+\r
+ INTELISPDev2.ASL\r
+\r
+Abstract:\r
+\r
+ ISP Exist as B0D2F0 Software ACPI Reference Code for the Baytrail Family.\r
+\r
+--*/\r
+////Device ISP0\r
+Device(ISP0)\r
+{\r
+ Name(_ADR, 0x0F38)\r
+ //Name (_HID, "80860F38")\r
+ //Name (_CID, "80860F38")\r
+ Name(_DDN, "VLV2 ISP - 80860F38")\r
+ Name(_UID, 0x01)\r
+\r
+ Method (_STA, 0, NotSerialized)\r
+ {\r
+ If(LEqual(ISPD,1)) //Dev2 need report ISP0 as GFX0 child\r
+ {\r
+ Return (0xF)\r
+ }\r
+ Else\r
+ {\r
+ Return (0x0)\r
+ }\r
+ }\r
+ Name(SBUF,ResourceTemplate ()\r
+ {\r
+ Memory32Fixed (ReadWrite, 0x00000000, 0x00400000, ISP0)\r
+ })\r
+ Method(_CRS, 0x0, NotSerialized)\r
+ {\r
+ Return (SBUF)\r
+ }\r
+ Method (_SRS, 0x1, NotSerialized)\r
+ {\r
+ }\r
+ Method (_DIS, 0x0, NotSerialized)\r
+ {\r
+ }\r
+ Method(_DSM, 0x4, NotSerialized)\r
+ {\r
+ If (LEqual (Arg0, 0x01))\r
+ {\r
+ ///Switch ISP to D3H\r
+ Return (0x01)\r
+ }\r
+ Elseif (LEqual (Arg0, 0x02))\r
+ {\r
+ //Switch ISP to D0\r
+ Return (0x02)\r
+ }\r
+ Else\r
+ {\r
+ //Do nothing\r
+ Return (0x0F)\r
+ }\r
+ }\r
+} ///End ISP0\r
+\r