linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] iio: adc: add max11410 adc driver
@ 2022-08-11 13:42 Ibrahim Tilki
  2022-08-11 13:42 ` [PATCH v3 1/2] " Ibrahim Tilki
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ibrahim Tilki @ 2022-08-11 13:42 UTC (permalink / raw)
  To: jic23; +Cc: Ibrahim Tilki, linux-iio, Nuno.Sa, Nurettin.Bolucu

I added filter enable attributes for 50Hz and 60Hz FIR filters.
Disabling both will set filter to sinc4, allowing higher sampling rates.

Regards,
Ibrahim

Note: No sign-off tag for David as he was unreachable when the initial patch was sent.

Changelog:
since v3:
  - prefix defines with MAX11410_
  - group vref regulators
  - use builtin iio_validate_scan_mask_onehot
  - validate iio trigger
  - move scan data into state struct
  - require vrefn regulator in DT if used by any channel
  - don't require irq for triggered buffer
  - remove filter sysfs attr and ABI documentation
  - add in_voltage_filter[0-1]_notch_{center,en} attrs

since v2:
  - remove bit position shifting, use field_prep instead
  - reduce the amount of reg writes in max11410_configure_channel
  - add error checking in max11410_parse_channels
  - remove some unneeded blank lines and minor style fixes
  - remove scan data assignment in max11410_trigger_handler


Ibrahim Tilki (2):
  iio: adc: add max11410 adc driver
  dt-bindings: iio: adc: add adi,max11410.yaml

 .../bindings/iio/adc/adi,max11410.yaml        | 165 +++
 drivers/iio/adc/Kconfig                       |  13 +
 drivers/iio/adc/Makefile                      |   1 +
 drivers/iio/adc/max11410.c                    | 954 ++++++++++++++++++
 4 files changed, 1133 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,max11410.yaml
 create mode 100644 drivers/iio/adc/max11410.c

-- 
2.36.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-08-20 11:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-11 13:42 [PATCH v3 0/2] iio: adc: add max11410 adc driver Ibrahim Tilki
2022-08-11 13:42 ` [PATCH v3 1/2] " Ibrahim Tilki
2022-08-14 15:44   ` Jonathan Cameron
2022-08-11 13:42 ` [PATCH v3 2/2] dt-bindings: iio: adc: add adi,max11410.yaml Ibrahim Tilki
2022-08-14 15:55   ` Jonathan Cameron
2022-08-19  6:32     ` Bolucu, Nurettin
2022-08-20 11:53       ` Jonathan Cameron
2022-08-14 14:52 ` [PATCH v3 0/2] iio: adc: add max11410 adc driver Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).