Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1473357 > unrolled thread
| Started by | Peter Ujfalusi <peter.ujfalusi@ti.com> |
|---|---|
| First post | 2016-08-31 13:50 +0200 |
| Last post | 2016-08-31 16:40 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH RESEND 0/2] mfd: twl6040: bulk access fix and pdmclk registration Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-08-31 13:50 +0200
[PATCH RESEND 1/2] mfd: twl6040: The chip does not support bulk access Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-08-31 13:50 +0200
Re: [PATCH RESEND 1/2] mfd: twl6040: The chip does not support bulk access Lee Jones <lee.jones@linaro.org> - 2016-08-31 16:40 +0200
| From | Peter Ujfalusi <peter.ujfalusi@ti.com> |
|---|---|
| Date | 2016-08-31 13:50 +0200 |
| Subject | [PATCH RESEND 0/2] mfd: twl6040: bulk access fix and pdmclk registration |
| Message-ID | <sccbL-1TJ-3@gated-at.bofh.it> |
Hi, The two patch were part of a bigger series to support the external pdmclk clock needed by the McPDM on OMAP4/5 [1]. The other patches have been applied, but the ASoC patch to actually use the pdmclk needed to be reverted as the MFD parts were not taken. [1] https://lkml.org/lkml/2016/5/18/299 Regards, Peter --- Peter Ujfalusi (2): mfd: twl6040: The chip does not support bulk access mfd: twl6040: Register child device for twl6040-pdmclk Documentation/devicetree/bindings/mfd/twl6040.txt | 1 + drivers/mfd/twl6040.c | 6 ++++++ include/linux/mfd/twl6040.h | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) -- 2.9.3
[toc] | [next] | [standalone]
| From | Peter Ujfalusi <peter.ujfalusi@ti.com> |
|---|---|
| Date | 2016-08-31 13:50 +0200 |
| Subject | [PATCH RESEND 1/2] mfd: twl6040: The chip does not support bulk access |
| Message-ID | <sccbM-1TJ-29@gated-at.bofh.it> |
| In reply to | #1473357 |
Bulk access is not working with twl6040, we need to use single register
access. Bulk access would happen when we try to sync the regcache after
power on.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
drivers/mfd/twl6040.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/twl6040.c b/drivers/mfd/twl6040.c
index ab328ec49353..c3ad59ef43dd 100644
--- a/drivers/mfd/twl6040.c
+++ b/drivers/mfd/twl6040.c
@@ -609,6 +609,7 @@ static const struct regmap_config twl6040_regmap_config = {
.writeable_reg = twl6040_writeable_reg,
.cache_type = REGCACHE_RBTREE,
+ .use_single_rw = true,
};
static const struct regmap_irq twl6040_irqs[] = {
--
2.9.3
[toc] | [prev] | [next] | [standalone]
| From | Lee Jones <lee.jones@linaro.org> |
|---|---|
| Date | 2016-08-31 16:40 +0200 |
| Subject | Re: [PATCH RESEND 1/2] mfd: twl6040: The chip does not support bulk access |
| Message-ID | <sceQi-3B0-23@gated-at.bofh.it> |
| In reply to | #1473363 |
On Wed, 31 Aug 2016, Peter Ujfalusi wrote:
> Bulk access is not working with twl6040, we need to use single register
> access. Bulk access would happen when we try to sync the regcache after
> power on.
>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> ---
> drivers/mfd/twl6040.c | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks.
> diff --git a/drivers/mfd/twl6040.c b/drivers/mfd/twl6040.c
> index ab328ec49353..c3ad59ef43dd 100644
> --- a/drivers/mfd/twl6040.c
> +++ b/drivers/mfd/twl6040.c
> @@ -609,6 +609,7 @@ static const struct regmap_config twl6040_regmap_config = {
> .writeable_reg = twl6040_writeable_reg,
>
> .cache_type = REGCACHE_RBTREE,
> + .use_single_rw = true,
> };
>
> static const struct regmap_irq twl6040_irqs[] = {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web