Message ID | 20210128084011.3270281-2-swboyd@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | iio: Add a ChromeOS EC MKBP proximity driver | expand |
Hi Stephen, Thank you for your patch. Please cc'me for the patches related to the chrome/platform subsystem. Missatge de Stephen Boyd <swboyd@chromium.org> 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@gmail.com> > Cc: Benson Leung <bleung@chromium.org> > Cc: Guenter Roeck <groeck@chromium.org> > Cc: Douglas Anderson <dianders@chromium.org> > Cc: Gwendal Grignou <gwendal@chromium.org> > Signed-off-by: Stephen Boyd <swboyd@chromium.org> Acked-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> > --- > 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 >
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
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@gmail.com> Cc: Benson Leung <bleung@chromium.org> Cc: Guenter Roeck <groeck@chromium.org> Cc: Douglas Anderson <dianders@chromium.org> Cc: Gwendal Grignou <gwendal@chromium.org> Signed-off-by: Stephen Boyd <swboyd@chromium.org> --- include/linux/platform_data/cros_ec_commands.h | 1 + 1 file changed, 1 insertion(+)