<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/misc/eeprom, branch v4.6</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.6</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-03-02T00:55:48Z</updated>
<entry>
<title>misc: at24: replace memory_accessor with nvmem_device_read</title>
<updated>2016-03-02T00:55:48Z</updated>
<author>
<name>Andrew Lunn</name>
<email>andrew@lunn.ch</email>
</author>
<published>2016-02-26T19:59:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bec3c11bad0e7ac05fb90f204d0ab6f79945822b'/>
<id>urn:sha1:bec3c11bad0e7ac05fb90f204d0ab6f79945822b</id>
<content type='text'>
Now that the AT24 uses the NVMEM framework, replace the
memory_accessor in the setup() callback with nvmem API calls.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Acked-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Tested-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
Acked-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>eeprom: 93xx46: extend driver to plug into the NVMEM framework</title>
<updated>2016-03-02T00:55:48Z</updated>
<author>
<name>Andrew Lunn</name>
<email>andrew@lunn.ch</email>
</author>
<published>2016-02-26T19:59:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1c4b6e2c7534b9b193f440f77dd47e420a150288'/>
<id>urn:sha1:1c4b6e2c7534b9b193f440f77dd47e420a150288</id>
<content type='text'>
Add a regmap for accessing the EEPROM, and then use that with the
NVMEM framework. Enable backward compatibility in the NVMEM config
structure, so that the 'eeprom' file in sys is provided by the
framework.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Acked-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>eeprom: at25: extend driver to plug into the NVMEM framework</title>
<updated>2016-03-02T00:55:48Z</updated>
<author>
<name>Andrew Lunn</name>
<email>andrew@lunn.ch</email>
</author>
<published>2016-02-26T19:59:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5a99f570dab9f626d3b0b87a4ddf5de8c648aae8'/>
<id>urn:sha1:5a99f570dab9f626d3b0b87a4ddf5de8c648aae8</id>
<content type='text'>
Add a regmap for accessing the EEPROM, and then use that with the
NVMEM framework. Enable backwards compatibility in the NVMEM config,
so that the 'eeprom' file in sys is provided by the framework.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Acked-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>eeprom: at25: Remove in kernel API for accessing the EEPROM</title>
<updated>2016-03-02T00:55:48Z</updated>
<author>
<name>Andrew Lunn</name>
<email>andrew@lunn.ch</email>
</author>
<published>2016-02-26T19:59:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3ccea0e1fdf896645f8cccddcfcf60cb289fdf76'/>
<id>urn:sha1:3ccea0e1fdf896645f8cccddcfcf60cb289fdf76</id>
<content type='text'>
The setup() callback is not used by any in kernel code. Remove it.
Any new code which requires access to the eeprom can use the NVMEM
API.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Acked-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Acked-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>eeprom: at24: extend driver to plug into the NVMEM framework</title>
<updated>2016-03-02T00:55:48Z</updated>
<author>
<name>Andrew Lunn</name>
<email>andrew@lunn.ch</email>
</author>
<published>2016-02-26T19:59:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=57d155506dd5e8f8242d0310d3822c486f70dea7'/>
<id>urn:sha1:57d155506dd5e8f8242d0310d3822c486f70dea7</id>
<content type='text'>
Add a regmap for accessing the EEPROM, and then use that with the
NVMEM framework. Set the NVMEM config structure to enable backward, so
that the 'eeprom' file in sys is provided by the framework.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Acked-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Tested-by: Bartosz Golaszewski &lt;bgolaszewski@baylibre.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>misc: eeprom_93xx46: Add support for a GPIO 'select' line.</title>
<updated>2016-02-12T03:23:28Z</updated>
<author>
<name>Cory Tusar</name>
<email>cory.tusar@pid1solutions.com</email>
</author>
<published>2016-02-10T19:32:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3ca9b1ac28398c6fe0bed335d2d71a35e1c5f7c9'/>
<id>urn:sha1:3ca9b1ac28398c6fe0bed335d2d71a35e1c5f7c9</id>
<content type='text'>
This commit adds support to the eeprom_93x46 driver allowing a GPIO line
to function as a 'select' or 'enable' signal prior to accessing the
EEPROM.

Signed-off-by: Cory Tusar &lt;cory.tusar@pid1solutions.com&gt;
Tested-by: Chris Healy &lt;chris.healy@zii.aero&gt;
Reviewed-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.</title>
<updated>2016-02-12T03:23:28Z</updated>
<author>
<name>Cory Tusar</name>
<email>cory.tusar@pid1solutions.com</email>
</author>
<published>2016-02-10T19:32:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e1379b56e9e88653fcb58cbaa71cd6b1cc304918'/>
<id>urn:sha1:e1379b56e9e88653fcb58cbaa71cd6b1cc304918</id>
<content type='text'>
Atmel devices in this family have some quirks not found in other similar
chips - they do not support a sequential read of the entire EEPROM
contents, and the control word sent at the start of each operation
varies in bit length.

This commit adds quirk support to the driver and modifies the read
implementation to support non-sequential reads for consistency with
other misc/eeprom drivers.

Tested on a custom Freescale VF610-based platform, with an AT93C46D
device attached via dspi2.  The spi-gpio driver was used to allow the
necessary non-byte-sized transfers.

Signed-off-by: Cory Tusar &lt;cory.tusar@pid1solutions.com&gt;
Tested-by: Chris Healy &lt;chris.healy@zii.aero&gt;
Reviewed-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.</title>
<updated>2016-02-10T01:27:45Z</updated>
<author>
<name>Cory Tusar</name>
<email>cory.tusar@pid1solutions.com</email>
</author>
<published>2016-01-07T03:55:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c074abe02e5e3479b2dfd109fa2620d22d351c34'/>
<id>urn:sha1:c074abe02e5e3479b2dfd109fa2620d22d351c34</id>
<content type='text'>
This commit implements bindings in the eeprom_93xx46 driver allowing
device word size and read-only attributes to be specified via
devicetree.

Signed-off-by: Cory Tusar &lt;cory.tusar@pid1solutions.com&gt;
Tested-by: Chris Healy &lt;chris.healy@zii.aero&gt;
Reviewed-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>misc: eeprom_93xx46: Fix 16-bit read and write accesses.</title>
<updated>2016-02-10T01:27:45Z</updated>
<author>
<name>Cory Tusar</name>
<email>cory.tusar@pid1solutions.com</email>
</author>
<published>2016-01-07T03:55:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cb54ad6cddb606add2481b82901d69670b480d1b'/>
<id>urn:sha1:cb54ad6cddb606add2481b82901d69670b480d1b</id>
<content type='text'>
Compatible at93xx46 devices from both Microchip and Atmel expect a
word-based address, regardless of whether the device is strapped for 8-
or 16-bit operation.  However, the offset parameter passed in when
reading or writing at a specific location is always specified in terms
of bytes.

This commit fixes 16-bit read and write accesses by shifting the offset
parameter to account for this difference between a byte offset and a
word-based address.

Signed-off-by: Cory Tusar &lt;cory.tusar@pid1solutions.com&gt;
Tested-by: Chris Healy &lt;chris.healy@zii.aero&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>misc: eeprom: use kobj_to_dev()</title>
<updated>2016-02-08T07:01:45Z</updated>
<author>
<name>Geliang Tang</name>
<email>geliangtang@163.com</email>
</author>
<published>2016-01-13T15:30:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=092462c2b52259edba80a6748acb3305f7f70423'/>
<id>urn:sha1:092462c2b52259edba80a6748acb3305f7f70423</id>
<content type='text'>
Use kobj_to_dev() instead of open-coding it.

Signed-off-by: Geliang Tang &lt;geliangtang@163.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
