Thread (17 messages) 17 messages, 4 authors, 2021-06-11

Re: [PATCH v3 2/3] pinctrl: core: configure pinmux from pins debug file

From: Tony Lindgren <tony@atomide.com>
Date: 2021-05-25 05:15:26
Also in: lkml

Hi,

* Vladimir Zapolskiy [off-list ref] [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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help