Re: [RFC PATCH] pinctrl: add helper to expose pinctrl state in debugfs

2020-12-19 Thread Drew Fustini
On Fri, Dec 18, 2020 at 06:00:49PM +0200, Andy Shevchenko wrote: > On Wed, Dec 16, 2020 at 12:42 AM Drew Fustini wrote: > > On Tue, Dec 15, 2020 at 09:39:18PM +0200, Andy Shevchenko wrote: > > > On Tue, Dec 15, 2020 at 9:36 PM Andy Shevchenko > > > wrote: > > > > On Mon, Dec 14, 2020 at 11:44 PM

Re: [RFC PATCH] pinctrl: add helper to expose pinctrl state in debugfs

2020-12-18 Thread Andy Shevchenko
On Wed, Dec 16, 2020 at 12:42 AM Drew Fustini wrote: > On Tue, Dec 15, 2020 at 09:39:18PM +0200, Andy Shevchenko wrote: > > On Tue, Dec 15, 2020 at 9:36 PM Andy Shevchenko > > wrote: > > > On Mon, Dec 14, 2020 at 11:44 PM Drew Fustini > > > wrote: > > > > On Mon, Dec 14, 2020 at 07:55:12PM +020

Re: [RFC PATCH] pinctrl: add helper to expose pinctrl state in debugfs

2020-12-15 Thread Drew Fustini
On Tue, Dec 15, 2020 at 09:39:18PM +0200, Andy Shevchenko wrote: > On Tue, Dec 15, 2020 at 9:36 PM Andy Shevchenko > wrote: > > On Mon, Dec 14, 2020 at 11:44 PM Drew Fustini wrote: > > > On Mon, Dec 14, 2020 at 07:55:12PM +0200, Andy Shevchenko wrote: > > ... > > > > With regards to parent dire

Re: [RFC PATCH] pinctrl: add helper to expose pinctrl state in debugfs

2020-12-15 Thread Drew Fustini
On Tue, Dec 15, 2020 at 09:36:33PM +0200, Andy Shevchenko wrote: > On Mon, Dec 14, 2020 at 11:44 PM Drew Fustini wrote: > > On Mon, Dec 14, 2020 at 07:55:12PM +0200, Andy Shevchenko wrote: > > > On Sat, Dec 12, 2020 at 1:43 AM Drew Fustini wrote: > > > > On Fri, Dec 11, 2020 at 11:15:21PM +0200,

Re: [RFC PATCH] pinctrl: add helper to expose pinctrl state in debugfs

2020-12-15 Thread Andy Shevchenko
On Tue, Dec 15, 2020 at 9:36 PM Andy Shevchenko wrote: > On Mon, Dec 14, 2020 at 11:44 PM Drew Fustini wrote: > > On Mon, Dec 14, 2020 at 07:55:12PM +0200, Andy Shevchenko wrote: ... > > With regards to parent directory, I did discover there is > > debugfs_lookup(), so I can get the dentry for

Re: [RFC PATCH] pinctrl: add helper to expose pinctrl state in debugfs

2020-12-15 Thread Andy Shevchenko
On Mon, Dec 14, 2020 at 11:44 PM Drew Fustini wrote: > On Mon, Dec 14, 2020 at 07:55:12PM +0200, Andy Shevchenko wrote: > > On Sat, Dec 12, 2020 at 1:43 AM Drew Fustini wrote: > > > On Fri, Dec 11, 2020 at 11:15:21PM +0200, Andy Shevchenko wrote: > > > > On Fri, Dec 11, 2020 at 1:54 PM Drew Fusti

Re: [RFC PATCH] pinctrl: add helper to expose pinctrl state in debugfs

2020-12-14 Thread Drew Fustini
On Mon, Dec 14, 2020 at 07:55:12PM +0200, Andy Shevchenko wrote: > On Sat, Dec 12, 2020 at 1:43 AM Drew Fustini wrote: > > On Fri, Dec 11, 2020 at 11:15:21PM +0200, Andy Shevchenko wrote: > > > On Fri, Dec 11, 2020 at 1:54 PM Drew Fustini wrote: > > > > > > > > BeagleBoard.org [0] currently uses

Re: [RFC PATCH] pinctrl: add helper to expose pinctrl state in debugfs

2020-12-14 Thread Andy Shevchenko
On Sat, Dec 12, 2020 at 1:43 AM Drew Fustini wrote: > On Fri, Dec 11, 2020 at 11:15:21PM +0200, Andy Shevchenko wrote: > > On Fri, Dec 11, 2020 at 1:54 PM Drew Fustini wrote: > > > > > > BeagleBoard.org [0] currently uses an out-of-tree driver called > > > bone-pinmux-helper [1] developed by Pant

Re: [RFC PATCH] pinctrl: add helper to expose pinctrl state in debugfs

2020-12-11 Thread Drew Fustini
On Fri, Dec 11, 2020 at 11:15:21PM +0200, Andy Shevchenko wrote: > On Fri, Dec 11, 2020 at 1:54 PM Drew Fustini wrote: > > > > BeagleBoard.org [0] currently uses an out-of-tree driver called > > bone-pinmux-helper [1] developed by Pantelis Antoniou [2] back in 2013. > > And it looks like it's sti

Re: [RFC PATCH] pinctrl: add helper to expose pinctrl state in debugfs

2020-12-11 Thread Andy Shevchenko
On Fri, Dec 11, 2020 at 1:54 PM Drew Fustini wrote: > > BeagleBoard.org [0] currently uses an out-of-tree driver called > bone-pinmux-helper [1] developed by Pantelis Antoniou [2] back in 2013. And it looks like it's still using APIs from 2013. Needs quite a clean up. > The driver assists users

[RFC PATCH] pinctrl: add helper to expose pinctrl state in debugfs

2020-12-10 Thread Drew Fustini
BeagleBoard.org [0] currently uses an out-of-tree driver called bone-pinmux-helper [1] developed by Pantelis Antoniou [2] back in 2013. The driver assists users of our BeagleBone and PocketBeagle boards in rapid prototyping by allowing them to change at run-time between defined set of pinctrl state