Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: Kirkwood: enable GPIO fan alarm support for 2Big Network v2

On the LaCie 2Big Network v2 (net2big_v2) board, the fan alarm is not
wired to the I2C fan controller but to a separe GPIO. This GPIO can be
controlled by using the gpio-fan driver.

This patch adds the gpio-fan alarm description in the net2big_v2 DTS.

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>

authored by

Simon Guinot and committed by
Gregory CLEMENT
ef344817 1d7b0839

+5
+5
arch/arm/boot/dts/kirkwood-net2big.dts
··· 27 27 device_type = "memory"; 28 28 reg = <0x00000000 0x10000000>; 29 29 }; 30 + 31 + fan { 32 + compatible = "gpio-fan"; 33 + alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; 34 + }; 30 35 }; 31 36 32 37 &regulators {