[PATCH 0/3] eeprom: at25: Add DT support for 25lc040

From: Geert Uytterhoeven
Date: Thu Nov 30 2017 - 08:30:47 EST


Hi all,

Some "atmel,at25" compatible SPI EEPROMs (e.g. Microchip 25lc040) use an
odd number of address bits. This patch series adds support for
instantiating such devices from DT.

Do EEPROMs using 17 or 25 address bits, as mentioned in
include/linux/spi/eeprom.h, really exist?
Or should we just limit it to a single odd value (9 bits)?

This has been tested with a bunch of 25lc040 EEPROMs.

Thanks!

Geert Uytterhoeven (3):
eeprom: at25: Add DT support for EEPROMs with odd address bits
dt-bindings: eeprom: at25: Grammar s/are can/can/
dt-bindings: eeprom: at25: Document device-specific compatible values

Documentation/devicetree/bindings/eeprom/at25.txt | 17 ++++++++++++-----
drivers/misc/eeprom/at25.c | 4 ++++
2 files changed, 16 insertions(+), 5 deletions(-)

--
2.7.4

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds