summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/SueCreek/SueCreekLeds.asl
diff options
context:
space:
mode:
authortsrytkon <teemu.s.rytkonen@intel.com>2018-02-06 13:17:14 -0800
committerzwei4 <david.wei@intel.com>2018-02-13 14:11:17 +0800
commitc8c94805d7bf3d2c3c833a0a5e843b8cb4a26d79 (patch)
tree805d80d351c3efdb0b204cea19115c837404d6de /Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/SueCreek/SueCreekLeds.asl
parent8f45de0a6d27329ed904718724ab428ae8b46f41 (diff)
downloadedk2-platforms-c8c94805d7bf3d2c3c833a0a5e843b8cb4a26d79.tar.xz
Add support for SueCreek LED Drivers
Adds support for two ACPI entries for PCA9956 LED drivers for SueCreek DMIC board. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Teemu Rytkonen <teemu.s.rytkonen@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/SueCreek/SueCreekLeds.asl')
-rw-r--r--Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/SueCreek/SueCreekLeds.asl70
1 files changed, 70 insertions, 0 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/SueCreek/SueCreekLeds.asl b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/SueCreek/SueCreekLeds.asl
new file mode 100644
index 0000000000..2fcc45742c
--- /dev/null
+++ b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/SueCreek/SueCreekLeds.asl
@@ -0,0 +1,70 @@
+/** @file
+
+Copyright (c) 2017 Intel Corporation.
+
+This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+Scope(\_SB.PCI0.I2C5) {
+ Device (LED0) {
+ Name (_HID, "PCA9956")
+ Name (_DDN, "SueCreekLed, CS0")
+ Name (SBUF, ResourceTemplate () {
+ I2cSerialBus (
+ 0x0065,
+ ControllerInitiated,
+ 400000,
+ AddressingMode7Bit,
+ "\\_SB.PCI0.I2C5",
+ 0x00,
+ ResourceConsumer,
+ ,
+ )
+ })
+ Method (_CRS, 0, NotSerialized)
+ {
+ Return (SBUF)
+ }
+ Method (_STA, 0x0, NotSerialized) {
+ If (LEqual (SUCE, 0)) {
+ Return (0x0)
+ } else {
+ Return (0xF)
+ }
+ }
+ }
+ Device (LED1) {
+ Name (_HID, "PCA9956")
+ Name (_DDN, "SueCreekLed, CS0")
+ Name (SBUF, ResourceTemplate () {
+ I2cSerialBus (
+ 0x0069,
+ ControllerInitiated,
+ 400000,
+ AddressingMode7Bit,
+ "\\_SB.PCI0.I2C5",
+ 0x00,
+ ResourceConsumer,
+ ,
+ )
+ })
+ Method (_CRS, 0, NotSerialized)
+ {
+ Return (SBUF)
+ }
+ Method (_STA, 0x0, NotSerialized) {
+ If (LEqual (SUCE, 0)) {
+ Return (0x0)
+ } else {
+ Return (0xF)
+ }
+ }
+ }
+}