Re: [PATCH v3] pinctrl: core: print gpio in pins debugfs file

2020-07-21 Thread Andy Shevchenko
On Tue, Jul 21, 2020 at 5:17 PM Andy Shevchenko wrote: > On Tue, Jul 21, 2020 at 5:10 PM Drew Fustini wrote: > > On Tue, Jul 21, 2020 at 04:02:34PM +0200, Drew Fustini wrote: > > > If there is a gpio range mapping for the pin, then print out the gpio > > > chip and line index for the pin in the

Re: [PATCH v3] pinctrl: core: print gpio in pins debugfs file

2020-07-21 Thread Andy Shevchenko
On Tue, Jul 21, 2020 at 5:10 PM Drew Fustini wrote: > On Tue, Jul 21, 2020 at 04:02:34PM +0200, Drew Fustini wrote: > > If there is a gpio range mapping for the pin, then print out the gpio > > chip and line index for the pin in the debugfs 'pins' file with the > > format:

Re: [PATCH v3] pinctrl: core: print gpio in pins debugfs file

2020-07-21 Thread Drew Fustini
On Tue, Jul 21, 2020 at 04:02:34PM +0200, Drew Fustini wrote: > If there is a gpio range mapping for the pin, then print out the gpio > chip and line index for the pin in the debugfs 'pins' file with the > format: "[gpiochip-label]:line-[index] " > > For example, here is a section of 'pins' the

[PATCH v3] pinctrl: core: print gpio in pins debugfs file

2020-07-21 Thread Drew Fustini
If there is a gpio range mapping for the pin, then print out the gpio chip and line index for the pin in the debugfs 'pins' file with the format: "[gpiochip-label]:line-[index] " For example, here is a section of 'pins' the PocketBeagle (AM3358):