From: sean.wang@mediatek.com (sean.wang at mediatek.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 4/4] mfd: mt6397: Add MT6323 LED support into MT6397 driver
Date: Fri, 17 Feb 2017 14:06:00 +0800 [thread overview]
Message-ID: <1487311560-26684-5-git-send-email-sean.wang@mediatek.com> (raw)
In-Reply-To: <1487311560-26684-1-git-send-email-sean.wang@mediatek.com>
From: Sean Wang <sean.wang@mediatek.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@mediatek.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
prev parent reply other threads:[~2017-02-17 6:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-17 6:05 [PATCH v3 0/4] leds: add leds-mt6323 support on MT7623 SoC sean.wang at mediatek.com
2017-02-17 6:05 ` [PATCH v3 1/4] Documentation: devicetree: Add document bindings for leds-mt6323 sean.wang at mediatek.com
2017-02-17 21:54 ` Jacek Anaszewski
2017-02-17 6:05 ` [PATCH v3 2/4] Documentation: devicetree: Add LED subnode binding for MT6323 PMIC sean.wang at mediatek.com
2017-02-17 6:05 ` [PATCH v3 3/4] leds: Add LED support " sean.wang at mediatek.com
2017-02-17 21:54 ` Jacek Anaszewski
2017-02-17 6:06 ` sean.wang at mediatek.com [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1487311560-26684-5-git-send-email-sean.wang@mediatek.com \
--to=sean.wang@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).