summaryrefslogtreecommitdiff
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorDaniel J. Ogorchock <djogorchock@gmail.com>2021-09-11 13:36:26 -0400
committerJiri Kosina <jkosina@suse.cz>2021-10-27 10:05:51 +0200
commit08ebba5c27035094a4b8d3078f94d2aaac5de1fd (patch)
tree2e5970ffd067bf8b36b7dc9ec56b5a5301f8bb25 /drivers/hid/Kconfig
parentc5e6267695638b34d4029db32ae335a860f31ed5 (diff)
downloadlwn-08ebba5c27035094a4b8d3078f94d2aaac5de1fd.tar.gz
lwn-08ebba5c27035094a4b8d3078f94d2aaac5de1fd.zip
HID: nintendo: add power supply support
This patch adds power_supply functionality to the switch controller driver for its battery. Signed-off-by: Daniel J. Ogorchock <djogorchock@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r--drivers/hid/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 0f65a986943c..b0da3d7a6d2f 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -736,6 +736,7 @@ config HID_NINTENDO
depends on HID
depends on NEW_LEDS
depends on LEDS_CLASS
+ select POWER_SUPPLY
help
Adds support for the Nintendo Switch Joy-Cons and Pro Controller.
All controllers support bluetooth, and the Pro Controller also supports