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

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

 



+Mani

On 9.7.2017 09:59, Linus Walleij wrote:
> 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.

Will look.

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

I was in touch with Mani and he is saying to send it within 2 days.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs


Attachment: signature.asc
Description: OpenPGP digital signature


[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