mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] eeprom: at25: support Cypress FRAMs without device ID
@ 2025-08-15  9:58 Markus Heidelberg
  2025-08-15  9:58 ` [PATCH v2 1/3] dt-bindings: eeprom: at25: use "size" for " Markus Heidelberg
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Markus Heidelberg @ 2025-08-15  9:58 UTC (permalink / raw)
  To: Arnd Bergmann, Greg Kroah-Hartman, devicetree
  Cc: Markus Heidelberg, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Christian Eggers, Alexander Sverdlin, Jiri Prchal,
	linux-kernel

Hello,

patch changelog:

v2:
  - Commit message extended to explain the reason of the change in the
    binding (patch 1)
  - Example added to the binding (patch 1)
  - Reviewed-by added to commit message (patches 2+3)

=======

Currently supported FRAMs use compatible="cypress,fm25","atmel,at25" in
Devicetree, the memory size is read from its device ID.
For FRAMs without device ID this is not possible, so with these patches
the "size" property can be set manually as it is done for EEPROMs. In
that case the device ID is not read anymore.

This patch series is basically the same as the one marked as RFC four
months ago:

  https://lore.kernel.org/all/20250401133148.38330-1-m.heidelberg@cab.de/

Based on v6.17-rc1 now and extended by a comment to the at25 binding.

Markus Heidelberg (3):
  dt-bindings: eeprom: at25: use "size" for FRAMs without device ID
  eeprom: at25: support Cypress FRAMs without device ID
  eeprom: at25: make FRAM device ID error message more precise

 .../devicetree/bindings/eeprom/at25.yaml      |  8 +++
 drivers/misc/eeprom/at25.c                    | 67 ++++++++++---------
 2 files changed, 44 insertions(+), 31 deletions(-)


base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
-- 
2.43.0


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

end of thread, other threads:[~2025-08-20 21:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-15  9:58 [PATCH v2 0/3] eeprom: at25: support Cypress FRAMs without device ID Markus Heidelberg
2025-08-15  9:58 ` [PATCH v2 1/3] dt-bindings: eeprom: at25: use "size" for " Markus Heidelberg
2025-08-20 21:04   ` Rob Herring (Arm)
2025-08-15  9:58 ` [PATCH v2 2/3] eeprom: at25: support Cypress " Markus Heidelberg
2025-08-15  9:58 ` [PATCH v2 3/3] eeprom: at25: make FRAM device ID error message more precise Markus Heidelberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®