summary refs log tree commit diff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorKamil Debski <k.debski@samsung.com>2015-08-17 08:53:47 +0900
committerKukjin Kim <kgene@kernel.org>2015-09-17 07:48:11 +0900
commitee6011f299f3e75458bd6e91db5795e5adedd6fe (patch)
tree5c53e2828f0a7a905af38734f3885f27f37d11b7 /arch/arm/boot
parent41553f267a369f24244867f5d6c8d4df254906b7 (diff)
downloadlinux-ee6011f299f3e75458bd6e91db5795e5adedd6fe.tar.gz
ARM: dts: Add pwm-fan node for exynos4412-odroidu3
Add pwm-fan node to the Odroid-U3 board file to enable PWM control of the
cooling fan. In addition, add the "pwm" label to the pwm@139D0000 node
in the exynos4412.dtsi.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/exynos4412-odroidu3.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts
index 8632f35c6c26..54b3bc1dba1d 100644
--- a/arch/arm/boot/dts/exynos4412-odroidu3.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts
@@ -32,6 +32,18 @@
 			linux,default-trigger = "heartbeat";
 		};
 	};
+
+	pwm-fan {
+		compatible = "pwm-fan";
+		pwms = <&pwm 0 10000 0>;
+	};
+};
+
+&pwm {
+	pinctrl-0 = <&pwm0_out>;
+	pinctrl-names = "default";
+	samsung,pwm-outputs = <0>;
+	status = "okay";
 };
 
 &usb3503 {