Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1370809

[PATCH v2 0/2] Add support for adc101c* and adc121c*

From Crestez Dan Leonard <leonard.crestez@intel.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/2] Add support for adc101c* and adc121c*
Date 2016-04-04 20:30 +0200
Message-ID <rkhq9-7no-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] Add support for adc101c* and adc121c*  Crestez Dan Leonard <leonard.crestez@intel.com> - 2016-04-04 20:30 +0200
  [PATCH v2 2/2] ti-adc081c: Initial triggered buffer support Crestez Dan Leonard <leonard.crestez@intel.com> - 2016-04-04 20:30 +0200
    Re: [PATCH v2 2/2] ti-adc081c: Initial triggered buffer support Jonathan Cameron <jic23@kernel.org> - 2016-04-10 16:30 +0200
  [PATCH v2 1/2] ti-adc081c: Add support for adc101c* and adc121c* Crestez Dan Leonard <leonard.crestez@intel.com> - 2016-04-04 20:30 +0200
    Re: [PATCH v2 1/2] ti-adc081c: Add support for adc101c* and adc121c* Jonathan Cameron <jic23@kernel.org> - 2016-04-10 16:30 +0200

csiph-web