All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] add driver for the ti-adc084s021 chip
@ 2017-04-30 12:53 ` Mårten Lindahl
  0 siblings, 0 replies; 12+ messages in thread
From: Mårten Lindahl @ 2017-04-30 12:53 UTC (permalink / raw)
  To: jic23
  Cc: knaack.h, lars, pmeerw, linux-iio, robh+dt, mark.rutland,
	devicetree, Mårten Lindahl

From: Mårten Lindahl <martenli@axis.com>

This adds support for the Texas Instruments ADC084S021 ADC chip.

---
Changes in v2:
- Split dt-bindings and iio/adc into separate patches
- Updated dt-bindings after Robs comments
- Removed most #defines to inlines
- Corrected channel macro
- Removed configuration array with only one item
- Updated func adc084s021_adc_conversion to use be16_to_cpu
- Added IIO_CHAN_INFO_SCALE to func adc084s021_read_raw
- Use iio_device_claim_direct_mode in func adc084s021_read_raw
- Removed documentation for standard driver functions
- Changed retval to ret everywhere
- Removed dynamic alloc for data buffer in trigger handler
- Keeping mutex for all iterations in trigger handler
- Removed usage of events in this driver
- Removed info log in probe
- Use spi_message_init_with_transfers for spi message structs
- Use preenable and postdisable functions for regulator
- Inserted blank line before last return in all functions

Mårten Lindahl (2):
  dt-bindings: iio: adc: add driver for the ti-adc084s021 chip
  iio: adc: add driver for the ti-adc084s021 chip

 .../devicetree/bindings/iio/adc/ti-adc084s021.txt  |  19 ++
 drivers/iio/adc/Kconfig                            |  12 +
 drivers/iio/adc/Makefile                           |   1 +
 drivers/iio/adc/ti-adc084s021.c                    | 294 +++++++++++++++++++++
 4 files changed, 326 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt
 create mode 100644 drivers/iio/adc/ti-adc084s021.c

-- 
2.1.4

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

end of thread, other threads:[~2017-05-04 16:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-30 12:53 [PATCH v2 0/2] add driver for the ti-adc084s021 chip Mårten Lindahl
2017-04-30 12:53 ` Mårten Lindahl
2017-04-30 12:53 ` [PATCHv2 1/2] dt-bindings: iio: adc: " Mårten Lindahl
2017-04-30 12:53   ` Mårten Lindahl
2017-04-30 12:53 ` [PATCHv2 2/2] " Mårten Lindahl
2017-04-30 12:53   ` Mårten Lindahl
2017-04-30 15:51   ` Jonathan Cameron
2017-04-30 15:51     ` Jonathan Cameron
2017-05-03  9:13     ` Mårten Lindahl
2017-05-03  9:13       ` Mårten Lindahl
2017-05-04 16:31       ` Jonathan Cameron
2017-05-04 16:31         ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.