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


Groups > linux.kernel > #1305876 > unrolled thread

Re: [PATCH v3 3/5] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831

Started byLee Jones <lee.jones@linaro.org>
First post2016-01-11 07:30 +0100
Last post2016-01-11 07:30 +0100
Articles 1 — 1 participant

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

  Re: [PATCH v3 3/5] gpio: arizona: Support Cirrus Logic CS47L24 and  WM1831 Lee Jones <lee.jones@linaro.org> - 2016-01-11 07:30 +0100

#1305876 — Re: [PATCH v3 3/5] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831

FromLee Jones <lee.jones@linaro.org>
Date2016-01-11 07:30 +0100
SubjectRe: [PATCH v3 3/5] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831
Message-ID<qPE9j-6Vv-11@gated-at.bofh.it>
On Tue, 03 Nov 2015, Richard Fitzgerald 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>
> ---
>  drivers/gpio/gpio-arizona.c | 4 ++++
>  1 file changed, 4 insertions(+)

Applied, thanks.

> diff --git a/drivers/gpio/gpio-arizona.c b/drivers/gpio/gpio-arizona.c
> index ca00273..624ea54 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);

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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web