]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: Add pwm-fan node for exynos4412-odroidu3
authorKamil Debski <k.debski@samsung.com>
Sun, 16 Aug 2015 23:53:47 +0000 (08:53 +0900)
committerKukjin Kim <kgene@kernel.org>
Wed, 16 Sep 2015 22:48:11 +0000 (07:48 +0900)
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>
arch/arm/boot/dts/exynos4412-odroidu3.dts

index 8632f35c6c26892fcbea54b71d41cbed29820458..54b3bc1dba1d48b218f995c514daeb2a7cce6913 100644 (file)
                        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 {