From 60f3217ed9a91bcf96a49af83fac3dcbaf54aa88 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Mon, 12 Dec 2016 09:30:42 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/17798 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie --- src/drivers/generic/gpio_regulator/Makefile.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/drivers/generic/gpio_regulator/Makefile.inc (limited to 'src/drivers/generic/gpio_regulator/Makefile.inc') diff --git a/src/drivers/generic/gpio_regulator/Makefile.inc b/src/drivers/generic/gpio_regulator/Makefile.inc new file mode 100644 index 0000000000..845b19105a --- /dev/null +++ b/src/drivers/generic/gpio_regulator/Makefile.inc @@ -0,0 +1,16 @@ +# +# 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. +# + +ramstage-$(CONFIG_DRIVERS_GENERIC_GPIO_REGULATOR) += gpio_regulator.c -- cgit v1.2.3