[PATCH v2 0/3] eeprom: at25: support Cypress FRAMs without device ID

Markus Heidelberg posted 3 patches 1 month, 2 weeks ago
.../devicetree/bindings/eeprom/at25.yaml      |  8 +++
drivers/misc/eeprom/at25.c                    | 67 ++++++++++---------
2 files changed, 44 insertions(+), 31 deletions(-)
[PATCH v2 0/3] eeprom: at25: support Cypress FRAMs without device ID
Posted by Markus Heidelberg 1 month, 2 weeks ago
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