]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: PCHG: Use MKBP for device event handling
authorDaisuke Nojiri <dnojiri@chromium.org>
Wed, 26 Jan 2022 18:04:10 +0000 (10:04 -0800)
committerSebastian Reichel <sre@kernel.org>
Sun, 13 Feb 2022 21:20:12 +0000 (22:20 +0100)
commit4deb58b8dd6aaa7f1bbf07ed5beb89998e37db34
treeade9acb160a4230acb5318e9f4cd9160f8d8ef3c
parent9aab1ca4efa3b4c07f4fd09b683287bc742441a0
power: supply: PCHG: Use MKBP for device event handling

This change makes the PCHG driver receive device events through
MKBP protocol since CrOS EC switched to deliver all peripheral
charge events to the MKBP protocol. This will unify PCHG event
handling on X86 and ARM.

Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/cros_peripheral_charger.c
include/linux/platform_data/cros_ec_commands.h