Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1583109

[PATCH v3 4/4] mfd: mt6397: Add MT6323 LED support into MT6397 driver

From <sean.wang@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v3 4/4] mfd: mt6397: Add MT6323 LED support into MT6397 driver
Date 2017-02-17 07:10 +0100
Message-ID <tbJTX-s3-3@gated-at.bofh.it> (permalink)
References <tbJTX-s3-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/4] leds: add leds-mt6323 support on MT7623 SoC <sean.wang@mediatek.com> - 2017-02-17 07:10 +0100
  [PATCH v3 4/4] mfd: mt6397: Add MT6323 LED support into MT6397 driver <sean.wang@mediatek.com> - 2017-02-17 07:10 +0100
  [PATCH v3 1/4] Documentation: devicetree: Add document bindings for leds-mt6323 <sean.wang@mediatek.com> - 2017-02-17 07:10 +0100
    Re: [PATCH v3 1/4] Documentation: devicetree: Add document bindings  for leds-mt6323 Jacek Anaszewski <jacek.anaszewski@gmail.com> - 2017-02-17 23:00 +0100
  [PATCH v3 3/4] leds: Add LED support for MT6323 PMIC <sean.wang@mediatek.com> - 2017-02-17 07:10 +0100
    Re: [PATCH v3 3/4] leds: Add LED support for MT6323 PMIC Jacek Anaszewski <jacek.anaszewski@gmail.com> - 2017-02-17 23:00 +0100
  [PATCH v3 2/4] Documentation: devicetree: Add LED subnode binding for MT6323 PMIC <sean.wang@mediatek.com> - 2017-02-17 07:10 +0100

csiph-web