diff mbox series

mfd: sprd: Add one syscon cell to access PMIC global registers

Message ID 6dcb7a6dc699b87272e0d57104879861c0ba6382.1514891528.git.baolin.wang@linaro.org
State Superseded
Headers show
Series mfd: sprd: Add one syscon cell to access PMIC global registers | expand

Commit Message

(Exiting) Baolin Wang Jan. 2, 2018, 11:12 a.m. UTC
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>

---
 drivers/mfd/sprd-sc27xx-spi.c |    3 +++
 1 file changed, 3 insertions(+)

-- 
1.7.9.5
diff mbox series

Patch

diff --git a/drivers/mfd/sprd-sc27xx-spi.c b/drivers/mfd/sprd-sc27xx-spi.c
index 56a4782..3460ef0 100644
--- a/drivers/mfd/sprd-sc27xx-spi.c
+++ b/drivers/mfd/sprd-sc27xx-spi.c
@@ -111,6 +111,9 @@  struct sprd_pmic_data {
 	}, {
 		.name = "sc27xx-poweroff",
 		.of_compatible = "sprd,sc27xx-poweroff",
+	}, {
+		.name = "sc27xx-syscon",
+		.of_compatible = "sprd,sc27xx-syscon",
 	},
 };