From fdaa60bb5bed2e7f40796e14bfaf3d8cccfeeece Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Mon, 24 Apr 2017 13:58:49 +0100 Subject: [PATCH] gpio: madera: Add support for CS47L92/CS47L93 codecs Change-Id: I6e19fd25d1f2a92104e010deea97c443c9b92c9a Signed-off-by: Stuart Henderson --- drivers/gpio/gpio-madera.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpio/gpio-madera.c b/drivers/gpio/gpio-madera.c index d700e939b967..1ef377ef4a74 100644 --- a/drivers/gpio/gpio-madera.c +++ b/drivers/gpio/gpio-madera.c @@ -151,6 +151,10 @@ static int madera_gpio_probe(struct platform_device *pdev) case CS47L91: madera_gpio->gpio_chip.ngpio = CS47L90_NUM_GPIOS; break; + case CS47L92: + case CS47L93: + madera_gpio->gpio_chip.ngpio = CS47L92_NUM_GPIOS; + break; default: dev_err(&pdev->dev, "Unknown chip variant %d\n", madera->type); return -EINVAL; -- 2.20.1