linux/drivers/platform/chrome
Enrico Granata 3300fdd630 platform/chrome: cros_ec: handle MKBP more events flag
The ChromeOS EC has support for signaling to the host that a single IRQ
can serve multiple MKBP (Matrix KeyBoard Protocol) events.

Doing this serves an optimization purpose, as it minimizes the number of
round-trips into the interrupt handling machinery, and it proves
beneficial to sensor timestamping as it keeps the desired synchronization
of event times between the two processors.

This patch adds kernel support for this EC feature, allowing the ec_irq
to loop until all events have been served.

Signed-off-by: Enrico Granata <egranata@chromium.org>
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
2019-11-21 11:23:15 +01:00
..
wilco_ec platform/chrome: wilco_ec: Add batt_ppid_info command to telemetry driver 2019-08-22 21:26:18 +02:00
chromeos_laptop.c platform/chrome: chromeos_laptop: drop checks of NULL-safe functions 2019-08-26 15:15:52 +02:00
chromeos_pstore.c platform/chrome: cromeos_pstore: switch to SPDX identifier 2019-02-01 10:13:05 +01:00
chromeos_tbmc.c platform/chrome: chromeos_tbmc: Report wake events 2019-09-12 16:01:35 +02:00
cros_ec_chardev.c platform/chrome: cros_ec_chardev: Add a poll handler to receive MKBP events 2019-09-12 16:20:54 +02:00
cros_ec_debugfs.c mfd / platform: cros_ec: Reorganize platform and mfd includes 2019-09-02 11:33:42 +01:00
cros_ec_i2c.c mfd / platform: cros_ec: Reorganize platform and mfd includes 2019-09-02 11:33:42 +01:00
cros_ec_ishtp.c platform/chrome: cros_ec: handle MKBP more events flag 2019-11-21 11:23:15 +01:00
cros_ec_lightbar.c mfd / platform: cros_ec: Reorganize platform and mfd includes 2019-09-02 11:33:42 +01:00
cros_ec_lpc_mec.c platform/chrome: cros_ec_lpc_mec: Fix kernel-doc comment first line 2019-06-20 12:00:32 +02:00
cros_ec_lpc_mec.h platform/chrome: cros_ec: Remove cros_ec dependency in lpc_mec 2019-02-11 10:07:40 +01:00
cros_ec_lpc.c platform/chrome: cros_ec: handle MKBP more events flag 2019-11-21 11:23:15 +01:00
cros_ec_proto.c platform/chrome: cros_ec: handle MKBP more events flag 2019-11-21 11:23:15 +01:00
cros_ec_rpmsg.c platform/chrome: cros_ec: handle MKBP more events flag 2019-11-21 11:23:15 +01:00
cros_ec_sensorhub.c iio / platform: cros_ec: Add cros-ec-sensorhub driver 2019-11-21 11:23:14 +01:00
cros_ec_spi.c chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
cros_ec_sysfs.c mfd / platform: cros_ec: Reorganize platform and mfd includes 2019-09-02 11:33:42 +01:00
cros_ec_trace.c mfd / platform: cros_ec: Reorganize platform and mfd includes 2019-09-02 11:33:42 +01:00
cros_ec_trace.h mfd / platform: cros_ec: Reorganize platform and mfd includes 2019-09-02 11:33:42 +01:00
cros_ec_vbc.c mfd / platform: cros_ec: Reorganize platform and mfd includes 2019-09-02 11:33:42 +01:00
cros_ec.c platform/chrome: cros_ec: handle MKBP more events flag 2019-11-21 11:23:15 +01:00
cros_kbd_led_backlight.c platform/chrome: cros_kbd_led_backlight: switch to SPDX identifier 2019-02-01 10:13:06 +01:00
cros_usbpd_logger.c platform/chrome: cros_usbpd_logger: null check create_singlethread_workqueue 2019-09-12 16:20:54 +02:00
Kconfig iio / platform: cros_ec: Add cros-ec-sensorhub driver 2019-11-21 11:23:14 +01:00
Makefile iio / platform: cros_ec: Add cros-ec-sensorhub driver 2019-11-21 11:23:14 +01:00