HID: playstation: add DualSense battery support.
authorRoderick Colenbrander <roderick.colenbrander@sony.com>
Sun, 7 Feb 2021 21:48:58 +0000 (13:48 -0800)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 11 Feb 2021 15:57:06 +0000 (16:57 +0100)
commitd30bca44809eb1d2937e59d3d09694f40613070d
treeb0e659467c9a4e8513373fb0f6ad9e6c1a5d9bd0
parentb99dcefd78ff13349ce5c8641605d1de3d638ea0
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>
drivers/hid/Kconfig
drivers/hid/hid-playstation.c