kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Controlling the same I2C device from user and kernel space
@ 2024-03-26  9:52 Patryk
  2024-03-26 10:00 ` Patryk
  0 siblings, 1 reply; 2+ messages in thread
From: Patryk @ 2024-03-26  9:52 UTC (permalink / raw)
  To: kernelnewbies

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
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Controlling the same I2C device from user and kernel space
  2024-03-26  9:52 Controlling the same I2C device from user and kernel space Patryk
@ 2024-03-26 10:00 ` Patryk
  0 siblings, 0 replies; 2+ messages in thread
From: Patryk @ 2024-03-26 10:00 UTC (permalink / raw)
  To: kernelnewbies

Hi again, a small correction
> part) using spidev driver and still be able to develop a kernel driver
Of course, I meant i2c-dev, not spidev...

Best regards
Patryk

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-26 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-26  9:52 Controlling the same I2C device from user and kernel space Patryk
2024-03-26 10:00 ` Patryk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).