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)
commit845301001308aab8fb7902548f6c3256d28b8c48
treeade9acb160a4230acb5318e9f4cd9160f8d8ef3c
parent21ad180d0fdfb2ab6df0f19c7dedce829a9ed1ed
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