I'm writing a linux driver for a custom RF board. The RF board have an EEPROM contain some information and I want to load this information to my driver. Linux kernel already has EEPROM module, this module read all memory of the EEPROM and export to userspace by sysfs.
Can I read this sysfs to get EEPROM's memory? If not, how can I get this information? Thank you.