Re: [PATCH v3 1/3] platform/chrome: cros_ec: Add SW_FRONT_PROXIMITY MKBP define

From: Enric Balletbo Serra
Date: Thu Jan 28 2021 - 04:33:01 EST


Hi Stephen,

Thank you for your patch. Please cc'me for the patches related to the
chrome/platform subsystem.

Missatge de Stephen Boyd <swboyd@xxxxxxxxxxxx> del dia dj., 28 de gen.
2021 a les 9:48:
>
> Some cros ECs support a front proximity MKBP event via
> 'EC_MKBP_FRONT_PROXIMITY'. Add this define so it can be used in a
> future patch.
>
> Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> Cc: Benson Leung <bleung@xxxxxxxxxxxx>
> Cc: Guenter Roeck <groeck@xxxxxxxxxxxx>
> Cc: Douglas Anderson <dianders@xxxxxxxxxxxx>
> Cc: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
> Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>

Acked-by: Enric Balletbo i Serra <enric.balletbo@xxxxxxxxxxxxx>


> ---
> include/linux/platform_data/cros_ec_commands.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/platform_data/cros_ec_commands.h b/include/linux/platform_data/cros_ec_commands.h
> index 86376779ab31..776e0b2be0e9 100644
> --- a/include/linux/platform_data/cros_ec_commands.h
> +++ b/include/linux/platform_data/cros_ec_commands.h
> @@ -3457,6 +3457,7 @@ struct ec_response_get_next_event_v1 {
> #define EC_MKBP_LID_OPEN 0
> #define EC_MKBP_TABLET_MODE 1
> #define EC_MKBP_BASE_ATTACHED 2
> +#define EC_MKBP_FRONT_PROXIMITY 3
>
> /* Run keyboard factory test scanning */
> #define EC_CMD_KEYBOARD_FACTORY_TEST 0x0068
> --
> https://chromeos.dev
>