]> git.openpandora.org Git - pandora-kernel.git/commitdiff
backlight: pm8941-wled: Move PM8941 WLED driver to backlight
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Wed, 22 Jul 2015 00:44:49 +0000 (17:44 -0700)
committerLee Jones <lee.jones@linaro.org>
Tue, 25 Aug 2015 07:41:56 +0000 (08:41 +0100)
The Qualcomm PM8941 WLED block is used for backlight and should therefor
be in the backlight framework and not in the LED framework. This moves
the driver and adapts to the backlight api instead.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Tested-by: Rob Clark <robdclark@gmail.com>
Acked-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Acked-by: Jingoo Han <jingoohan1@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/video/backlight/pm8941-wled.txt [moved from Documentation/devicetree/bindings/leds/leds-pm8941-wled.txt with 84% similarity]
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/video/backlight/Kconfig
drivers/video/backlight/Makefile
drivers/video/backlight/pm8941-wled.c [moved from drivers/leds/leds-pm8941-wled.c with 90% similarity]

similarity index 84%
rename from Documentation/devicetree/bindings/leds/leds-pm8941-wled.txt
rename to Documentation/devicetree/bindings/video/backlight/pm8941-wled.txt
index a85a964d61f5a05cd7b8a47fb5a5cc8ff85aef9a..424f8444a6cd9364aba9267be34e66a6657aa786 100644 (file)
@@ -5,10 +5,7 @@ Required properties:
 - reg: slave address
 
 Optional properties:
-- label: The label for this led
-  See Documentation/devicetree/bindings/leds/common.txt
-- linux,default-trigger: Default trigger assigned to the LED
-  See Documentation/devicetree/bindings/leds/common.txt
+- label: The name of the backlight device
 - qcom,cs-out: bool; enable current sink output
 - qcom,cabc: bool; enable content adaptive backlight control
 - qcom,ext-gen: bool; use externally generated modulator signal to dim
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge