From: Baolin Wang Date: Thu, 22 Mar 2018 05:40:25 +0000 (+0800) Subject: mfd: sprd: Add one syscon cell to access PMIC global registers X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e03273e48da64083ef66394b4338361886c9a64d;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Lee Jones --- 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", }, };