Changelog v3: - Get rid of dev_*_idt() macros - Replace to_pdev_kobj() macro with naked dev_get_drvdata() call - Return naked 0 instead of SUCCESS macro - IDT CSR debug file is moved to debugfs - BIN_ATTR_RW is used to declare sysfs binary attribute - Moved bindings file to a separate patch - Need to create a specific bin_attribute structure for each device - Perform a few read retries with delays if EEPROM is busy
Signed-off-by: Serge Semin <fancer.lan...@gmail.com> Serge Semin (2): eeprom: Add IDT 89HPESx EEPROM/CSR driver eeprom: Add IDT 89HPESx driver dts-binding file .../devicetree/bindings/misc/idt_89hpesx.txt | 41 + drivers/misc/eeprom/Kconfig | 10 + drivers/misc/eeprom/Makefile | 1 + drivers/misc/eeprom/idt_89hpesx.c | 1574 ++++++++++++++++++++ 4 files changed, 1626 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/idt_89hpesx.txt create mode 100644 drivers/misc/eeprom/idt_89hpesx.c -- 2.6.6