gpio: madera: Add support for CS47L92/CS47L93 codecs
authorStuart Henderson <stuarth@opensource.wolfsonmicro.com>
Mon, 24 Apr 2017 12:58:49 +0000 (13:58 +0100)
committer강신형 <s47.kang@samsung.com>
Tue, 19 Jun 2018 06:59:54 +0000 (15:59 +0900)
Change-Id: I6e19fd25d1f2a92104e010deea97c443c9b92c9a
Signed-off-by: Stuart Henderson <stuarth@opensource.wolfsonmicro.com>
drivers/gpio/gpio-madera.c

index d700e939b967d7deff9690db2cd6c66163d9884c..1ef377ef4a74c2b4e3c3e4bd340cb92413775241 100644 (file)
@@ -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;