projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05daab3
)
mfd: mt6397: Add MT6323 LED support into MT6397 driver
author
Sean Wang
<sean.wang@mediatek.com>
Mon, 23 Jan 2017 03:54:45 +0000
(11:54 +0800)
committer
Lee 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
patch
|
blob
|
history
diff --git
a/drivers/mfd/mt6397-core.c
b/drivers/mfd/mt6397-core.c
index
e14d8b0
..
8e601c8
100644
(file)
--- a/
drivers/mfd/mt6397-core.c
+++ b/
drivers/mfd/mt6397-core.c
@@
-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[] = {