public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* am335x: GPIOs in userspace
@ 2022-05-27 11:01 Yegor Yefremov
  2022-05-29 22:56 ` Drew Fustini
  0 siblings, 1 reply; 5+ messages in thread
From: Yegor Yefremov @ 2022-05-27 11:01 UTC (permalink / raw)
  To: Linux-OMAP

I have the following problem. The latest kernel version I am using for
my devices is 5.4.x. In my DTS I don't explicitly expose the GPIOs to
the usespace but I can read input both via sysfs as also libgpiod API.

With the newest kernel like 5.17 or 5.18, I can read the same input
pin but I always read 0. I have also tried to add my GPIOs as
"default" into the am33xx_pinmux section (the way it is done in [1]) but
it didn't help.

[1] https://patchwork.kernel.org/project/linux-omap/patch/20200712103717.1219765-1-drew@beagleboard.org/

Regards,
Yegor

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-15  8:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-27 11:01 am335x: GPIOs in userspace Yegor Yefremov
2022-05-29 22:56 ` Drew Fustini
2022-05-30 10:04   ` Yegor Yefremov
2022-06-14 12:32     ` Yegor Yefremov
2022-06-15  8:31       ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox