mediatek: update to latest kernel patchset from v4.13-rc
[openwrt/openwrt.git] / target / linux / mediatek / patches-4.9 / 0017-mfd-mt6397-Add-MT6323-LED-support-into-MT6397-driver.patch
1 From 2b866d69f6198701457d29c5886c0ad7865c785f Mon Sep 17 00:00:00 2001
2 From: Sean Wang <sean.wang@mediatek.com>
3 Date: Sat, 25 Feb 2017 02:47:21 +0800
4 Subject: [PATCH 17/57] mfd: mt6397: Add MT6323 LED support into MT6397 driver
5
6 Add compatible string as "mt6323-led" that will make
7 the OF core spawn child devices for the LED subnode
8 of that MT6323 MFD device.
9
10 Signed-off-by: Sean Wang <sean.wang@mediatek.com>
11 ---
12 drivers/mfd/mt6397-core.c | 4 ++++
13 1 file changed, 4 insertions(+)
14
15 --- a/drivers/mfd/mt6397-core.c
16 +++ b/drivers/mfd/mt6397-core.c
17 @@ -48,6 +48,10 @@ static const struct mfd_cell mt6323_devs
18 .name = "mt6323-regulator",
19 .of_compatible = "mediatek,mt6323-regulator"
20 },
21 + {
22 + .name = "mt6323-led",
23 + .of_compatible = "mediatek,mt6323-led"
24 + },
25 };
26
27 static const struct mfd_cell mt6397_devs[] = {