Kernel Newbies archive mirror
 help / color / mirror / Atom feed
From: Patryk <pbiel7@gmail.com>
To: kernelnewbies@kernelnewbies.org
Subject: Controlling the same I2C device from user and kernel space
Date: Tue, 26 Mar 2024 10:52:05 +0100	[thread overview]
Message-ID: <CA+DkFDbdbSOrPv+WF2ofRS5_pfKCsPWvJe5BbXadGOKBBy8HkQ@mail.gmail.com> (raw)

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

             reply	other threads:[~2024-03-26  9:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-26  9:52 Patryk [this message]
2024-03-26 10:00 ` Controlling the same I2C device from user and kernel space Patryk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+DkFDbdbSOrPv+WF2ofRS5_pfKCsPWvJe5BbXadGOKBBy8HkQ@mail.gmail.com \
    --to=pbiel7@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).