I am currently working on a project that requires configuring the am335x I2C1 bus as an I2C slave (SMBUS slave) and establishing communication with an SMBUS master. However, after exploring the TI am335x Linux SDK, I discovered that it primarily supports master mode for the I2C interface. As I am new to Linux driver development, I am seeking guidance on where to begin or any helpful resources you might recommend.
https://github.com/enndubyu/omap_i2c_slave do you have any information regarding this code change?
Additionally, I have a question regarding the configuration of the I2C slave address in the device tree. Typically, in the device tree, we specify the slave device's address. However, in this scenario, the am335x itself functions as a slave. How would I configure the slave addressing in the Linux environment?
I would greatly appreciate any insights or pointers you could provide to assist me in navigating this process.
Thank you in advance for your time and assistance.
Warm regards,
Paul Jins