Following changes are made in accordance with Greg KH notes as well as fixing some found issues: - Get rid of dev_*_idt() macros - IDT CSR debug file is moved to debugfs - BIN_ATTR 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): MISC eeprom: Add IDT 89HPESx EEPROM/CSR driver MISC eeprom: Add IDT 89HPESx driver bindings file .../devicetree/bindings/misc/idt_89hpesx.txt | 41 + drivers/misc/eeprom/Kconfig | 10 + drivers/misc/eeprom/Makefile | 1 + drivers/misc/eeprom/idt_89hpesx.c | 1577 ++++++++++++++++++++ 4 files changed, 1629 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/idt_89hpesx.txt create mode 100644 drivers/misc/eeprom/idt_89hpesx.c -- 2.6.6