* [PROBLEM] gpio: hog: requesting hog failed
@ 2015-10-08 12:29 Jiří Prchal
2015-10-16 15:13 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Jiří Prchal @ 2015-10-08 12:29 UTC (permalink / raw)
To: linus.walleij, gnurou, linux-gpio
Cc: plagnioj@jcrosoft.com >> Jean-Christophe Plagniol-Villard
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;
};
};
...
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PROBLEM] gpio: hog: requesting hog failed
2015-10-08 12:29 [PROBLEM] gpio: hog: requesting hog failed Jiří Prchal
@ 2015-10-16 15:13 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2015-10-16 15:13 UTC (permalink / raw)
To: Jiri Prchal, Alexander Stein, Alexander Stein, Nicolas Ferre
Cc: Alexandre Courbot, linux-gpio@vger.kernel.org,
plagnioj@jcrosoft.com >> Jean-Christophe Plagniol-Villard
On Thu, Oct 8, 2015 at 2:29 PM, Jiří Prchal <jiri.prchal@aksignal.cz> wrote:
> 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?
Sometimes this has something to do with driver probe order.
For example if the driver uses a pin control backend to the GPIO,
it will not be able to request its own GPIOs until after both drivers
have probed.
You need to talk to the maintainers of this driver, J-C, Alexander
Stein, Nicolas Ferre.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-16 15:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08 12:29 [PROBLEM] gpio: hog: requesting hog failed Jiří Prchal
2015-10-16 15:13 ` Linus Walleij
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).