diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2015-11-03 15:08:34 +0000 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-01-11 06:41:39 +0000 |
commit | 7d07d15abb606f6e0c611e9bc9a2de4745456e5f (patch) | |
tree | 804941580eaf45407b1bc97f7ce931c9816a9582 /drivers/gpio/gpio-arizona.c | |
parent | a7b956fd38dd217dd78e3058110929f5ac914df1 (diff) | |
download | linux-7d07d15abb606f6e0c611e9bc9a2de4745456e5f.tar.gz linux-7d07d15abb606f6e0c611e9bc9a2de4745456e5f.tar.bz2 linux-7d07d15abb606f6e0c611e9bc9a2de4745456e5f.zip |
gpio: arizona: Support Cirrus Logic CS47L24 and WM1831
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>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-arizona.c')
-rw-r--r-- | drivers/gpio/gpio-arizona.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-arizona.c b/drivers/gpio/gpio-arizona.c index ca002739616a..624ea5421995 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); |