linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 RESEND] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831
@ 2015-12-07  9:24 Richard Fitzgerald
  2015-12-07  9:24 ` Richard Fitzgerald
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Fitzgerald @ 2015-12-07  9:24 UTC (permalink / raw)
  To: linus.walleij, lee.jones; +Cc: patches, linux-gpio, linux-kernel

This patch seems to have got lost when all the other CS47L24 patches
were applied. I don't care whether it goes through the GPIO tree or
the MFD tree with the rest of the patches, but note that it has a build
dependency on the MFD patches for CS47L24.

Richard Fitzgerald (1):
  gpio: arizona: Support Cirrus Logic CS47L24 and WM1831

 drivers/gpio/gpio-arizona.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
1.9.1


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

* [PATCH v3 RESEND] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831
  2015-12-07  9:24 [PATCH v3 RESEND] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831 Richard Fitzgerald
@ 2015-12-07  9:24 ` Richard Fitzgerald
  2015-12-11  9:18   ` Linus Walleij
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Fitzgerald @ 2015-12-07  9:24 UTC (permalink / raw)
  To: linus.walleij, lee.jones; +Cc: patches, linux-gpio, linux-kernel

The CS47L24 and WM1831 codecs only have two GPIO lines, but are
otherwise similar to the WM8280.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/gpio/gpio-arizona.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpio/gpio-arizona.c b/drivers/gpio/gpio-arizona.c
index 412d131..bb2a319 100644
--- a/drivers/gpio/gpio-arizona.c
+++ b/drivers/gpio/gpio-arizona.c
@@ -122,6 +122,10 @@ static int arizona_gpio_probe(struct platform_device *pdev)
 	case WM1814:
 		arizona_gpio->gpio_chip.ngpio = 5;
 		break;
+	case WM1831:
+	case CS47L24:
+		arizona_gpio->gpio_chip.ngpio = 2;
+		break;
 	default:
 		dev_err(&pdev->dev, "Unknown chip variant %d\n",
 			arizona->type);
-- 
1.9.1

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

* Re: [PATCH v3 RESEND] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831
  2015-12-07  9:24 ` Richard Fitzgerald
@ 2015-12-11  9:18   ` Linus Walleij
  2016-01-11  6:26     ` Lee Jones
  0 siblings, 1 reply; 4+ messages in thread
From: Linus Walleij @ 2015-12-11  9:18 UTC (permalink / raw)
  To: Richard Fitzgerald
  Cc: Lee Jones, open list:WOLFSON MICROELECTRONICS DRIVERS,
	linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org

On Mon, Dec 7, 2015 at 10:24 AM, Richard Fitzgerald
<rf@opensource.wolfsonmicro.com> wrote:

> The CS47L24 and WM1831 codecs only have two GPIO lines, but are
> otherwise similar to the WM8280.
>
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> Acked-by: Linus Walleij <linus.walleij@linaro.org>

OK I guess it should just be optimistically merged to the MFD
tree where the dependency is (I guess?). Else I can take it once the MFD
changes are upstream.

Yours,
Linus Walleij

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

* Re: [PATCH v3 RESEND] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831
  2015-12-11  9:18   ` Linus Walleij
@ 2016-01-11  6:26     ` Lee Jones
  0 siblings, 0 replies; 4+ messages in thread
From: Lee Jones @ 2016-01-11  6:26 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Richard Fitzgerald, open list:WOLFSON MICROELECTRONICS DRIVERS,
	linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org

On Fri, 11 Dec 2015, Linus Walleij wrote:

> On Mon, Dec 7, 2015 at 10:24 AM, Richard Fitzgerald
> <rf@opensource.wolfsonmicro.com> wrote:
> 
> > The CS47L24 and WM1831 codecs only have two GPIO lines, but are
> > otherwise similar to the WM8280.
> >
> > Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> > Acked-by: Linus Walleij <linus.walleij@linaro.org>
> 
> OK I guess it should just be optimistically merged to the MFD
> tree where the dependency is (I guess?). Else I can take it once the MFD
> changes are upstream.

I just applied it.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

end of thread, other threads:[~2016-01-11  6:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07  9:24 [PATCH v3 RESEND] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831 Richard Fitzgerald
2015-12-07  9:24 ` Richard Fitzgerald
2015-12-11  9:18   ` Linus Walleij
2016-01-11  6:26     ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).