]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: dts: allwinner: a64: bananapi-m64: Add LED device node
authorChen-Yu Tsai <wens@csie.org>
Fri, 1 Dec 2017 16:27:33 +0000 (00:27 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 8 Dec 2017 09:39:53 +0000 (10:39 +0100)
commit36252668c14ca14691d40c3455849ac5d8a60b62
tree8e6761917babbd00674f1190adb80b6075914a5f
parent916b68cfe4b52da348fe62cb01a9c37db16a3bfd
arm64: dts: allwinner: a64: bananapi-m64: Add LED device node

The Bananapi-M64 has 3 LEDS in red, green, and blue. These are toggled
via GPIO lines, which drive transistors that control current across the
LEDS. The red LED is by default on, via an additional pull-up on the
control line. We consider this means that it is a power indicator.
So we set the "default-on" property for it.

The pingroups the GPIO lines belong to require external regulators be
enabled to be able to drive the GPIO high. These regulators also have
other purposes. However the pin controller does not have bindings for
regulators. Here we just set them to always-on.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts