<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/misc/eeprom/at25.c, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-10-15T18:51:46Z</updated>
<entry>
<title>eeprom: at25: remove unneeded 'at25_remove'</title>
<updated>2018-10-15T18:51:46Z</updated>
<author>
<name>YueHaibing</name>
</author>
<published>2018-10-05T06:19:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5fe9f6ccbb7bc82a92e5d32b3eb68eebb3ea4a93'/>
<id>urn:sha1:5fe9f6ccbb7bc82a92e5d32b3eb68eebb3ea4a93</id>
<content type='text'>
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/misc/eeprom/at25.c: In function 'at25_remove':
drivers/misc/eeprom/at25.c:384:20: warning:
 variable 'at25' set but not used [-Wunused-but-set-variable]

Since commit 96d08fb43e30 ("eeprom: at25: use devm_nvmem_register()"),
at25_remove is do nothing, so can be removed.

Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Reviewed-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>eeprom: at25: use devm_nvmem_register()</title>
<updated>2018-09-28T13:14:53Z</updated>
<author>
<name>Bartosz Golaszewski</name>
</author>
<published>2018-09-21T13:40:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96d08fb43e30bb55fa1a76953097cf043807837b'/>
<id>urn:sha1:96d08fb43e30bb55fa1a76953097cf043807837b</id>
<content type='text'>
Use the resource managed variant of nvmem_register().

Signed-off-by: Bartosz Golaszewski &lt;bgolaszewski@baylibre.com&gt;
Signed-off-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: mark expected switch fall-throughs</title>
<updated>2018-07-07T15:38:57Z</updated>
<author>
<name>Gustavo A. R. Silva</name>
</author>
<published>2018-07-03T22:47:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c2ccd8cd1436d79010354029f43e4d167f1d755'/>
<id>urn:sha1:0c2ccd8cd1436d79010354029f43e4d167f1d755</id>
<content type='text'>
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Signed-off-by: Gustavo A. R. Silva &lt;gustavo@embeddedor.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>eeprom: at25: sizeof t should be sizeof(t)</title>
<updated>2018-03-23T15:05:00Z</updated>
<author>
<name>Devang Panchal</name>
</author>
<published>2018-03-21T05:34:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c84f259c8772d439fc6f014405c735d31943cf18'/>
<id>urn:sha1:c84f259c8772d439fc6f014405c735d31943cf18</id>
<content type='text'>
Resolved checkpatch warning "sizeof t should be sizeof(t)"
issue found by checkpatch.

Signed-off-by: Devang Panchal &lt;devang.panchal@softnautics.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>eeprom: at25: Add DT support for EEPROMs with odd address bits</title>
<updated>2017-12-18T14:59:17Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2017-12-08T13:46:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f8d3bc10041914cceef4585a38cfdc071724b2a7'/>
<id>urn:sha1:f8d3bc10041914cceef4585a38cfdc071724b2a7</id>
<content type='text'>
Certain EEPROMS have a size that is larger than the number of address
bytes would allow, and store the MSB of the address in bit 3 of the
instruction byte.

This can be described in platform data using EE_INSTR_BIT3_IS_ADDR, or
in DT using the obsolete legacy "at25,addr-mode" property.
But currently there exists no non-deprecated way to describe this in DT.

Hence extend the existing "address-width" DT property to allow
specifying 9 address bits, and enable support for that in the driver.

This has been tested with a Microchip 25LC040A.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Reviewed-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>at25: fix debug and error messaging</title>
<updated>2016-09-27T10:43:35Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2016-09-11T11:58:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3936e4c8db2095af5e6c704a3e4b2b500f568ae5'/>
<id>urn:sha1:3936e4c8db2095af5e6c704a3e4b2b500f568ae5</id>
<content type='text'>
The patch does the following:
- fixes specifiers and removes explicit casting of the parameters
- joins literals to one line
- increases readability of the parameters

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>eeprom: at25: Fix SPI device leak</title>
<updated>2016-05-01T21:04:19Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2016-04-20T09:16:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96b2a45c66fdca543cd94da3aa2c2542b11b9188'/>
<id>urn:sha1:96b2a45c66fdca543cd94da3aa2c2542b11b9188</id>
<content type='text'>
The at25 driver is using spi_dev_get() apparently just to take a copy
of the SPI device used to instantiate it but never calls spi_dev_put()
to free it.  Since the device is guaranteed to exist between probe() and
remove() there should be no need for the driver to take an extra
reference to it so fix the leak by just using a straight assignment.

Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>eeprom: at25: remove nvmem regmap dependency</title>
<updated>2016-05-01T21:01:00Z</updated>
<author>
<name>Srinivas Kandagatla</name>
</author>
<published>2016-04-24T19:28:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=01973a01f9ec34b706bf474dc4fb8c2bd9741d2b'/>
<id>urn:sha1:01973a01f9ec34b706bf474dc4fb8c2bd9741d2b</id>
<content type='text'>
This patch moves to nvmem support in the driver to use callback instead
of regmap.

Signed-off-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>
</author>
<published>2016-02-26T19:59:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>
</author>
<published>2016-02-26T19:59:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>
</feed>
