Skip to contentSkip to conversation

arm: kirkwood: readynas duo v2: Add GMT G762 Fan Controller

PATCH RESEND New Arnaud Ebalard 2 participants 2 messages Jul 1, 2013 – Jul 25, 2013 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 arm: kirkwood: readynas duo v2: Add GMT G762 Fan Controller

Now that GMT G762 PWM Fan Controller is available upstream, let's add missing bindings in Netgear ReadyNAS Duo v2 .dts file.

---
Hi Jason and Andrew,

This one applies and has been tested against Stephen Rothwell tree. Can you make it flow to Linus tree during the merge window?

Following Thomas feedback, this is a resend of previous version, this time w/o fixes for bad spaces at the end of the file. Just tell me if I should send a separate one for that purpose.

Thanks in advance.

Cheers,

a+

 .../boot/dts/kirkwood-netgear_readynas_duo_v2.dts    | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts +20 -0
index ad6ade7..cc43d24 100644
@@ -52,6 +52,17 @@
 			};
 		};
 
+		clocks {
+		       #address-cells = <1>;
+		       #size-cells = <0>;
+
+		       g762_clk: fixedclk {
+				 compatible = "fixed-clock";
+				 #clock-cells = <0>;
+				 clock-frequency = <8192>;
+		       };
+		};
+
 		i2c at 11000 {
 			status = "okay";
 
@@ -59,6 +70,15 @@
 				compatible = "ricoh,rs5c372a";
 				reg = <0x32>;
 			};
+
+			g762: g762 at 3e {
+				compatible = "gmt,g762";
+				reg = <0x3e>;
+				clocks = <&g762_clk>; /* input clock */
+				fan_gear_mode = <0>;
+				fan_startv = <1>;
+				pwm_polarity = <0>;
+			};
 		};
 
 		serial at 12000 {
Signature · 1 line
1.8.3.1
Applied
#1 lore raw

PATCH RESEND 1/1 arm: kirkwood: readynas duo v2: Add GMT G762 Fan Controller

Quoted 15 lines · Arnaud Ebalard

Now that GMT G762 PWM Fan Controller is available upstream, let's add missing bindings in Netgear ReadyNAS Duo v2 .dts file.

---
Hi Jason and Andrew,

This one applies and has been tested against Stephen Rothwell tree. Can you make it flow to Linus tree during the merge window?

Following Thomas feedback, this is a resend of previous version, this time w/o fixes for bad spaces at the end of the file. Just tell me if I should send a separate one for that purpose.

Quoted 8 lines

Thanks in advance.

Cheers,

a+

 .../boot/dts/kirkwood-netgear_readynas_duo_v2.dts    | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

Applied to mvebu/dt

thx,

Jason.