diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-03-22 13:40:25 +0800 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-05-16 09:21:48 +0100 |
commit | e03273e48da64083ef66394b4338361886c9a64d (patch) | |
tree | fe97af6ec67f7b29676ed91dae70b69d22ed2a81 /drivers | |
parent | 52a3a374af06121d6f704d1ab4fe4eeb8a1678a1 (diff) |
mfd: sprd: Add one syscon cell to access PMIC global registers
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 <baolin.wang@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/sprd-sc27xx-spi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/sprd-sc27xx-spi.c b/drivers/mfd/sprd-sc27xx-spi.c index 56a4782f0569..3460ef07623c 100644 --- 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", }, }; |