summaryrefslogtreecommitdiffstats
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorRoderick Colenbrander <roderick.colenbrander@sony.com>2021-02-07 13:48:58 -0800
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2021-02-11 16:57:06 +0100
commitd30bca44809eb1d2937e59d3d09694f40613070d (patch)
treeb0e659467c9a4e8513373fb0f6ad9e6c1a5d9bd0 /drivers/hid/Kconfig
parentb99dcefd78ff13349ce5c8641605d1de3d638ea0 (diff)
downloadlinux-d30bca44809eb1d2937e59d3d09694f40613070d.tar.gz
linux-d30bca44809eb1d2937e59d3d09694f40613070d.tar.bz2
linux-d30bca44809eb1d2937e59d3d09694f40613070d.zip
HID: playstation: add DualSense battery support.
Report DualSense battery status information through power_supply class. Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com> Reviewed-by: Barnabás Pőcze <pobrn@protonmail.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
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 3193d3396717..8fbd147ae4df 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -856,6 +856,7 @@ config HID_PLANTRONICS
config HID_PLAYSTATION
tristate "PlayStation HID Driver"
depends on HID
+ select POWER_SUPPLY
help
Provides support for Sony PS5 controllers including support for
its special functionalities e.g. touchpad, lights and motion