Re: Getting gpios from user space based on gpio-line-names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 3, 2017 at 3:01 PM, Michal Simek <monstr@xxxxxxxxx> wrote:

> 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.

Bartosz library is the thing to use. There are simple examples in
tools/gpio as well.

> 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.

Hopefully it should not need specific numbers but instead go by name.
It'd be interesting to see how mraa properly uses this new ABI.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux