linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: "linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Subject: Getting gpios from user space based on gpio-line-names
Date: Mon, 3 Jul 2017 15:01:26 +0200	[thread overview]
Message-ID: <6fc9ba3b-982c-d17d-3d5f-16b486f3ca5a@monstr.eu> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 659 bytes --]

Hi,

I am trying to find some docs about how to ask for gpio line
based on gpio-line-names in DT. I see line names available via debugfs
which is not suitable for production.
And also I didn't find a way how to ask for gpio Linux number from user
space to start to work with them.
This is for gpio mraa integration which depends on Linux gpio line numbers.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2017-07-03 13:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-03 13:01 Michal Simek [this message]
2017-07-03 13:06 ` Getting gpios from user space based on gpio-line-names Bartosz Golaszewski
2017-07-04 10:57   ` Michal Simek
2017-07-09  7:59 ` Linus Walleij
2017-07-10  6:45   ` Michal Simek

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=6fc9ba3b-982c-d17d-3d5f-16b486f3ca5a@monstr.eu \
    --to=monstr@monstr.eu \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.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).