提交 4e133828 编写于 作者: V Vincent Prince 提交者: Linus Walleij

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: NVincent Prince <vincent.prince.fr@gmail.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 0969a204
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册