[coreboot-gerrit] New patch to review for coreboot: google/reef: Add Maxim98357a support in acpi
HARSHAPRIYA N (harshapriya.n@intel.com)
gerrit at coreboot.org
Sat Jun 25 07:04:36 CEST 2016
HARSHAPRIYA N (harshapriya.n at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15435
-gerrit
commit 41cf28611ee1e4ccf50cd22fe80ed3c04e637be6
Author: Harsha Priya <harshapriya.n at intel.com>
Date: Fri Jun 24 17:13:54 2016 -0700
google/reef: Add Maxim98357a support in acpi
Change-Id: I333d4e810e42309ac76dd90c19f05cf3e3a517e0
Signed-off-by: Rohit Ainapure <rohit.m.ainapure at intel.com>
Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella at intel.com>
---
src/mainboard/google/reef/acpi/mainboard.asl | 38 ++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/src/mainboard/google/reef/acpi/mainboard.asl b/src/mainboard/google/reef/acpi/mainboard.asl
index 5471488..9f40ee1 100644
--- a/src/mainboard/google/reef/acpi/mainboard.asl
+++ b/src/mainboard/google/reef/acpi/mainboard.asl
@@ -15,6 +15,7 @@
#include "acpi/superio.asl"
#include "../gpio.h"
+#include <on_board.h>
Scope (\_SB)
{
@@ -84,3 +85,40 @@ Scope (\_SB.PCI0.LPCB)
#include <drivers/pc80/tpm/acpi/tpm.asl>
#include "ec.asl"
}
+
+Scope (\_SB)
+{
+ Device (MAXM)
+ {
+ Name (_HID, "MX98357A")
+ Name (_DDN, "Maxim Integrated 98357A Amplifier")
+ Name (_UID, 1)
+ Name (_CRS, ResourceTemplate()
+ {
+ GpioIo (Exclusive, PullDefault, 0x0000, 0x0000,
+ IoRestrictionOutputOnly,
+ "\\_SB.GPO1", 0x00, ResourceConsumer,,)
+ {
+ SDMODE_GPIO
+ }
+ })
+ Name (_DSD, Package ()
+ {
+ ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
+ Package () {
+ Package () {
+ /*
+ * Create a named GPIO
+ * "sdmode-gpio" for the
+ * kernel codec driver
+ * to use.
+ */
+
+ "sdmode-gpio", Package () {
+ ^MAXM, 0, 0, 0
+ }
+ },
+ }
+ })
+ }
+}
More information about the coreboot-gerrit
mailing list