Re: [PATCH v3 1/3] leds: netxbig: add device tree binding

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

 




On Tue, Jun 23, 2015 at 11:17 PM, Simon Guinot
<simon.guinot@xxxxxxxxxxxx> wrote:
> On Tue, Jun 23, 2015 at 02:11:54PM +0200, Jacek Anaszewski wrote:

>> >+Binding for the GPIO extension bus found on some LaCie/Seagate boards
>> >+(Example: 2Big/5Big Network v2, 2Big NAS).
>> >+
>> >+Required properties:
>> >+- compatible: "lacie,netxbig-gpio-ext".
>> >+- addr-gpios: GPIOs representing the address register.
>> >+- data-gpios: GPIOs representing the data register.
>> >+- enable-gpio: GPIO used to enable the new configuration (address, data).
(...)
>> >+Example:
>> >+
>> >+netxbig_gpio_ext: netxbig-gpio-ext {
>> >+    compatible = "lacie,netxbig-gpio-ext";
>> >+
>> >+    addr-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH
>> >+                  &gpio1 16 GPIO_ACTIVE_HIGH
>> >+                  &gpio1 17 GPIO_ACTIVE_HIGH>;
>> >+    data-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH
>> >+                  &gpio1 13 GPIO_ACTIVE_HIGH
>> >+                  &gpio1 14 GPIO_ACTIVE_HIGH>;
(..)
>> >+    enable-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
>> >+};
>>
>> This needs gpio maintainer ack. Adding Linus and Alexandre.

Looks pretty straight-forward, a lot of GPIOs for LEDs, well such is life.

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

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