05-14-2013 01:24 AM
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?
05-15-2013 12:33 PM
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.
05-15-2013 12:58 PM
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.