diff options
author | Vincent Prince <vincent.prince.fr@gmail.com> | 2018-07-30 11:30:25 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-07-30 17:39:15 +0200 |
commit | 4e133828e2ca6de5b7563842817a65836a45f63f (patch) | |
tree | 1115f8eaeb9a46fece5ad3e75126d384f627e084 /drivers/gpio/gpio-it87.c | |
parent | 0969a204bfdaf7470d2666736b90a8595ae671e9 (diff) | |
download | linux-4e133828e2ca6de5b7563842817a65836a45f63f.tar.gz linux-4e133828e2ca6de5b7563842817a65836a45f63f.tar.bz2 linux-4e133828e2ca6de5b7563842817a65836a45f63f.zip |
gpio-it87: add support for IT8786E Super I/O
From the datasheet, the GPIO interface is identical to IT8728 (same
description), so just add it to the same case as the other chip.
Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-it87.c')
-rw-r--r-- | drivers/gpio/gpio-it87.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-it87.c b/drivers/gpio/gpio-it87.c index 7cad14d3f127..7b017f43dc6b 100644 --- a/drivers/gpio/gpio-it87.c +++ b/drivers/gpio/gpio-it87.c @@ -41,6 +41,7 @@ #define IT8732_ID 0x8732 #define IT8761_ID 0x8761 #define IT8772_ID 0x8772 +#define IT8786_ID 0x8786 /* IO Ports */ #define REG 0x2e @@ -317,6 +318,7 @@ static int __init it87_gpio_init(void) case IT8728_ID: case IT8732_ID: case IT8772_ID: + case IT8786_ID: gpio_ba_reg = 0x62; it87_gpio->io_size = 8; it87_gpio->output_base = 0xc8; |