Revert "mfd: cros_ec: Add SCP Core-1 as a new CrOS EC MCU"
authorPrashant Malani <pmalani@chromium.org>
Wed, 28 Dec 2022 00:45:04 +0000 (00:45 +0000)
committerPrashant Malani <pmalani@chromium.org>
Mon, 9 Jan 2023 20:32:52 +0000 (20:32 +0000)
commit0ac7200e3317bdde7b96112f24b9253208c0258b
tree26b7b17dc7cba213b1bfd740da9b9159b3fb85cd
parent957445d730badbea1b3b2ef038e60d2ca38abd0a
Revert "mfd: cros_ec: Add SCP Core-1 as a new CrOS EC MCU"

This reverts commit 66ee379d743c69c726b61d078119a34d5be96a35.

The feature flag introduced by Commit 66ee379d743c ("mfd: cros_ec: Add
SCP Core-1 as a new CrOS EC MCU") was not first added in the source EC
code base[1]. This can lead to the possible misinterpration of an EC's
supported feature set, as well as causes issues with all future feature
flag updates.

[1] https://source.chromium.org/chromium/chromiumos/platform/ec/+/main:include/ec_commands.h

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Acked-by: Lee Jones <lee@kernel.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20221228004648.793339-2-pmalani@chromium.org
drivers/mfd/cros_ec_dev.c
include/linux/platform_data/cros_ec_commands.h
include/linux/platform_data/cros_ec_proto.h