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

Arnd Bergmann arnd at arndb.de
Tue Sep 2 05:24:06 PDT 2014


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



More information about the linux-arm-kernel mailing list