Re: [RESEND PATCH 0/9] eeprom: at24: at24cs series serial number read

2015-10-21 Thread Bartosz Golaszewski
2015-10-21 16:23 GMT+02:00 Peter Korsgaard <pe...@korsgaard.com>: >>>>>> "Bartosz" == Bartosz Golaszewski <bgolaszew...@baylibre.com> writes: > > >> As the serial number is available on a separate i2c address, wouldn't > >> it be s

Re: [RESEND PATCH 0/9] eeprom: at24: at24cs series serial number read

2015-10-21 Thread Bartosz Golaszewski
2015-10-21 13:03 GMT+02:00 Peter Korsgaard <pe...@korsgaard.com>: >>>>>> "Bartosz" == Bartosz Golaszewski <bgolaszew...@baylibre.com> writes: > > > Chips from the at24cs EEPROM series have an additional read-only memory > area > > c

[PATCH v2 9/9] eeprom: at24: readability tweaks

2015-10-27 Thread Bartosz Golaszewski
Move the macro definitions above the struct definitions and add some tabs for better readability. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/misc/

[PATCH v2 3/9] eeprom: at24: tie up an additional address for at24cs series

2015-10-27 Thread Bartosz Golaszewski
The at24cs series EEPROM chips have an additional read-only memory area, that is visible on a different i2c slave address. Tie it up with a dummy device. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 30 ++

[PATCH v2 5/9] eeprom: at24: export the serial number through sysfs

2015-10-27 Thread Bartosz Golaszewski
The at24 driver is now capable of reading the serial number from at24cs EEPROM chips. Export the serial number through sysfs. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 44 1 file chang

[PATCH v2 0/9] eeprom: at24: at24cs series serial number read

2015-10-27 Thread Bartosz Golaszewski
attribute. While we're at it: some of the patches contain readability tweaks and code organization fixes. Tested with at24cs64 and at24cs02 chips (for both 16 and 8 bit address pointers). v2: - protect the serial number read with a mutex v1: https://lkml.org/lkml/2015/10/20/162 Bartosz Golaszewski

[PATCH v2 2/9] eeprom: at24: new flag in platform_data

2015-10-27 Thread Bartosz Golaszewski
In preparation for supporting the at24cs EEPROM series add a new flag to platform data. When set, it should tell the driver that the chip has an additional read-only memory area that holds a factory pre-programmed serial number. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.

[PATCH v2 4/9] eeprom: at24: support reading of the serial number

2015-10-27 Thread Bartosz Golaszewski
-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 71 ++ 1 file changed, 71 insertions(+) diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c index 3a75a52..442aac7 100644 --- a/drivers/misc/eeprom/at24.c

[PATCH v2 7/9] eeprom: at24: add the at24cs series to the list of supported devices

2015-10-27 Thread Bartosz Golaszewski
The infrastructure for reading of the factory-programmed serial number for at24cs EEPROM series is now in place. Add the chips that are actually equipped with the serial number memory area to the list of supported devices. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.

[PATCH v2 1/9] eeprom: at24: platform_data: use BIT() macro

2015-10-27 Thread Bartosz Golaszewski
Use BIT() macro to replace the 0xXX constants in platform_data flags definitions. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- include/linux/platform_data/at24.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/platform_data/

[PATCH v2 6/9] eeprom: at24: improve the device_id table readability

2015-10-27 Thread Bartosz Golaszewski
Improve the readability of the device table by separating columns with tabs. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/misc/eeprom/

[PATCH v2 8/9] eeprom: at24: remove a reduntant if

2015-10-27 Thread Bartosz Golaszewski
It seems as if the second check for I2C_FUNC_I2C functionality had been introduced accidentally during a merge. Tt's reduntant, so remove it. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 3 --- 1 file changed, 3 deletions(-) diff

[RESEND PATCH 5/9] eeprom: at24: export the serial number through sysfs

2015-10-20 Thread Bartosz Golaszewski
The at24 driver is now capable of reading the serial number from at24cs EEPROM chips. Export the serial number through sysfs. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 44 1 file chang

[RESEND PATCH 6/9] eeprom: at24: improve the device_id table readability

2015-10-20 Thread Bartosz Golaszewski
Improve the readability of the device table by separating columns with tabs. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/misc/eeprom/

[RESEND PATCH 9/9] eeprom: at24: readability tweaks

2015-10-20 Thread Bartosz Golaszewski
Move the macro definitions above the struct definitions and add some tabs for better readability. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/misc/

[RESEND PATCH 7/9] eeprom: at24: add the at24cs series to the list of supported devices

2015-10-20 Thread Bartosz Golaszewski
The infrastructure for reading of the factory-programmed serial number for at24cs EEPROM series is now in place. Add the chips that are actually equipped with the serial number memory area to the list of supported devices. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.

[RESEND PATCH 8/9] eeprom: at24: remove a reduntant if

2015-10-20 Thread Bartosz Golaszewski
It seems as if the second check for I2C_FUNC_I2C functionality had been introduced accidentally during a merge. Tt's reduntant, so remove it. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 3 --- 1 file changed, 3 deletions(-) diff

[RESEND PATCH 1/9] eeprom: at24: platform_data: use BIT() macro

2015-10-20 Thread Bartosz Golaszewski
Use BIT() macro to replace the 0xXX constants in platform_data flags definitions. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- include/linux/platform_data/at24.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/platform_data/

[RESEND PATCH 0/9] eeprom: at24: at24cs series serial number read

2015-10-20 Thread Bartosz Golaszewski
attribute. While we're at it: some of the patches contain readability tweaks and code organization fixes. Tested with at24cs64 and at24cs02 chips (for both 16 and 8 bit address pointers). Bartosz Golaszewski (9): eeprom: at24: platform_data: use BIT() macro eeprom: at24: new flag in platform_data

[RESEND PATCH 3/9] eeprom: at24: tie up an additional address for at24cs series

2015-10-20 Thread Bartosz Golaszewski
The at24cs series EEPROM chips have an additional read-only memory area, that is visible on a different i2c slave address. Tie it up with a dummy device. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 30 ++

[RESEND PATCH 4/9] eeprom: at24: support reading of the serial number

2015-10-20 Thread Bartosz Golaszewski
-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 65 ++ 1 file changed, 65 insertions(+) diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c index 3a75a52..4d4a793 100644 --- a/drivers/misc/eeprom/at24.c

[RESEND PATCH 2/9] eeprom: at24: new flag in platform_data

2015-10-20 Thread Bartosz Golaszewski
In preparation for supporting the at24cs EEPROM series add a new flag to platform data. When set, it should tell the driver that the chip has an additional read-only memory area that holds a factory pre-programmed serial number. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.

[PATCH 8/9] eeprom: at24: remove a reduntant if

2015-10-12 Thread Bartosz Golaszewski
It seems as if the second check for I2C_FUNC_I2C functionality had been introduced accidentally during a merge. Tt's reduntant, so remove it. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 3 --- 1 file changed, 3 deletions(-) diff

[PATCH 2/9] eeprom: at24: new flag in platform_data

2015-10-12 Thread Bartosz Golaszewski
In preparation for supporting the at24cs EEPROM series add a new flag to platform data. When set, it should tell the driver that the chip has an additional read-only memory area that holds a factory pre-programmed serial number. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.

[PATCH 6/9] eeprom: at24: improve the device_id table readability

2015-10-12 Thread Bartosz Golaszewski
Improve the readability of the device table by separating columns with tabs. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/misc/eeprom/

[PATCH 9/9] eeprom: at24: readability tweaks

2015-10-12 Thread Bartosz Golaszewski
Move the macro definitions above the struct definitions and add some tabs for better readability. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/misc/

[PATCH 7/9] eeprom: at24: add the at24cs series to the list of supported devices

2015-10-12 Thread Bartosz Golaszewski
The infrastructure for reading of the factory-programmed serial number for at24cs EEPROM series is now in place. Add the chips that are actually equipped with the serial number memory area to the list of supported devices. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.

[PATCH 0/9] eeprom: at24: at24cs series serial number read

2015-10-12 Thread Bartosz Golaszewski
attribute. While we're at it: some of the patches contain readability tweaks and code organization fixes. Tested with at24cs64 and at24cs02 chips (for both 16 and 8 bit address pointers). Bartosz Golaszewski (9): eeprom: at24: platform_data: use BIT() macro eeprom: at24: new flag in platform_data

[RESEND PATCH v2 1/9] eeprom: at24: platform_data: use BIT() macro

2015-11-17 Thread Bartosz Golaszewski
Use BIT() macro to replace the 0xXX constants in platform_data flags definitions. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- include/linux/platform_data/at24.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/platform_data/

[RESEND PATCH v2 7/9] eeprom: at24: add the at24cs series to the list of supported devices

2015-11-17 Thread Bartosz Golaszewski
The infrastructure for reading of the factory-programmed serial number for at24cs EEPROM series is now in place. Add the chips that are actually equipped with the serial number memory area to the list of supported devices. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.

[RESEND PATCH v2 8/9] eeprom: at24: remove a reduntant if

2015-11-17 Thread Bartosz Golaszewski
It seems as if the second check for I2C_FUNC_I2C functionality had been introduced accidentally during a merge. Tt's reduntant, so remove it. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 3 --- 1 file changed, 3 deletions(-) diff

[RESEND PATCH v2 9/9] eeprom: at24: readability tweaks

2015-11-17 Thread Bartosz Golaszewski
Move the macro definitions above the struct definitions and add some tabs for better readability. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/misc/

[RESEND PATCH v2 5/9] eeprom: at24: export the serial number through sysfs

2015-11-17 Thread Bartosz Golaszewski
The at24 driver is now capable of reading the serial number from at24cs EEPROM chips. Export the serial number through sysfs. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 44 1 file chang

[RESEND PATCH v2 3/9] eeprom: at24: tie up an additional address for at24cs series

2015-11-17 Thread Bartosz Golaszewski
The at24cs series EEPROM chips have an additional read-only memory area, that is visible on a different i2c slave address. Tie it up with a dummy device. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 30 ++

[RESEND PATCH v2 4/9] eeprom: at24: support reading of the serial number

2015-11-17 Thread Bartosz Golaszewski
-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 71 ++ 1 file changed, 71 insertions(+) diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c index 08cc327..6182f47 100644 --- a/drivers/misc/eeprom/at24.c

[RESEND PATCH v2 6/9] eeprom: at24: improve the device_id table readability

2015-11-17 Thread Bartosz Golaszewski
Improve the readability of the device table by separating columns with tabs. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/misc/eeprom/

[RESEND PATCH v2 0/9] eeprom: at24: at24cs series serial number read

2015-11-17 Thread Bartosz Golaszewski
/20/162 Bartosz Golaszewski (9): eeprom: at24: platform_data: use BIT() macro eeprom: at24: new flag in platform_data eeprom: at24: tie up an additional address for at24cs series eeprom: at24: support reading of the serial number eeprom: at24: export the serial number through sysfs eeprom

[RESEND PATCH v2 2/9] eeprom: at24: new flag in platform_data

2015-11-17 Thread Bartosz Golaszewski
In preparation for supporting the at24cs EEPROM series add a new flag to platform data. When set, it should tell the driver that the chip has an additional read-only memory area that holds a factory pre-programmed serial number. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.

Re: [PATCH] i2c: nvmem: at24: Provide an EEPROM framework interface

2015-09-17 Thread Bartosz Golaszewski
2015-09-17 16:55 GMT+02:00 Pantelis Antoniou <pantelis.anton...@konsulko.com>: > Hi Bartosz, > >> On Sep 17, 2015, at 17:42 , Bartosz Golaszewski <bgolaszew...@baylibre.com> >> wrote: >> >> 2015-09-16 18:11 GMT+02:00 Pantelis Antoniou >> <pantel

[RESEND PATCH v2 7/9] eeprom: at24: add the at24cs series to the list of supported devices

2015-12-02 Thread Bartosz Golaszewski
The infrastructure for reading of the factory-programmed serial number for at24cs EEPROM series is now in place. Add the chips that are actually equipped with the serial number memory area to the list of supported devices. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.

[RESEND PATCH v2 6/9] eeprom: at24: improve the device_id table readability

2015-12-02 Thread Bartosz Golaszewski
Improve the readability of the device table by separating columns with tabs. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/misc/eeprom/

[RESEND PATCH v2 5/9] eeprom: at24: export the serial number through sysfs

2015-12-02 Thread Bartosz Golaszewski
The at24 driver is now capable of reading the serial number from at24cs EEPROM chips. Export the serial number through sysfs. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 44 1 file chang

[RESEND PATCH v2 9/9] eeprom: at24: readability tweaks

2015-12-02 Thread Bartosz Golaszewski
Move the macro definitions above the struct definitions and add some tabs for better readability. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/misc/

[RESEND PATCH v2 8/9] eeprom: at24: remove a reduntant if

2015-12-02 Thread Bartosz Golaszewski
It seems as if the second check for I2C_FUNC_I2C functionality had been introduced accidentally during a merge. Tt's reduntant, so remove it. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 3 --- 1 file changed, 3 deletions(-) diff

[RESEND PATCH v2 3/9] eeprom: at24: tie up an additional address for at24cs series

2015-12-02 Thread Bartosz Golaszewski
The at24cs series EEPROM chips have an additional read-only memory area, that is visible on a different i2c slave address. Tie it up with a dummy device. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 30 ++

[RESEND PATCH v2 1/9] eeprom: at24: platform_data: use BIT() macro

2015-12-02 Thread Bartosz Golaszewski
Use BIT() macro to replace the 0xXX constants in platform_data flags definitions. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- include/linux/platform_data/at24.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/platform_data/

[RESEND PATCH v2 2/9] eeprom: at24: new flag in platform_data

2015-12-02 Thread Bartosz Golaszewski
In preparation for supporting the at24cs EEPROM series add a new flag to platform data. When set, it should tell the driver that the chip has an additional read-only memory area that holds a factory pre-programmed serial number. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.

Re: [RESEND PATCH v2 0/9] eeprom: at24: at24cs series serial number read

2015-12-11 Thread Bartosz Golaszewski
2015-12-11 13:08 GMT+01:00 Wolfram Sang <w...@the-dreams.de>: > On Wed, Dec 02, 2015 at 11:25:17AM +0100, Bartosz Golaszewski wrote: >> Chips from the at24cs EEPROM series have an additional read-only memory area >> containing a factory pre-programmed serial numbe

Re: [RESEND PATCH v2 0/9] eeprom: at24: at24cs series serial number read

2016-01-04 Thread Bartosz Golaszewski
2016-01-02 21:50 GMT+01:00 Wolfram Sang <w...@the-dreams.de>: > On Fri, Dec 11, 2015 at 02:55:10PM +0100, Bartosz Golaszewski wrote: >> 2015-12-11 13:08 GMT+01:00 Wolfram Sang <w...@the-dreams.de>: >> > On Wed, Dec 02, 2015 at 11:25:17AM +0100, Bartosz Golas

Re: [RESEND PATCH v2 0/9] eeprom: at24: at24cs series serial number read

2016-01-07 Thread Bartosz Golaszewski
2016-01-05 19:58 GMT+01:00 Wolfram Sang <w...@the-dreams.de>: > On Mon, Jan 04, 2016 at 03:01:54PM +0100, Bartosz Golaszewski wrote: >> 2016-01-02 21:50 GMT+01:00 Wolfram Sang <w...@the-dreams.de>: >> > On Fri, Dec 11, 2015 at 02:55:10PM +0100, Bartosz Golaszewski wro

Re: [RESEND PATCH v2 0/9] eeprom: at24: at24cs series serial number read

2015-12-21 Thread Bartosz Golaszewski
2015-12-11 14:55 GMT+01:00 Bartosz Golaszewski <bgolaszew...@baylibre.com>: > 2015-12-11 13:08 GMT+01:00 Wolfram Sang <w...@the-dreams.de>: >> On Wed, Dec 02, 2015 at 11:25:17AM +0100, Bartosz Golaszewski wrote: >>> Chips from the at24cs EEPROM series have an ad

[RESEND PATCH v2 8/9] eeprom: at24: remove a reduntant if

2015-11-24 Thread Bartosz Golaszewski
It seems as if the second check for I2C_FUNC_I2C functionality had been introduced accidentally during a merge. Tt's reduntant, so remove it. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 3 --- 1 file changed, 3 deletions(-) diff

[RESEND PATCH v2 7/9] eeprom: at24: add the at24cs series to the list of supported devices

2015-11-24 Thread Bartosz Golaszewski
The infrastructure for reading of the factory-programmed serial number for at24cs EEPROM series is now in place. Add the chips that are actually equipped with the serial number memory area to the list of supported devices. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.

[RESEND PATCH v2 9/9] eeprom: at24: readability tweaks

2015-11-24 Thread Bartosz Golaszewski
Move the macro definitions above the struct definitions and add some tabs for better readability. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/misc/

[RESEND PATCH v2 1/9] eeprom: at24: platform_data: use BIT() macro

2015-11-24 Thread Bartosz Golaszewski
Use BIT() macro to replace the 0xXX constants in platform_data flags definitions. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- include/linux/platform_data/at24.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/platform_data/

[RESEND PATCH v2 6/9] eeprom: at24: improve the device_id table readability

2015-11-24 Thread Bartosz Golaszewski
Improve the readability of the device table by separating columns with tabs. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/misc/eeprom/

[RESEND PATCH v2 5/9] eeprom: at24: export the serial number through sysfs

2015-11-24 Thread Bartosz Golaszewski
The at24 driver is now capable of reading the serial number from at24cs EEPROM chips. Export the serial number through sysfs. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 44 1 file chang

[RESEND PATCH v2 0/9] eeprom: at24: at24cs series serial number read

2015-11-24 Thread Bartosz Golaszewski
/20/162 Bartosz Golaszewski (9): eeprom: at24: platform_data: use BIT() macro eeprom: at24: new flag in platform_data eeprom: at24: tie up an additional address for at24cs series eeprom: at24: support reading of the serial number eeprom: at24: export the serial number through sysfs

[RESEND PATCH v2 4/9] eeprom: at24: support reading of the serial number

2015-11-24 Thread Bartosz Golaszewski
-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> --- drivers/misc/eeprom/at24.c | 71 ++ 1 file changed, 71 insertions(+) diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c index 08cc327..6182f47 100644 --- a/drivers/misc/eeprom/at24.c

[RESEND PATCH v2 2/9] eeprom: at24: new flag in platform_data

2015-11-24 Thread Bartosz Golaszewski
In preparation for supporting the at24cs EEPROM series add a new flag to platform data. When set, it should tell the driver that the chip has an additional read-only memory area that holds a factory pre-programmed serial number. Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.