From: Anand Moon Date: Mon, 15 Jun 2015 02:53:20 +0000 (+0930) Subject: ARM: dts: Add pwm-fan node for exynos5422-odroidxu3 X-Git-Tag: v4.14-rc1~4704^2~7^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b685d540cc265d6e88010bed53920b5b6c962682;p=platform%2Fkernel%2Flinux-rpi.git ARM: dts: Add pwm-fan node for exynos5422-odroidxu3 Add pwm-fan node to the Odroid-XU3 boards. Signed-off-by: Anand Moon Tested-by: Markus Reichl Acked-by: Lukasz Majewski Signed-off-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index deb8d78..a2f9941 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -107,6 +107,15 @@ clocks = <&i2s0 CLK_I2S_CDCLK>; }; }; + + fan0: pwm-fan { + compatible = "pwm-fan"; + pwms = <&pwm 0 20972 0>; + cooling-min-state = <0>; + cooling-max-state = <3>; + #cooling-cells = <2>; + cooling-levels = <0 130 170 230>; + }; }; &clock_audss { @@ -461,6 +470,7 @@ */ pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>; pinctrl-names = "default"; + samsung,pwm-outputs = <0>; status = "okay"; };