summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-74x164.c
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <nicolassaenzj@gmail.com>2016-03-14 23:32:10 +0000
committerLinus Walleij <linus.walleij@linaro.org>2016-03-31 10:25:51 +0200
commit80018bd9cb590c3d7fea9b51730e4a251cb1bb42 (patch)
treecf045c6a13f0f72e0ba4597fb43155aa248c1ce5 /drivers/gpio/gpio-74x164.c
parentc6cc75fec020eda0df04aff21f6cd6f4bfc1eea5 (diff)
gpio: 74x164: add dt support for nxp's 74x594
The chip is also an 8 bit shift register which works out of the box as a GPO expander with this patch Signed-off-by: Nicolas Saenz Julienne <nicolassaenzj@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-74x164.c')
-rw-r--r--drivers/gpio/gpio-74x164.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c
index 62291a81c97f..80f9ddf13343 100644
--- a/drivers/gpio/gpio-74x164.c
+++ b/drivers/gpio/gpio-74x164.c
@@ -177,6 +177,7 @@ static int gen_74x164_remove(struct spi_device *spi)
static const struct of_device_id gen_74x164_dt_ids[] = {
{ .compatible = "fairchild,74hc595" },
+ { .compatible = "nxp,74lvc594" },
{},
};
MODULE_DEVICE_TABLE(of, gen_74x164_dt_ids);