cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Scholar
Scholar
3,090 Views
Registered: ‎10-26-2012

Why is the I2C hardware being ignored on the Zynq?

There are two I2C controllers implemented in hardware in the Zynq. But the current Linux kernels all configure two pins as GPIO and bitbang them to emulate an I2C bus.

 

Why is that?

0 Kudos
2 Replies
Highlighted
Scholar
Scholar
3,059 Views
Registered: ‎05-28-2012

The kernels at the Xilinx GIT appear to do not use GPIO bit bang. The default config define CONFIG_I2C_XILINX_PS=y which in turns brings in  drivers/i2c/busses/i2c-xilinx_ps.c. I vaguely remember testing this on14.1. Should work.

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
3,053 Views
Registered: ‎11-12-2007

I'm not sure which Linux kernel source you're using, but the Linux kernels on our Git tree all enable the Zynq I2C hard controllers in the default configuration.

0 Kudos