Skip to content

counter: cros_ec: Add sync sensor driver

Fabien Lahoudere linux-doc linux-iio lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 11 repliesIn review
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- Drop code related to IIO_COUNT
- Add external attribute to the counter driver
- Add cros_ec_sensors_sync.c to MAINTAINERS file

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1counter: cros_ec: Add synchronization sensorDocumentation/driver-api/generic-counter.rst MAINTAINERS drivers/counter/Kconfig +6 more+235 -011 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] counter: cros_ec: Add sync sensor driver

Some chromebook EC provides a counter to get all vsync coming from the back camera.
This series introduces a patch coming from chromebook kernel 4.4 designed as an IIO counter. As IIO counter will be deprecated in favor of counter, I rebase the original patch and support the new counter API.

The serie need to be merged after https://lkml.org/lkml/2019/7/9/305

Changes since v1:
- Drop code related to IIO_COUNT
- Add external attribute to the counter driver
- Add cros_ec_sensors_sync.c to MAINTAINERS file

Gwendal Grignou (1):
counter: cros_ec: Add synchronization sensor

 Documentation/driver-api/generic-counter.rst  |   3 +
 MAINTAINERS                                   |   7 +
 drivers/counter/Kconfig                       |   9 +
 drivers/counter/Makefile                      |   1 +
 drivers/counter/counter.c                     |   2 +
 drivers/counter/cros_ec_sensors_sync.c        | 208 ++++++++++++++++++
 .../cros_ec_sensors/cros_ec_sensors_core.c    |   1 +
 drivers/mfd/cros_ec_dev.c                     |   3 +
 include/linux/counter.h                       |   1 +
 9 files changed, 235 insertions(+)
 create mode 100644 drivers/counter/cros_ec_sensors_sync.c
Signature · 1 line
2.20.1