[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1487311560-26684-5-git-send-email-sean.wang@mediatek.com>
Date: Fri, 17 Feb 2017 14:06:00 +0800
From: <sean.wang@...iatek.com>
To: <rpurdie@...ys.net>, <jacek.anaszewski@...il.com>,
<lee.jones@...aro.org>, <matthias.bgg@...il.com>, <pavel@....cz>,
<robh+dt@...nel.org>, <mark.rutland@....com>
CC: <devicetree@...r.kernel.org>, <linux-leds@...r.kernel.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <keyhaede@...il.com>,
Sean Wang <sean.wang@...iatek.com>
Subject: [PATCH v3 4/4] mfd: mt6397: Add MT6323 LED support into MT6397 driver
From: Sean Wang <sean.wang@...iatek.com>
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@...iatek.com>
---
drivers/mfd/mt6397-core.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c
index e14d8b0..8e601c8 100644
--- a/drivers/mfd/mt6397-core.c
+++ b/drivers/mfd/mt6397-core.c
@@ -48,6 +48,10 @@
.name = "mt6323-regulator",
.of_compatible = "mediatek,mt6323-regulator"
},
+ {
+ .name = "mt6323-led",
+ .of_compatible = "mediatek,mt6323-led"
+ },
};
static const struct mfd_cell mt6397_devs[] = {
--
1.9.1
Powered by blists - more mailing lists