]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: exynos5422-odroidxu3: Hook up PWM and use it for LEDs
authorPeter Chubb <peter.chubb@nicta.com.au>
Wed, 13 May 2015 23:57:56 +0000 (09:57 +1000)
committerKukjin Kim <kgene@kernel.org>
Wed, 3 Jun 2015 00:56:46 +0000 (09:56 +0900)
commit0c3520778891073d71b2ba182849e88a30fc6b42
tree1a15002ca398fb84b2d5425e6dba5086f7585e0d
parent24a4d85c13152331e00d897bc74e4013cb078a78
ARM: dts: exynos5422-odroidxu3: Hook up PWM and use it for LEDs

PWM output wasn't working because it wasn't hooked up to its pincontrol.
This patch:
   - hooks up PWM to its pincontrol, and documents what
     the outputs are on the XU3
   - switches the LEDs that are on PWM outputs to use PWM
     rather than GPIO.

The main effect is that the brightness of the LEDs can be controlled, and
user-mode fan control is enabled via /sys/class/pwm

Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Peter Chubb <peter.chubb@nicta.com.au>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos5422-odroidxu3.dts