linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: Kirkwood: enable GPIO fan alarm support for 2Big Network v2
@ 2015-02-23 13:02 Simon Guinot
  2015-02-23 14:10 ` Guenter Roeck
  2015-02-23 15:35 ` Sergei Shtylyov
  0 siblings, 2 replies; 9+ messages in thread
From: Simon Guinot @ 2015-02-23 13:02 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 arch/arm/boot/dts/kirkwood-net2big.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/kirkwood-net2big.dts b/arch/arm/boot/dts/kirkwood-net2big.dts
index 53dc37a3b687..e4f7e497379f 100644
--- a/arch/arm/boot/dts/kirkwood-net2big.dts
+++ b/arch/arm/boot/dts/kirkwood-net2big.dts
@@ -27,6 +27,11 @@
 		device_type = "memory";
 		reg = <0x00000000 0x10000000>;
 	};
+
+	gpio_fan {
+		compatible = "gpio-fan";
+		alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
+	};
 };
 
 &regulators {
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-02-25 16:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-23 13:02 [PATCH] ARM: Kirkwood: enable GPIO fan alarm support for 2Big Network v2 Simon Guinot
2015-02-23 14:10 ` Guenter Roeck
2015-02-23 14:40   ` Simon Guinot
2015-02-23 14:49     ` Guenter Roeck
2015-02-25 12:36       ` Simon Guinot
2015-02-25 14:31         ` Guenter Roeck
2015-02-25 15:01           ` Simon Guinot
2015-02-25 16:27             ` Guenter Roeck
2015-02-23 15:35 ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).