linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] eeprom: at24: switch driver to regmap_i2c
@ 2017-11-16 20:16 Heiner Kallweit
  2017-11-16 20:25 ` [PATCH v2 1/7] eeprom: at24: add basic regmap_i2c support Heiner Kallweit
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Heiner Kallweit @ 2017-11-16 20:16 UTC (permalink / raw)
  To: Bartosz Golaszewski; +Cc: linux-i2c@vger.kernel.org

Using regmap_i2c allows us to get rid of dealing with the low-level
differences between I2C and SMBUS. As a result the code can be
simplified a lot.

This patchset was successfully tested with a 24C32 on a I2C adapter.

The patchset was submitted first in Aug 2017 and was sitting in
the review queue until now. Resubmitted version is rebased due to
recent changes to at24.

Heiner Kallweit (7):
  eeprom: at24: add basic regmap_i2c support
  eeprom: at24: change at24_translate_offset return type
  eeprom: at24: add regmap-based write function
  eeprom: at24: remove old write functions
  eeprom: at24: add regmap-based read functions
  eeprom: at24: remove old read functions
  eeprom: at24: remove now unneeded smbus-related code

 drivers/misc/eeprom/Kconfig |   1 +
 drivers/misc/eeprom/at24.c  | 385 +++++++++-----------------------------------
 2 files changed, 79 insertions(+), 307 deletions(-)

-- 
2.15.0

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

end of thread, other threads:[~2017-11-21 19:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-16 20:16 [PATCH 0/7] eeprom: at24: switch driver to regmap_i2c Heiner Kallweit
2017-11-16 20:25 ` [PATCH v2 1/7] eeprom: at24: add basic regmap_i2c support Heiner Kallweit
2017-11-16 20:26 ` [PATCH v2 2/7] eeprom: at24: change at24_translate_offset return type Heiner Kallweit
2017-11-21 10:00   ` Bartosz Golaszewski
2017-11-16 20:26 ` [PATCH v2 3/7] eeprom: at24: add regmap-based write function Heiner Kallweit
2017-11-21 10:07   ` Bartosz Golaszewski
2017-11-16 20:26 ` [PATCH v2 4/7] eeprom: at24: remove old write functions Heiner Kallweit
2017-11-16 20:26 ` [PATCH v2 5/7] eeprom: at24: add regmap-based read functions Heiner Kallweit
2017-11-21 10:10   ` Bartosz Golaszewski
2017-11-16 20:26 ` [PATCH v2 6/7] eeprom: at24: eeprom: at24: remove old " Heiner Kallweit
2017-11-16 20:27 ` [PATCH v2 7/7] eeprom: at24: remove now unneeded smbus-related code Heiner Kallweit
2017-11-21 10:14 ` [PATCH 0/7] eeprom: at24: switch driver to regmap_i2c Bartosz Golaszewski
2017-11-21 19:20   ` Heiner Kallweit

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).