]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mfd: mt6397: Add MT6323 LED support into MT6397 driver
authorSean Wang <sean.wang@mediatek.com>
Mon, 23 Jan 2017 03:54:45 +0000 (11:54 +0800)
committerLee Jones <lee.jones@linaro.org>
Mon, 13 Feb 2017 09:29:44 +0000 (09:29 +0000)
Add compatible string as "mt6323-led" that will make
the OF core spawn child devices for the LED subnode
of that MT6323 MFD device.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mt6397-core.c

index e14d8b058f0c24b448af028e7911ab99c1732888..8e601c846d08d683c325db95730709572dd18220 100644 (file)
@@ -48,6 +48,10 @@ static const struct mfd_cell mt6323_devs[] = {
                .name = "mt6323-regulator",
                .of_compatible = "mediatek,mt6323-regulator"
        },
+       {
+               .name = "mt6323-led",
+               .of_compatible = "mediatek,mt6323-led"
+       },
 };
 
 static const struct mfd_cell mt6397_devs[] = {