Hi Ramesh
some examples of i2c eeprom drivers can be found on
eeprom\misc\drivers - linux-imx - i.MX Linux kernel
at24c dts example
imx6q-h100.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel
In general one can look also at examples with spi interface described in Chapter 31 SPI NOR Flash Memory Technology
Device (MTD) Driver attached Linux Manual and Chapter 5 Configuring the SPI NOR Porting Guide.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------