Re: [PATCH v10 6/7] mfd: cros_ec: differentiate SCP from EC by feature bit.

From: Lee Jones
Date: Wed Jun 12 2019 - 04:45:10 EST


On Mon, 03 Jun 2019, Pi-Hsun Shih wrote:

> System Companion Processor (SCP) is Cortex M4 co-processor on some
> MediaTek platform that can run EC-style firmware. Since a SCP and EC
> would both exist on a system, and use the cros_ec_dev driver, we need to
> differentiate between them for the userspace, or they would both be
> registered at /dev/cros_ec, causing a conflict.
>
> Signed-off-by: Pi-Hsun Shih <pihsun@xxxxxxxxxxxx>
> Acked-by: Enric Balletbo i Serra <enric.balletbo@xxxxxxxxxxxxx>
> ---
> Changes from v9:
> - Remove changes in cros_ec_commands.h (which is sync in
> https://lore.kernel.org/lkml/20190518063949.GY4319@dell/T/).
>
> Changes from v8:
> - No change.
>
> Changes from v7:
> - Address comments in v7.
> - Rebase the series onto https://lore.kernel.org/patchwork/patch/1059196/.
>
> Changes from v6, v5, v4, v3, v2:
> - No change.
>
> Changes from v1:
> - New patch extracted from Patch 5.
> ---
> drivers/mfd/cros_ec_dev.c | 10 ++++++++++
> include/linux/mfd/cros_ec.h | 1 +
> 2 files changed, 11 insertions(+)

Applied, thanks.

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog