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

Linus Walleij linus.walleij at linaro.org
Thu Jul 16 01:25:37 PDT 2015


On Tue, Jun 23, 2015 at 11:17 PM, Simon Guinot
<simon.guinot at sequanux.org> 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 at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list