Controlling the same I2C device from user and kernel space

Patryk <[email protected]>
Newsgroups org.kernelnewbies.kernelnewbies
Message-ID <CA+DkFDbdbSOrPv+WF2ofRS5_pfKCsPWvJe5BbXadGOKBBy8HkQ@mail.gmail.com>
Hi, I've got a question. I have an I2C device (FPGA) connected to my
board. This device implements a hardware watchdog and GPIO expander.
My question is - can I control this device from userspace (watchdog
part) using spidev driver and still be able to develop a kernel driver
that controls GPIO expander part without any additional locking
mechanisms?

Best regards
Patryk

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.