Re: [PATCH v3] gpio: add export with name from dts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, Oct 18, 2013 at 2:49 PM, Jiří Prchal <jiri.prchal@xxxxxxxxxxx> wrote:
> Dne 18.10.2013 12:36, Mark Rutland napsal(a):

>> If there is information associated with the GPIO pins themselves, that
>> should be described in the GPIO bindings. If we want to export named
>> pins in sysfs, that is the duty of the GPIO framework and GPIO drivers.
>> I do not believe having a binding for a non-device that exists solely to
>> express a naming preference makes any sense.
>
>
> I realy don't understan it, isn't it done in GPIO framework? Please, coul'd
> you explain it more.

I think what Mark is saying is that you should not define a new node
for exports, but instead use the node for the gpiochip and extend those
existing gpiochip bindings, if you want to do this.

I.e. you should be patching this file in the end:
Documentation/devicetree/bindings/gpio/gpio.txt

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux