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

2021-01-20 Thread Drew Fustini
On Mon, Jan 11, 2021 at 12:03:18PM +0200, Tony Lindgren wrote: > Hi, > > * Linus Walleij [210109 21:14]: > > On Sat, Jan 9, 2021 at 3:55 AM Drew Fustini wrote: > > > > > I discussed my use case and this patch on #armlinux earlier this week > > > and Alexandre Belloni suggested looking at the

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

2021-01-11 Thread Tony Lindgren
Hi, * Linus Walleij [210109 21:14]: > On Sat, Jan 9, 2021 at 3:55 AM Drew Fustini wrote: > > > I discussed my use case and this patch on #armlinux earlier this week > > and Alexandre Belloni suggested looking at the pinmux-pins debugfs file. > > This sounds reasonable. > > > This made me

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

2021-01-09 Thread Linus Walleij
On Sat, Jan 9, 2021 at 3:55 AM Drew Fustini wrote: > I discussed my use case and this patch on #armlinux earlier this week > and Alexandre Belloni suggested looking at the pinmux-pins debugfs file. This sounds reasonable. > This made me think that a possible solution could be to define a store

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

2021-01-08 Thread Drew Fustini
On Sat, Jan 09, 2021 at 02:22:07AM +0100, Linus Walleij wrote: > Hi Drew, > > sorry for belated review. The approach is so uncommon so it had me > confused. > > On Thu, Dec 24, 2020 at 9:36 PM Drew Fustini wrote: > > > > > I used the compatible string "pinctrl,state-helper" but would

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

2021-01-08 Thread Linus Walleij
Hi Drew, sorry for belated review. The approach is so uncommon so it had me confused. On Thu, Dec 24, 2020 at 9:36 PM Drew Fustini wrote: > > > I used the compatible string "pinctrl,state-helper" but would appreciate > > > advice on how to best name this. Should I create a new vendor prefix? >

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

2021-01-03 Thread Drew Fustini
On Thu, Dec 24, 2020 at 02:36:03PM -0600, Drew Fustini wrote: > On Fri, Dec 18, 2020 at 06:01:25PM +0200, Andy Shevchenko wrote: > > On Fri, Dec 18, 2020 at 6:52 AM Drew Fustini wrote: > > > > > > BeagleBoard.org [0] currently uses an out-of-tree driver called > > > bone-pinmux-helper [1]

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

2020-12-24 Thread Drew Fustini
On Fri, Dec 18, 2020 at 06:01:25PM +0200, Andy Shevchenko wrote: > On Fri, Dec 18, 2020 at 6:52 AM 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. > > The driver assists users

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

2020-12-18 Thread Andy Shevchenko
On Fri, Dec 18, 2020 at 6:52 AM 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. > The driver assists users of our BeagleBone and PocketBeagle boards in > rapid prototyping by allowing

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

2020-12-17 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