summaryrefslogtreecommitdiffstats
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorDaniel J. Ogorchock <djogorchock@gmail.com>2021-09-11 19:36:26 +0200
committerJiri Kosina <jkosina@suse.cz>2021-10-27 10:05:51 +0200
commit08ebba5c27035094a4b8d3078f94d2aaac5de1fd (patch)
tree2e5970ffd067bf8b36b7dc9ec56b5a5301f8bb25 /drivers/hid/Kconfig
parentHID: nintendo: add player led support (diff)
downloadlinux-08ebba5c27035094a4b8d3078f94d2aaac5de1fd.tar.xz
linux-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