From: Laurence Rochfort <laurence.rochfort@gmail.com>
To: kernelnewbies@kernelnewbies.org
Cc: Laurence Rochfort <laurence.rochfort@gmail.com>
Subject: Userspace configurable GPIO pinout
Date: Mon, 28 Jan 2019 13:26:55 +0000 [thread overview]
Message-ID: <CAMof6LALHJCuum-FPYArpGoKeSub91_oyPNc9fkpEgXyMJHsTQ@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 569 bytes --]
Hi all,
I'm writing a driver for an ePaper display, that will attach via GPIO.
I've read the docs in Documentation/GPIO, and
Documentation/devicetree/bindings/gpio.
The ePaper itself just has a 34pin flat-flex cable, so people will have to
use an adapter board to convert to the GPIO headers for a given system.
I'd appreciate advice on the best/canonical way to allow userspace to
configure the pinout. I read the devicetree docs, but my interpretation was
that was more for a somewhat static configuration to be provided by device
vendors.
Many thanks,
Laurence
[-- Attachment #1.2: Type: text/html, Size: 769 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
next reply other threads:[~2019-01-28 13:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-28 13:26 Laurence Rochfort [this message]
2019-01-28 21:05 ` Userspace configurable GPIO pinout valdis.kletnieks
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=CAMof6LALHJCuum-FPYArpGoKeSub91_oyPNc9fkpEgXyMJHsTQ@mail.gmail.com \
--to=laurence.rochfort@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 NNTP newsgroup(s).