Message ID | 20190205135934.18841-1-brgl@bgdev.pl |
---|---|
Headers | show |
Series | eeprom: at24: new property | expand |
wt., 5 lut 2019 o 15:00 Bartosz Golaszewski <brgl@bgdev.pl> napisał(a): > > From: Bartosz Golaszewski <bgolaszewski@baylibre.com> > > Microchip 24aa02t EEPROM is compatible with Atmel 24c02 except that > it's visible on 8 i2c slave addresses. We already support such a > use case with hard-coded config for 'atmel,24c00'. Let's add a more > flexible device tree property - 'num-addresses' - to the binding > document and support it in the driver. > > Bartosz Golaszewski (2): > dt-bindings: at24: add the 'num-addresses' property > eeprom: at24: implement support for 'num-addresses' property > > Documentation/devicetree/bindings/eeprom/at24.txt | 3 +++ > drivers/misc/eeprom/at24.c | 13 ++++++++----- > 2 files changed, 11 insertions(+), 5 deletions(-) > > -- > 2.20.1 > If there are no objections, I will apply these in 2 days and include them in the PR for v5.1. Bart
On Tue, Feb 12, 2019 at 03:12:05PM +0100, Bartosz Golaszewski wrote: > wt., 5 lut 2019 o 15:00 Bartosz Golaszewski <brgl@bgdev.pl> napisał(a): > > > > From: Bartosz Golaszewski <bgolaszewski@baylibre.com> > > > > Microchip 24aa02t EEPROM is compatible with Atmel 24c02 except that > > it's visible on 8 i2c slave addresses. We already support such a > > use case with hard-coded config for 'atmel,24c00'. Let's add a more > > flexible device tree property - 'num-addresses' - to the binding > > document and support it in the driver. > > > > Bartosz Golaszewski (2): > > dt-bindings: at24: add the 'num-addresses' property > > eeprom: at24: implement support for 'num-addresses' property > > > > Documentation/devicetree/bindings/eeprom/at24.txt | 3 +++ > > drivers/misc/eeprom/at24.c | 13 ++++++++----- > > 2 files changed, 11 insertions(+), 5 deletions(-) > > > > -- > > 2.20.1 > > > > If there are no objections, I will apply these in 2 days and include > them in the PR for v5.1. No objections from me: Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
From: Bartosz Golaszewski <bgolaszewski@baylibre.com> Microchip 24aa02t EEPROM is compatible with Atmel 24c02 except that it's visible on 8 i2c slave addresses. We already support such a use case with hard-coded config for 'atmel,24c00'. Let's add a more flexible device tree property - 'num-addresses' - to the binding document and support it in the driver. Bartosz Golaszewski (2): dt-bindings: at24: add the 'num-addresses' property eeprom: at24: implement support for 'num-addresses' property Documentation/devicetree/bindings/eeprom/at24.txt | 3 +++ drivers/misc/eeprom/at24.c | 13 ++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-)