<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/iio/adc, branch linux-3.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-09-22T09:29:19Z</updated>
<entry>
<title>iio: adc: add new lp8788 adc driver</title>
<updated>2012-09-22T09:29:19Z</updated>
<author>
<name>Kim, Milo</name>
</author>
<published>2012-09-17T09:35:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f0347c36ccd7cfd31c8af10509d4110f0a769a85'/>
<id>urn:sha1:f0347c36ccd7cfd31c8af10509d4110f0a769a85</id>
<content type='text'>
 TI LP8788 PMU provides regulators, battery charger, ADC,
 RTC, backlight driver and current sinks.

 This patch enables the LP8788 ADC functions.

 The LP8788 ADC has several ADC input selection and supports 12bit resolution.
 Internal operation of getting ADC is access to registers of LP8788.
 The LP8788 ADC uses exported functions for accessing these registers.
 (exported by LP8788 MFD device driver)

 This driver supports IIO_CHAN_INFO_RAW and SCALE.
 So the IIO consumer can calculate the value with raw and scale.
 The unit of scale is micro.

 (ADC Input Selection)

 Voltage: battery voltage (MAX 5.0, 5.5 and 6.0V)
          charger input voltage
          four general ADC inputs
          coin cell voltage
 Current: battery charging current
 Temperature: IC temperature

 (The IIO map for the IIO consumer)

 The ADC input is configurable in the platform side.
 Even though this platform data is not defined,
 the default IIO map is created for supporting the power supply driver.
 The battery voltage and temperature are used inside this driver.

 (History)

 Patch v6.
 (a) Fix scale value for each ADC input selection
 Voltage and current type are mili unit and temperature is degree.
 To calculate the IC temperature,
 temp = raw * scaleint + (raw * scalepart)/ 1000000, scaleint is always 0.
      = raw * 0.061050, raw: 0 ~ 4095
 Then range of IC temperature(ADC result) is 0 ~ 250'C

 (b) Reorganization of the IIO channel Spec
 Remove address, scan_type and scan_index and rollback the datasheet name.
 The reason why 'address' field is unnecessary is no relation with each channel.
 Moreover, to get the raw ADC value, the address info is not only one register
 but also several registers.
 Therefore specific function(lp8788_get_adc_result) is called rather than
 using one 'address' field.

 (c) Fix coding style
 Remove duplicated checking routine while unregistering the IIO map.
 Fix code for space and parenthesis.

 Patch v5.
 Fix default consumer name as 'lp8788-charger'.
 Add mutex for ADC read operation.
 Reorganization on lp8788_adc_read_raw().

 Patch v4.
 Fix adc_raw function: support RAW and SCALE channel info.
 Change LP8788 ADC platform data - iio map.
 Enables the default IIO map.

 Patch v3.
 Fix wrong size of allocating iio private data.
 Fix coding styles.

 Patch v2.
 Support RAW and SCALE interface for IIO consumer.
 Clean up the iio channel spec macro.

Signed-off-by: Milo(Woogyom) Kim &lt;milo.kim@ti.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'iio-for-v3.7d' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next</title>
<updated>2012-09-17T21:42:54Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2012-09-17T21:42:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8508317c96727a3905400796b89586c323b551ee'/>
<id>urn:sha1:8508317c96727a3905400796b89586c323b551ee</id>
<content type='text'>
IIO new drivers, features and rework for the 3.7 cycle, 4th set.

Here we have

1) a set cleaning up and moving the ad7476 driver out of staging.
Support for a number of additional parts is also added to that driver.

2) cleanups from various people for the in kernel interface code as that
is getting more an more real use and hence people are picking up on
minor issues that made it through review.  Also a related useful set
of utility functions to avoid duplicate code for converting IIO
representations to other forms.

3) a new fractional type for our read_raw / write_raw functions.
  This allows avoiding loss of accuracy via the in kernel interfaces in some
  cases as well as being rather convenient for a lot of range -&gt; scale
  conversions.

4) New AD5755 DAC driver.

5) Some Blackfin timer trigger improvements including hardware pulse control
for device triggering.

6) Support for the ad7091r in the ad7476 driver.
</content>
</entry>
<entry>
<title>iio: ad7476: Add support for the ad7091r</title>
<updated>2012-09-17T21:10:00Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2012-09-17T12:26:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=87c5b10fd97937796dbf0769e8790a5f275b4a37'/>
<id>urn:sha1:87c5b10fd97937796dbf0769e8790a5f275b4a37</id>
<content type='text'>
Add support for the ad7091r 12 bit ADC to the ad7476 driver. Although the
ad7091r is not really related to any of the other devices supported by this
driver, luckily for us there are not so many ways (which are not totally insane)
how sampling a single channel ADC via SPI can be implemented and support for the
ad7091r can be added to the driver with just a few adjustments.

The ad7091r requires an external "conversion start" pulse to start a sample
conversion. After the conversion has finished the result can be read via SPI. We
depend on a IIO trigger to generate this signal, as a result only sampling in
buffered mode and not in manual mode is available.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge 3.6-rc6 into staging-next</title>
<updated>2012-09-17T00:17:25Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2012-09-17T00:17:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a2a2cdd57d11ee3117539b846a45df6efbd35b1'/>
<id>urn:sha1:6a2a2cdd57d11ee3117539b846a45df6efbd35b1</id>
<content type='text'>
This pulls in the staging tree fixes in 3.6-rc6 into our branch to resolve the
merge issues.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>iio:ad7476: Add support for ad7273/ad7274/ad7276/ad7277/ad7278</title>
<updated>2012-09-15T09:02:16Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2012-09-10T09:33:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c26cc89e8d758804499dcaa58ba7d2a993b954fe'/>
<id>urn:sha1:c26cc89e8d758804499dcaa58ba7d2a993b954fe</id>
<content type='text'>
The ad7276/ad7277/ad7278 are similar to the ad7476/ad7477/ad7478 but have the
same number of leading zeros as the ad7940. The ad7273/ad7274 have a extra pin
for VREF where as for the ad7276/ad7277/ad7278 VREF is taken from VDD, but
otherwise they are compatible to the ad7276/ad7277.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:ad7476: Add ad7940 support</title>
<updated>2012-09-15T09:02:15Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2012-09-10T08:34:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c337de870d9bd1459ab603574256bb0e7644ad6'/>
<id>urn:sha1:4c337de870d9bd1459ab603574256bb0e7644ad6</id>
<content type='text'>
The AD7940 is a single channel 14 bit ADC similar to the ADCs already supported
by the ad7476 driver, but it does have a different shift factor.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:ad7476: Add ad7910/ad7920 device table entries</title>
<updated>2012-09-15T09:02:15Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2012-09-10T08:34:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac5332b1475b474a478d9336635849339546e235'/>
<id>urn:sha1:ac5332b1475b474a478d9336635849339546e235</id>
<content type='text'>
The ad7910/ad7920 are software compatible to the ad7467/ad7466.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: Move ad7476 driver out of staging</title>
<updated>2012-09-15T09:02:14Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2012-09-10T08:34:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=968f3d5ba006d21677145739d8b3f864b5af15c6'/>
<id>urn:sha1:968f3d5ba006d21677145739d8b3f864b5af15c6</id>
<content type='text'>
The ad7476 driver is a driver for simple single channel ADCs. The driver does
not export any experimental or custom ABI files nor do the static code check
tools report any issues, so move the driver out of staging.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>staging:iio:adc: Add AD7791 driver</title>
<updated>2012-09-08T09:20:09Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2012-09-04T15:26:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7b123c85bbb3fadbd02b82d77d5aee0c399b0e06'/>
<id>urn:sha1:7b123c85bbb3fadbd02b82d77d5aee0c399b0e06</id>
<content type='text'>
This patch adds support for the Analog Devices AD7787, AD7788, AD7789, AD7790
and AD7791 Sigma Delta Analog-to-Digital converters.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: Drop timestamp parameter from buffer store_to callback</title>
<updated>2012-09-08T09:14:34Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2012-09-04T12:38:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ce56ade6ae74e604a4b5d6ea5b1d58960fa8e7aa'/>
<id>urn:sha1:ce56ade6ae74e604a4b5d6ea5b1d58960fa8e7aa</id>
<content type='text'>
Drop timestamp parameter from buffer store_to callback and subsequently from
iio_push_to_buffer. The timestamp parameter is unused and it seems likely that
it will stay unused in the future, so it should be safe to remove it.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
