linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: noman pouigt <variksla@gmail.com>
To: linus.walleij@linaro.org, linux-kernel@vger.kernel.org
Subject: Pinctrl hogging
Date: Thu, 21 Jul 2016 09:21:35 -0700	[thread overview]
Message-ID: <CAES_P+8mP6kOokwVcmtzyHsWRByJyaK=YynPa7vfYsvHD1k6Bw@mail.gmail.com> (raw)

Kernel version: 3.10

Is there any way to configure default settings for some of the gpios
eventhough there is no one driving them? I am also trying to configure
some of the gpios as irq lines using just the device tree without
writing any device driver for it as it will be used by userspace.

I looked into the existing kernel code in 3.10 kernel and couldn't
find out any reliable way to do that? I did find out some pinctrl
hogging patches but that is part of latest kernel.

Just to workaround this problem I have created a dummy driver
specifically for this purpose. Is there any better way?

Thanks,

             reply	other threads:[~2016-07-21 16:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-21 16:21 noman pouigt [this message]
2016-07-28 16:12 ` Pinctrl hogging Linus Walleij

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='CAES_P+8mP6kOokwVcmtzyHsWRByJyaK=YynPa7vfYsvHD1k6Bw@mail.gmail.com' \
    --to=variksla@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@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).