]> git.ipfire.org Git - thirdparty/linux.git/commit
i2c: support gpio-binding for SMBAlerts
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 9 Sep 2024 11:02:56 +0000 (13:02 +0200)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 8 Oct 2024 09:04:20 +0000 (11:04 +0200)
commit270cc3c54e229758b7c079e3aa3ef171e6d8698b
tree3af56ac18870ed22bc4a134669bf706ceb20235d
parent6b238b3c45eb67d3083d55dc17463d1f43e002a7
i2c: support gpio-binding for SMBAlerts

Most I2C controllers do not have a dedicated pin for SMBus Alerts. Allow
them to define a GPIO as a side-channel.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/i2c-core-smbus.c
drivers/i2c/i2c-smbus.c