OSDN Git Service

serial: 8250_fintek: Add F81966 Support
authorJi-Ze Hong (Peter Hong) <hpeter@gmail.com>
Thu, 28 May 2020 02:24:29 +0000 (10:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 May 2020 11:00:54 +0000 (13:00 +0200)
commit423d9118c6240eabb78bd3c75fc91ba6e3151431
tree21677443abd975678ca668b67f3091fdd1807759
parent9eb90d57b55a0af499e8fee14ef942e80ad5f6f9
serial: 8250_fintek: Add F81966 Support

Fintek F81966 is a LPC/eSPI to 6 UARTs SuperIO. It has fully compatible
with F81866. It's also need check the IRQ mode with system assigned.

F81966 IRQ Mode setting:
        0xf0
                Bit1: IRQ_MODE0
                Bit0: Share mode (always on)
        0xf6
                Bit3: IRQ_MODE1

        Level/Low: IRQ_MODE0:0, IRQ_MODE1:0
        Edge/High: IRQ_MODE0:1, IRQ_MODE1:0

Signed-off-by: Ji-Ze Hong (Peter Hong) <hpeter+linux_kernel@gmail.com>
Cc: Ji-Ze Hong (Peter Hong) <peter_hong@fintek.com.tw>
Link: https://lore.kernel.org/r/20200528022429.32078-1-hpeter+linux_kernel@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_fintek.c