]> 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)
commitae7e9ccca765e64136e7d6dde97364989f4025fd
treeade9acb160a4230acb5318e9f4cd9160f8d8ef3c
parentefb506d9b914b13359034896ae525a1d1150c8af
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