summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Gregory <graeme.gregory@linaro.org>2013-12-12 16:10:21 +0000
committerGraeme Gregory <graeme.gregory@linaro.org>2013-12-12 16:10:21 +0000
commitaa9c820f29dad1ec8d6b9ca19134311d0d59dd1f (patch)
treef94b43aa671dfe6b3152d3fef4654be318e46d15
parent77b71bad1684d2ecaa6f5310c7767d44dbf61503 (diff)
rtsm_ve-aemv8a: add ASL for fixed regulator
Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org>
-rw-r--r--platforms/rtsm_ve-aemv8a.acpi/dsdt.asl19
1 files changed, 19 insertions, 0 deletions
diff --git a/platforms/rtsm_ve-aemv8a.acpi/dsdt.asl b/platforms/rtsm_ve-aemv8a.acpi/dsdt.asl
index 8cea035..a230d07 100644
--- a/platforms/rtsm_ve-aemv8a.acpi/dsdt.asl
+++ b/platforms/rtsm_ve-aemv8a.acpi/dsdt.asl
@@ -436,6 +436,25 @@ DefinitionBlock (
Return (0x00)
}
+ Device (REG0) {
+ Name (_HID, "LNRO0019")
+ Name (_UID, 0)
+
+ Method(_DSM, 4, NotSerialized) {
+ Store (Package (8)
+ {
+ "regulator-name", "3V3",
+ "regulator-min-microvolt", "3300000",
+ "regulator-max-microvolt", "3300000",
+ "regulator-always-on", "1",
+ }, Local0)
+
+ DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
+
+ Return (Local0)
+ }
+ }
+
Device (AMBA) {
Name (_HID, "AMBA0000")
Name (_UID, 0)