On Thursday 10 March 2016 12:37:32 Laxman Dewangan wrote:
On Wednesday 09 March 2016 10:47 PM, Stephen Warren wrote:There is currently a discussion about the future bindings for subnodes in GPIO
On 03/09/2016 06:20 AM, Laxman Dewangan wrote:On this case, we have already property "line-name" and passed the name
The problem with that is the description used when acquiring the GPIO
is just "wlan_input", "wlan_output", or "wlan_control". There's
nothing to indicate what those individual pins do (perhaps one is a
reset signal, one is a regulator enable, etc.?) By requiring separate
nodes for each GPIO, then the node name can provide a meaningful
semantic name/description for each GPIO, which provides much more
of the gpio via this property.
The property names is "line-name" which is good for one string. We can
support other property "line-names" with multiple string per GPIO index.
line-names = "wlan-reset", "wlan-enable";
controller nodes. Please have a look at these two mail threads:
"Device tree binding documentation for gpio-switch"
"gpio: of: Add support to have multiple gpios in gpio-hog"