[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YKyH4BPypsfXiw1o@atomide.com>
Date: Tue, 25 May 2021 08:15:12 +0300
From: Tony Lindgren <tony@...mide.com>
To: Vladimir Zapolskiy <vz@...ia.com>
Cc: Dario Binacchi <dariobin@...ero.it>, linux-kernel@...r.kernel.org,
Drew Fustini <drew@...gleboard.org>,
Linus Walleij <linus.walleij@...aro.org>,
Andy Shevchenko <andy.shevchenko@...il.com>,
linux-gpio@...r.kernel.org
Subject: Re: [PATCH v3 2/3] pinctrl: core: configure pinmux from pins debug
file
Hi,
* Vladimir Zapolskiy <vz@...ia.com> [210524 18:52]:
> Thus a higher level of abstraction is wanted:
>
> * writing data to I/O mem -- not good enough,
> * writing data to pinmux/pinconf I/O mem -- better, but not good enough,
> * writing *valid* data to pinmux/pinconf I/O mem -- that's right.
>
> The validity of data is defined by a developer, the abstraction name
> has been mentioned multiple times, it's pin groups and pin group functions.
Sounds like the planned interface should only allow changing between
already defined pingroups, and only if the pins are unclaimed. That
would leave out the issues tinkering with raw register data.
And it probably should also allow adding and removing new pingroups out
of the already defined pin functions that are unclaimed.
I also think such interface should be sysfs and not debugfs eventually.
Regards,
Tony
Powered by blists - more mailing lists