Using Linux eeprom (at24) driver from another driver -


we have 24xx eeprom on our custom board; it’s hooked device tree , can read/write userspace. i’m developing driver control misc gpio’s, , i’d able read eeprom. (the contents won’t changing @ – it’ll write-protected).

i’m struggling figure out whether/how driver can hook at24 driver somehow? (perhaps “if (chip.setup) chip.setup(&at24->macc, chip.context)”, can’t spot how use this)

or other ‘best’ methods there might chip driver. (kernel 4.4)


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -