lkml.org 
[lkml]   [2016]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] Add support for adc101c* and adc121c*
Date
Changes since last version:
* Use struct adcxx1_model in the first patch as well.
* Use VLA buf in adc081c_trigger_handler.
* Rerrange code so the diffs look nicer.
* Fixed other smaller review comments.

I did not add an enum for models because it's not clear how adding another
layer of indirection would help. Maybe if we ever want to scan the table of
models? But that's not useful here.

The devices actually have names like ADC121C021/ADC121C027 to identify chips
with different pinouts but identical I2C interfaces. Those differences don't
currently matter to the driver.

Crestez Dan Leonard (2):
ti-adc081c: Add support for adc101c* and adc121c*
ti-adc081c: Initial triggered buffer support

drivers/iio/adc/Kconfig | 6 +--
drivers/iio/adc/ti-adc081c.c | 103 ++++++++++++++++++++++++++++++++++++++-----
2 files changed, 94 insertions(+), 15 deletions(-)

--
2.5.5

\
 
 \ /
  Last update: 2016-04-04 20:41    [W:0.064 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site