devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] eeprom: at25: Add DT support for 25lc040
@ 2017-11-30 13:29 Geert Uytterhoeven
  2017-11-30 13:29 ` [PATCH 1/3] eeprom: at25: Add DT support for EEPROMs with odd address bits Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Geert Uytterhoeven @ 2017-11-30 13:29 UTC (permalink / raw)
  To: Arnd Bergmann, Greg Kroah-Hartman, Rob Herring, Mark Rutland,
	Ivo Sieben
  Cc: Chris Wright, Wolfram Sang, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Geert Uytterhoeven

	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-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org

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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-12-06 21:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-30 13:29 [PATCH 0/3] eeprom: at25: Add DT support for 25lc040 Geert Uytterhoeven
2017-11-30 13:29 ` [PATCH 1/3] eeprom: at25: Add DT support for EEPROMs with odd address bits Geert Uytterhoeven
2017-12-04  9:17   ` Geert Uytterhoeven
2017-12-04 21:17     ` Rob Herring
2017-12-05  8:57       ` Geert Uytterhoeven
     [not found]         ` <CAMuHMdUDPFhSwkHg2wm7yCNAfdUP8wAR9OXxbcu6SDhtZqe2+A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-12-05  9:09           ` Geert Uytterhoeven
2017-12-05 13:56             ` Rob Herring
2017-12-05 14:01               ` Geert Uytterhoeven
     [not found]     ` <CAMuHMdWczQ0KiH7soGLKxX8CQEwxA=kVDc_saYqgytE2U_3WKw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-12-04 22:00       ` Ivo Sieben
2017-12-05  8:59         ` Geert Uytterhoeven
     [not found] ` <1512048586-17534-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2017-11-30 13:29   ` [PATCH 2/3] dt-bindings: eeprom: at25: Grammar s/are can/can/ Geert Uytterhoeven
2017-12-04 21:22   ` [PATCH 0/3] eeprom: at25: Add DT support for 25lc040 Rob Herring
2017-12-05  9:04     ` Geert Uytterhoeven
2017-12-06 21:12       ` Rob Herring
2017-11-30 13:29 ` [PATCH 3/3] dt-bindings: eeprom: at25: Document device-specific compatible values Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).