Hi,
I'm using i.MX8 processor's I2C master to interface with KSZ9567 ethernet switch (slave). I've gone through the datasheets of both the MCU as well as the ethernet switch and got good understanding over the functionality of the chip and the available registers. Developing the code from the scratch takes lot of time and exceeds our project timeline.
Considering the timeline, request you to provide some reference points/ sample linux code, which would be helpful for me in developing the i2c driver for controlling the ethernet switch.
Regards,
Srikanth Vemula.
Hi Srikanth
one can look at i2c-imx-lpi2c driver
i2c-imx-lpi2c.c\busses\i2c\drivers - linux-imx - i.MX Linux kernel
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------