This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62P-LP: I2C0 operation for EEPROM(at24c512c)

Part Number: SK-AM62P-LP

Tool/software:

I am working for board Id eeprom(at24c512c) connected at i2c0 in AM62P-LP EVM.
** I had added eeprom@51 in dts file, built was done successfully.
I am able to see my module at ls /sys/bus/i2c/devices
=> 0-0051

but while checking for at24 driver at location
ls /sys/i2c/drivers/
unable to find.

Kindly suggest what all steps to be followed to load a driver for at24 and
from where i can get driver for at24.
Seek your support.

  • Hello Pranjal,

    Please attach your updates to the Linux devicetree file.

    Note that we do not support that particular at24 driver, since we have not developed or tested it. But you can find the driver documentation here:
    Documentation/devicetree/bindings/eeprom/at24.yaml

    Regards,

    Nick

  • Hello Nick,

    Below are the few steps which i had followed,

    1. We had added the eeprom i.e at24 under (&main_i2c0) in file  k3-am62p5-sk.dts  at location /09_02_00/ti-kernel-aosp/common/arch/arm64/boot/dts/ti/

    2. In menuconfig also, we had done y to eeprom.

    3. Then after build we had flashed the image.

    But we are unable to use  i2c get/set/dump commands. 

    Kindly suggest what all steps to be followed to get access for eeprom(at24) connected at i2c0.

  • Hello Pranjal,

    Specifically what changes did you make to the dts file? What changes did you make to the kernel config? Did you search the kernel config file generated by the menuconfig for any settings related to at24?

    Again, we are going to be limited in the support we can offer here. I can answer questions about TI software or TI hardware, but I cannot answer a question like "how do I get this EEPROM to work with a Linux processor (where neither the EEPROM hardware, nor the EEPROM software, are owned by TI)".

    Regards,

    Nick