projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52a3a37
)
mfd: sprd: Add one syscon cell to access PMIC global registers
author
Baolin Wang
<
[email protected]
>
Thu, 22 Mar 2018 05:40:25 +0000
(13:40 +0800)
committer
Lee Jones
<
[email protected]
>
Wed, 16 May 2018 08:21:48 +0000
(09:21 +0100)
There are some global registers in Spreadtrum sc27xx PMICs, which will
be accessed by other drivers. So this patch adds one syscon cell to
help to access the PMIC's global registers.
Signed-off-by: Baolin Wang <
[email protected]
>
Signed-off-by: Lee Jones <
[email protected]
>
drivers/mfd/sprd-sc27xx-spi.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/sprd-sc27xx-spi.c
b/drivers/mfd/sprd-sc27xx-spi.c
index 56a4782f0569cde0db94bc7d64d49cc997e4bfc7..3460ef07623cec27d5c1e26870862de319c7ed3a 100644
(file)
--- a/
drivers/mfd/sprd-sc27xx-spi.c
+++ b/
drivers/mfd/sprd-sc27xx-spi.c
@@
-111,6
+111,9
@@
static const struct mfd_cell sprd_pmic_devs[] = {
}, {
.name = "sc27xx-poweroff",
.of_compatible = "sprd,sc27xx-poweroff",
+ }, {
+ .name = "sc27xx-syscon",
+ .of_compatible = "sprd,sc27xx-syscon",
},
};