]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
i2c: xlp9xx: Add support for SMBAlert
authorGeorge Cherian <george.cherian@cavium.com>
Wed, 16 May 2018 07:00:16 +0000 (00:00 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 22 May 2018 12:06:10 +0000 (14:06 +0200)
commit40f4e372cba8a6729c997c0bda1fa03adf7f956e
tree51802386039d1301d40b5cc60d41c45ce77c5cb0
parent966e9671a3b6e42ce719f9bb38d4b3c0a319e4a0
i2c: xlp9xx: Add support for SMBAlert

Add support for SMBus alert mechanism to i2c-xlp9xx driver.
The second interrupt is parsed to use for SMBus alert.
The first interrupt is the i2c controller main interrupt.

Signed-off-by: Kamlakant Patel <kamlakant.patel@cavium.com>
Signed-off-by: George Cherian <george.cherian@cavium.com>
Reviewed-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-xlp9xx.c