RFC: IIO v3 patchset
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 of 13 patches 2 repliesIn review
12 of 13 patches are in this archive. The cover letter announces 13.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | RFC: IIO core functionalitydrivers/ drivers/ drivers/ +7 more | +1835 | 0 replies | |
| 2/13 | RFC: IIO ring buffer support (core)drivers/ drivers/ drivers/ +1 more | +622 | 0 replies | |
| 3/13 | RFC: IIO Software ring buffer implementationdrivers/ drivers/ drivers/ +1 more | +565 | 0 replies | |
| 4/13 | RFC: IIO trigger supportdrivers/ drivers/ drivers/ +1 more | +483 | 0 replies | |
| 5/13 | RFC: IIO Periodic real time clock based trigger.drivers/ drivers/ drivers/ +3 more | +219 | 0 replies | |
| 6/13 | RFC: Proof of concept GPIO based IIO triggerdrivers/ drivers/ drivers/ +1 more | +210 | 0 replies | |
| 7/13 | RFC: Maxim MAX1363 driverdrivers/ drivers/ drivers/ +3 more | +874 | 0 replies | |
| 9/13 | RFC: ST LIS3L02DQ 3d accelerometer driver via SPI (core)drivers/ drivers/ drivers/ +4 more | +1291 | 0 replies | |
| 10/13 | RFC: ST LIS3L02DQ 3d accelerometer driver via SPI (ring)drivers/ drivers/ drivers/ | +622 | 0 replies | |
| 11/13 | RFC: VTI SCA3000 3d accelerometer driver.drivers/ drivers/ drivers/ +4 more | +2042 | 0 replies | |
| 12/13 | RFC: IIO DocumentationDocumentation/ Documentation/ Documentation/ | +203 | 0 replies | |
| 13/13 | RFC: Example user space applicationDocumentation/ | +340 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Industrial I/O] [0/13] RFC: Maxim MAX1363 driver (ring buffer support)
From: Jonathan Cameron <[email protected]>
IIO: Maxim MAX1363 driver (ring buffer support)
Signed-off-by Jonathan Cameron <[email protected]>
--
This patch adds triggered software ring buffer support to the core driver. It should act as an example of how many of the elements of the IIO subsystem function.
There is currently an issue with unaligned timestamps on arm to be resolved when non multiple of 4 scan modes used.
drivers/industrialio/adc/Kconfig | 6 + drivers/industrialio/adc/Makefile | 2 + drivers/industrialio/adc/max1363.h | 9 ++ drivers/industrialio/adc/max1363_ring.c | 219 +++++++++++++++++++++++++++++++ 4 files changed, 236 insertions(+), 0 deletions(-)
drivers/industrialio/adc/Kconfig +6 -0
@@ -11,3 +11,9 @@ config MAX1363 convertors (ADC). (max1361, max1362, max1363, max1364, max1136, max1136, max1137, max1138, max1139, max1236, max1237, max11238, max1239) Provides direct access via sysfs. + +config MAX1363_RING + boolean "Ring buffer support" + depends on MAX1363 && IIO_SW_RING && IIO_TRIGGERS + help + Enable software ring buffer support in the max1363 driver.
drivers/industrialio/adc/Makefile +2 -0
@@ -3,5 +3,7 @@ # max1363-y := max1363_core.o +#got to be a better way of doing this +max1363-$(CONFIG_MAX1363_RING) += max1363_ring.o obj-$(CONFIG_MAX1363) += max1363.o
drivers/industrialio/adc/max1363.h +9 -0
@@ -228,6 +228,15 @@ struct max1363_data { };#ifdef CONFIG_MAX1363_RING + +ssize_t max1363_scan_from_ring (struct device *dev, +struct device_attribute *attr, +char *buf); +int max1363_register_ring_funcs_and_init (struct iio_dev *indio_dev); +void max1363_ring_cleanup (struct iio_dev *indio_dev); + + +#else /* CONFIG_MAX1363_RING */ static inline ssize_t max1363_scan_from_ring(struct device *dev,
drivers/industrialio/adc/max1363_ring.c new file +219 -0
219 lines not on this page · raw message