All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
To: lee.jones@linaro.org, broonie@kernel.org,
	linus.walleij@linaro.org, gnurou@gmail.com
Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.de,
	linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
	alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com,
	ckeepax@opensource.wolfsonmicro.com
Subject: [PATCH 2/3] gpio: arizona: Add support for CS47L24
Date: Tue, 11 Nov 2014 17:04:32 +0000	[thread overview]
Message-ID: <20141111170432.GB25738@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <20141111165227.GA24344@opensource.wolfsonmicro.com>

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
---
 drivers/gpio/gpio-arizona.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/gpio/gpio-arizona.c b/drivers/gpio/gpio-arizona.c
index fe369f5..9e29ed0 100644
--- a/drivers/gpio/gpio-arizona.c
+++ b/drivers/gpio/gpio-arizona.c
@@ -1,6 +1,7 @@
 /*
  * gpiolib support for Wolfson Arizona class devices
  *
+ * Copyright 2014 CirrusLogic, Inc.
  * Copyright 2012 Wolfson Microelectronics PLC.
  *
  * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
@@ -119,6 +120,10 @@ static int arizona_gpio_probe(struct platform_device *pdev)
 	case WM8997:
 		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.7.2.5

  parent reply	other threads:[~2014-11-11 17:04 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-11 16:52 [PATCH 0/3] Driver for Cirrus Logic CS47L24 codec Richard Fitzgerald
2014-11-11 17:03 ` [PATCH 1/3] mfd: arizona: Add support for CS47L24 Richard Fitzgerald
2014-11-12  9:34   ` Charles Keepax
2014-11-12  9:34     ` Charles Keepax
2014-11-11 17:04 ` Richard Fitzgerald [this message]
2014-11-11 17:16   ` [PATCH 2/3] gpio: " Mark Brown
2014-11-17  6:41   ` Linus Walleij
2014-11-17  9:58     ` Richard Fitzgerald
2014-11-17 15:03       ` Mark Brown
2014-11-11 17:05 ` [PATCH 3/3] ASoC: arizona: Add initial CS47L24 codec driver Richard Fitzgerald
2014-11-18 14:51   ` Mark Brown
2014-11-18 17:34     ` Richard Fitzgerald
2014-11-11 17:15 ` [PATCH 1/3] mfd: arizona: Add support for CS47L24 Richard Fitzgerald
2014-11-13 10:12   ` Lee Jones
2014-11-13 16:24     ` Richard Fitzgerald
2014-11-13 16:40     ` Charles Keepax
2014-11-17 12:16       ` Lee Jones
2014-11-17 12:16         ` Lee Jones
2014-11-17 12:54         ` Richard Fitzgerald
2014-11-17 12:54           ` Richard Fitzgerald
2014-11-17 15:01           ` Mark Brown
2014-11-18 11:34             ` Lee Jones
2014-11-18 11:34               ` Lee Jones
2014-11-18 13:10               ` Richard Fitzgerald
2014-11-18 13:10                 ` Richard Fitzgerald
2014-11-17 15:13           ` Charles Keepax
2014-11-18 15:00             ` Mark Brown
2014-11-19 16:51   ` Lee Jones
2014-11-19 16:51     ` Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141111170432.GB25738@opensource.wolfsonmicro.com \
    --to=rf@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=ckeepax@opensource.wolfsonmicro.com \
    --cc=gnurou@gmail.com \
    --cc=lee.jones@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patches@opensource.wolfsonmicro.com \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.