Re: [PATCH 2/8 v2] leds: add device tree bindings for register bit LEDs

Arnd Bergmann
2014-09-02T12:24:06Z

On Tuesday 02 September 2014 14:02:28 Linus Walleij wrote:
> +LED sub-node properties:
> +
> +Required properties:
> +- compatible : must be "register-bit-led"
> +- offset : register offset to the register controlling this LED
> +- mask : bit mask for the bit controlling this LED in the register
> + typically 0x01, 0x02, 0x04 ...
>

How does the driver know whether to do byte or word sized accesses?

Arnd