Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1285127 > unrolled thread

[PATCH v3 RESEND] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831

Started byRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
First post2015-12-07 10:30 +0100
Last post2015-12-11 10:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 RESEND] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831 Richard Fitzgerald <rf@opensource.wolfsonmicro.com> - 2015-12-07 10:30 +0100
    Re: [PATCH v3 RESEND] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831 Linus Walleij <linus.walleij@linaro.org> - 2015-12-11 10:20 +0100

#1285127 — [PATCH v3 RESEND] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831

FromRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Date2015-12-07 10:30 +0100
Subject[PATCH v3 RESEND] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831
Message-ID<qD0hl-2Dk-31@gated-at.bofh.it>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1289352

FromLinus Walleij <linus.walleij@linaro.org>
Date2015-12-11 10:20 +0100
Message-ID<qEs1R-2d9-19@gated-at.bofh.it>
In reply to#1285127
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web