0003-stm-add-new-iio-event-used-for-timesync-logic.patch 975 B

1234567891011121314151617181920212223242526272829303132333435
  1. From 4de72e26919ffd46f3a5de43ca65f98f95d24e60 Mon Sep 17 00:00:00 2001
  2. From: Denis Ciocca <[email protected]>
  3. Date: Mon, 29 Nov 2021 15:15:48 -0800
  4. Subject: [PATCH] stm: add new iio event used for timesync logic
  5. Signed-off-by: Denis Ciocca <[email protected]>
  6. Change-Id: I05ec93ccdb9f4905d6a6c1900386332edf21fea2
  7. Signed-off-by: mario tesi <[email protected]>
  8. ---
  9. include/uapi/linux/iio/types.h | 2 ++
  10. 1 file changed, 2 insertions(+)
  11. diff --git a/include/uapi/linux/iio/types.h b/include/uapi/linux/iio/types.h
  12. index d227164..7127c1f 100644
  13. --- a/include/uapi/linux/iio/types.h
  14. +++ b/include/uapi/linux/iio/types.h
  15. @@ -40,6 +40,7 @@ enum iio_chan_type {
  16. IIO_PH,
  17. IIO_UVINDEX,
  18. IIO_ELECTRICALCONDUCTIVITY,
  19. + IIO_COUNT,
  20. IIO_SIGN_MOTION,
  21. IIO_STEP_DETECTOR,
  22. IIO_STEP_COUNTER,
  23. @@ -98,6 +99,7 @@ enum iio_event_type {
  24. IIO_EV_TYPE_MAG_ADAPTIVE,
  25. IIO_EV_TYPE_CHANGE,
  26. IIO_EV_TYPE_FIFO_FLUSH,
  27. + IIO_EV_TYPE_TIME_SYNC,
  28. };
  29. enum iio_event_direction {
  30. --
  31. 2.7.4