i.MX8 I2C sample driver for KSZ9567 ethernet switch

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8 I2C sample driver for KSZ9567 ethernet switch

807 Views
srikanth_vemula
Contributor II

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.

Tags (2)
0 Kudos
1 Reply

783 Views
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos