ARM: Kirkwood: enable GPIO fan alarm support for 2Big Network v2
PATCH v2 1/1 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.
--- arch/arm/boot/dts/kirkwood-net2big.dts | 5 +++++ 1 file changed, 5 insertions(+)
v2 change:
- Fix node name according to the ePAPR standard.
arch/arm/boot/dts/kirkwood-net2big.dts +5 -0
@@ -27,6 +27,11 @@ device_type = "memory"; reg = <0x00000000 0x10000000>; }; + + fan { + compatible = "gpio-fan"; + alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; + }; }; ®ulators {
Signature · 1 line
2.1.1
PATCH v2 1/1 ARM: Kirkwood: enable GPIO fan alarm support for 2Big Network v2
Quoted 7 lines · Simon Guinot
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_v2DTS.Signed-off-by Simon Guinot <[email protected]>
PATCH v2 1/1 ARM: Kirkwood: enable GPIO fan alarm support for 2Big Network v2
In reply to Simon GuinotHi Simon,
Quoted 5 lines · Simon Guinot
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_v2DTS.
Now that the driver part had been merged, I applied this patch on mvebu/dt.
Thanks,
Gregory
Quoted 26 lines
Signed-off-by Simon Guinot <[email protected]>--- arch/arm/boot/dts/kirkwood-net2big.dts | 5 +++++ 1 file changed, 5 insertions(+)v2 change:
- Fix node name according to the ePAPR standard.arch/arm/boot/dts/kirkwood-net2big.dts +5
-0@@ -27,6 +27,11 @@ device_type = "memory"; reg = <0x00000000 0x10000000>; }; + + fan { + compatible = "gpio-fan"; + alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; + }; }; ®ulators {
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com