aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/generic/gpio_regulator/Kconfig
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2016-12-12 09:30:42 -0800
committerMartin Roth <martinroth@google.com>2016-12-17 04:21:19 +0100
commit60f3217ed9a91bcf96a49af83fac3dcbaf54aa88 (patch)
tree6837e781960e7fc91bd7b98dcb4a0f3b3aba558d /src/drivers/generic/gpio_regulator/Kconfig
parent690831d148edd04da14204211cb1c83cb12b1ba6 (diff)
drivers/regulator: Add driver for handling GPIO-based fixed regulator
This change adds the required device node in SSDT for defining GPIO-based fixed voltage regulator. BUG=chrome-os-partner:60194 BRANCH=None TEST=Verified that ELAN touchscreen works with exported GPIOs and ACPI regulator. Change-Id: I4380aea0929fb7e81dbe83f940e3e51e983819f9 Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/17798 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/drivers/generic/gpio_regulator/Kconfig')
-rw-r--r--src/drivers/generic/gpio_regulator/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/drivers/generic/gpio_regulator/Kconfig b/src/drivers/generic/gpio_regulator/Kconfig
new file mode 100644
index 0000000000..12ab3cb223
--- /dev/null
+++ b/src/drivers/generic/gpio_regulator/Kconfig
@@ -0,0 +1,18 @@
+#
+# This file is part of the coreboot project.
+#
+# Copyright 2016 Google Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+
+config DRIVERS_GENERIC_GPIO_REGULATOR
+ bool
+ depends on HAVE_ACPI_TABLES