aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86
diff options
context:
space:
mode:
authorChris Blake <chrisrblake93@gmail.com>2017-01-23 02:12:34 -0600
committerJo-Philipp Wich <jo@mein.io>2017-03-01 20:37:35 +0100
commitbc443b105269192d336cacfcc062f61484d43216 (patch)
treebaab2e2e0e1855ba15c26fa090a6dc677dba3828 /target/linux/x86
parentc5d8d8fd64c2ff0d46ac05124153af3d1b763bde (diff)
downloadupstream-bc443b105269192d336cacfcc062f61484d43216.tar.gz
upstream-bc443b105269192d336cacfcc062f61484d43216.tar.bz2
upstream-bc443b105269192d336cacfcc062f61484d43216.zip
x86/64: Enable GPIO sysfs & GPIO LED support
The following changes enables GPIO sysfs as well as the LEDS_GPIO option within the kernel. This is required to enable LEDs over a GPIO interface. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
Diffstat (limited to 'target/linux/x86')
-rw-r--r--target/linux/x86/64/config-default9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/x86/64/config-default b/target/linux/x86/64/config-default
index 791c1f2191..848f041aeb 100644
--- a/target/linux/x86/64/config-default
+++ b/target/linux/x86/64/config-default
@@ -109,6 +109,14 @@ CONFIG_GART_IOMMU=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_GENERIC_CPU=y
CONFIG_GENERIC_PENDING_IRQ=y
+CONFIG_GPIOLIB=y
+# CONFIG_GPIO_104_IDIO_16 is not set
+# CONFIG_GPIO_AMDPT is not set
+# CONFIG_GPIO_F7188X is not set
+# CONFIG_GPIO_INTEL_MID is not set
+# CONFIG_GPIO_IT87 is not set
+# CONFIG_GPIO_LYNXPOINT is not set
+CONFIG_GPIO_SYSFS=y
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
# CONFIG_HAVE_AOUT is not set
@@ -161,6 +169,7 @@ CONFIG_ITCO_WDT=y
# CONFIG_KVM_DEBUG_FS is not set
CONFIG_KVM_GUEST=y
# CONFIG_LCD_CLASS_DEVICE is not set
+CONFIG_LEDS_GPIO=y
# CONFIG_LEGACY_VSYSCALL_EMULATE is not set
# CONFIG_LEGACY_VSYSCALL_NATIVE is not set
CONFIG_LEGACY_VSYSCALL_NONE=y