linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jiří Prchal" <jiri.prchal@aksignal.cz>
To: linus.walleij@linaro.org, gnurou@gmail.com, linux-gpio@vger.kernel.org
Cc: "plagnioj@jcrosoft.com >> Jean-Christophe Plagniol-Villard"
	<plagnioj@jcrosoft.com>
Subject: [PROBLEM] gpio: hog: requesting hog failed
Date: Thu, 8 Oct 2015 14:29:47 +0200	[thread overview]
Message-ID: <561661BB.70207@aksignal.cz> (raw)

Hi everybody,
I've just tried new gpio hog functionality, but maybe I misunderstand something
or I'm doing something wrong?
Can someone help me with it, please?
Thanks, Jiri.

Here is dmesg:
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.3.0-rc4-next-20151006_cpm9g25+ (prchal@prchalpc) (gcc version 4.7.3 (Ubuntu/Linaro 
4.7.3-12ubuntu1) ) #7 PREEMPT Thu Oct 8 09:08:21 CEST 2015
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
...
[    0.243333] requesting hog GPIO in18 (chip fffff400.gpio, offset 28) failed
[    0.243333] requesting hog GPIO in19 (chip fffff400.gpio, offset 21) failed
[    0.246666] gpio-at91 fffff400.gpio: at address c8856400
...

and here my part of dts:
...
	ahb {
		apb {
			pinctrl@fffff400 {
				pioA: gpio@fffff400 {
					in18 {
						gpio-hog;
						gpios = <28 0>;
						input;
						line-name = "in18";
					};
					in19 {
						gpio-hog;
						gpios = <21 GPIO_ACTIVE_LOW>;
						input;
					};
				};
...

             reply	other threads:[~2015-10-08 12:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-08 12:29 Jiří Prchal [this message]
2015-10-16 15:13 ` [PROBLEM] gpio: hog: requesting hog failed 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=561661BB.70207@aksignal.cz \
    --to=jiri.prchal@aksignal.cz \
    --cc=gnurou@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=plagnioj@jcrosoft.com \
    /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).