Skip to contentSkip to conversation

ARM64: add GPIO keys to the defconfig

PATCH New Linus Walleij 3 participants 3 messages Jun 4, 2015 – Jun 11, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM64: add GPIO keys to the defconfig

The Juno board, and likely many other boards, likes to use simple GPIO keys for input events. Enabled this in the default ARM64 defconfig.

---
Hi ARM SoC folks, please apply this directly to the defconfig branch so we can have GPIO keys on our ARM64 machines.

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 2ed7449d9273..b8760c31d0d3 100644
@@ -94,6 +94,7 @@ CONFIG_SMC91X=y
 CONFIG_SMSC911X=y
 # CONFIG_WLAN is not set
 CONFIG_INPUT_EVDEV=y
+CONFIG_KEYBOARD_GPIO=y
 # CONFIG_SERIO_SERPORT is not set
 CONFIG_SERIO_AMBAKMI=y
 CONFIG_LEGACY_PTY_COUNT=16
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 ARM64: add GPIO keys to the defconfig

Quoted 4 lines · Linus Walleij

The Juno board, and likely many other boards, likes to use simple GPIO keys for input events. Enabled this in the default ARM64 defconfig.

This is also useful for QEMU to support external poweroff on ARM.

Quoted 21 lines

---
Hi ARM SoC folks, please apply this directly to the defconfig branch so we can have GPIO keys on our ARM64 machines.

---
  arch/arm64/configs/defconfig | 1 +
  1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 2ed7449d9273..b8760c31d0d3 100644
@@ -94,6 +94,7 @@ CONFIG_SMC91X=y
  CONFIG_SMSC911X=y
  # CONFIG_WLAN is not set
  CONFIG_INPUT_EVDEV=y
+CONFIG_KEYBOARD_GPIO=y
  # CONFIG_SERIO_SERPORT is not set
  CONFIG_SERIO_AMBAKMI=y
  CONFIG_LEGACY_PTY_COUNT=16
Signature · 1 line
Shannon
Applied
#2 lore raw

PATCH 1/1 ARM64: add GPIO keys to the defconfig

Quoted 10 lines · Shannon Zhao
Quoted 4 lines · Linus Walleij

The Juno board, and likely many other boards, likes to use simple GPIO keys for input events. Enabled this in the default ARM64 defconfig.

This is also useful for QEMU to support external poweroff on ARM.

Applied to next/defconfig with Shannon's ack.

Kevin