Re: [PATCH 0/3] eeprom: at25: Add DT support for 25lc040
From: Rob Herring
Date: Mon Dec 04 2017 - 16:22:24 EST
On Thu, Nov 30, 2017 at 02:29:43PM +0100, Geert Uytterhoeven wrote:
> 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
2 and 3 are fixes and I'll apply for 4.15 if you don't mind.
Rob
>
> Documentation/devicetree/bindings/eeprom/at25.txt | 17 ++++++++++++-----
> drivers/misc/eeprom/at25.c | 4 ++++
> 2 files changed, 16 insertions(+), 5 deletions(-)