diff options
author | Phil Reid <preid@electromag.com.au> | 2017-08-24 11:31:09 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-10-28 23:43:25 +0200 |
commit | a0b8839e2afc6613566ab723f8e3f0e698e9e007 (patch) | |
tree | 285e7473038d00944200fba6972916661c71c924 /drivers/spi/spi-fsl-lpspi.c | |
parent | power: Adds support for Smart Battery System Manager (diff) | |
download | linux-a0b8839e2afc6613566ab723f8e3f0e698e9e007.tar.xz linux-a0b8839e2afc6613566ab723f8e3f0e698e9e007.zip |
power: supply: sbs-manager: Add alert callback and battery change notification
This adds smb alert support via the smbus_alert driver to generate
power_supply_changed notifications when either external power is
removed / applied or a battery inserted / removed.
Use the i2c alert callback to notify the attached battery driver that a
change has occurred.
Signed-off-by: Phil Reid <preid@electromag.com.au>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/spi/spi-fsl-lpspi.c')
0 files changed, 0 insertions, 0 deletions