All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH, RESEND] arm: kirkwood: readynas duo v2: Add GMT G762 Fan Controller
@ 2013-07-01 20:45 Arnaud Ebalard
  2013-07-25 16:33 ` Jason Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Arnaud Ebalard @ 2013-07-01 20:45 UTC (permalink / raw)
  To: linux-arm-kernel


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

Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
---
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(+)

diff --git a/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts b/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts
index ad6ade7..cc43d24 100644
--- a/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts
+++ b/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts
@@ -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 {
-- 
1.8.3.1

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

* [PATCH, RESEND] arm: kirkwood: readynas duo v2: Add GMT G762 Fan Controller
  2013-07-01 20:45 [PATCH, RESEND] arm: kirkwood: readynas duo v2: Add GMT G762 Fan Controller Arnaud Ebalard
@ 2013-07-25 16:33 ` Jason Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Cooper @ 2013-07-25 16:33 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jul 01, 2013 at 10:45:02PM +0200, Arnaud Ebalard wrote:
> 
> Now that GMT G762 PWM Fan Controller is available upstream, let's add
> missing bindings in Netgear ReadyNAS Duo v2 .dts file.
> 
> Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
> ---
> 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(+)

Applied to mvebu/dt

thx,

Jason.

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

end of thread, other threads:[~2013-07-25 16:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-01 20:45 [PATCH, RESEND] arm: kirkwood: readynas duo v2: Add GMT G762 Fan Controller Arnaud Ebalard
2013-07-25 16:33 ` Jason Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.