[PATCH] pinctrl: qcom: qdf2xxx: expose only some GPIO pins
Timur Tabi
timur at codeaurora.org
Thu Jun 29 12:37:30 PDT 2017
On 06/23/2017 07:33 AM, Linus Walleij wrote:
> I think using "lsgpio" fron tools/gpio/lsgpio.c is better to inspect
> the available GPIOs.
>
> If you haven't tested the GPIO tools, please try it out.
Unfortunately, this tool isn't very useful:
$ sudo ./lsgpio
GPIO chip: gpiochip0, "QCOM8001:00", 150 GPIO lines
line 0: unnamed unused [output]
line 1: unnamed unused [output]
line 2: unnamed unused [output]
line 3: unnamed unused [output]
line 4: unnamed unused [output]
line 5: unnamed unused [output]
line 6: unnamed unused [output]
line 7: unnamed unused [output]
line 8: unnamed unused [output]
line 9: unnamed unused [output]
line 10: unnamed unused [output]
line 11: unnamed unused [output]
line 12: unnamed unused [output]
line 13: unnamed unused [output]
line 14: unnamed unused [output]
line 15: unnamed unused [output]
line 16: unnamed unused [output]
line 17: unnamed unused [output]
line 18: unnamed unused [output]
line 19: unnamed unused [output]
line 20: unnamed unused [output]
line 21: unnamed unused [output]
line 22: unnamed unused [output]
line 23: unnamed unused [output]
line 24: unnamed unused [output]
line 25: unnamed unused [output]
line 26: unnamed unused [output]
line 27: unnamed unused [output]
line 28: unnamed unused [output]
line 29: unnamed unused [output]
line 30: unnamed unused [output]
line 31: unnamed unused [output]
line 32: unnamed unused [output]
line 33: unnamed unused [output]
line 34: unnamed unused [output]
line 35: unnamed unused [output]
line 36: unnamed unused
line 37: unnamed "sysfs" [kernel]
line 38: unnamed unused
line 39: unnamed unused
line 40: unnamed unused [output]
...
--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
More information about the linux-arm-kernel
mailing list