All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH] mfd: sprd: Add one syscon cell to access PMIC global registers
@ 2018-03-22  5:40 Baolin Wang
  2018-03-28 11:04 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Baolin Wang @ 2018-03-22  5:40 UTC (permalink / raw)
  To: lee.jones; +Cc: broonie, linux-kernel, baolin.wang

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(+)

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",
 	},
 };
 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [RESEND PATCH] mfd: sprd: Add one syscon cell to access PMIC global registers
  2018-03-22  5:40 [RESEND PATCH] mfd: sprd: Add one syscon cell to access PMIC global registers Baolin Wang
@ 2018-03-28 11:04 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2018-03-28 11:04 UTC (permalink / raw)
  To: Baolin Wang; +Cc: broonie, linux-kernel

On Thu, 22 Mar 2018, Baolin Wang wrote:

> 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(+)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-28 11:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-22  5:40 [RESEND PATCH] mfd: sprd: Add one syscon cell to access PMIC global registers Baolin Wang
2018-03-28 11:04 ` Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.