Article 51RB5 I2C slave mode for LS1012a NXP board

I2C slave mode for LS1012a NXP board

by
novitoll
from LinuxQuestions.org on (#51RB5)
Guys, I have a NXP LS1012a board (https://www.nxp.com/docs/en/referenc...-LS1012ARM.pdf), and my goal is to use it as I2C slave.

I want to have SoC-to-SoC communication via I2C, the other SoC will be Rpi3 (for the time being). Both of them are 3V3.

I was able to transfer data from LS1012a to Rpi3 as master-to-slave, but I want vice-versa.

Question: Could you please explain my steps what I need to do in order to make LS1012a work as a slave? There is the option with bit-banging GPIO pins from the userspace, but I Want to have it as a Kernel module.

I asked a similar question in NXP forum, they referred me to this - https://community.nxp.com/thread/340162. I didnt find it much helpful, it has a part of custom driver code. But i thought that I should've re-used this driver code, same is used for I2C master mode for this board (https://github.com/torvalds/linux/bl...sses/i2c-imx.c).

If I should ask linux-i2c maintainers, then please let me know their addresses because this guy does not answer, wsa@sang-engineering.com.

Thankslatest?d=yIl2AUoC8zA latest?i=nPHQ9cA-w8k:pcDg-2HJGUA:F7zBnMy latest?i=nPHQ9cA-w8k:pcDg-2HJGUA:V_sGLiP latest?d=qj6IDK7rITs latest?i=nPHQ9cA-w8k:pcDg-2HJGUA:gIN9vFwnPHQ9cA-w8k
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments