]> Gentwo Git Trees - linux/.git/commit
mfd: tqmx86: Add I2C IRQ support
authorGregor Herburger <gregor.herburger@tq-group.com>
Mon, 11 Nov 2024 14:10:32 +0000 (15:10 +0100)
committerLee Jones <lee@kernel.org>
Tue, 12 Nov 2024 14:47:00 +0000 (14:47 +0000)
commit0d3f073975ad28bd16034ed81b8e525e808cbe37
treea0736180905fb2040469bf11d1dba860a80916b2
parent1f86faeb8b4bfeaa001a6c24141cdfc98093e9db
mfd: tqmx86: Add I2C IRQ support

The i2c-ocores controller can run in interrupt mode on tqmx86 modules.
Add a module parameter to allow configuring the IRQ number, similar to the
handling of the GPIO IRQ.

The new code and module parameter refer to the I2C controller as "I2C1",
as the TQMx86 PLD actually contains a second I2C controller, for which
driver support will be added in the future.

Signed-off-by: Gregor Herburger <gregor.herburger@tq-group.com>
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Link: https://lore.kernel.org/r/c1b0769e00a8a4e463cffe725e939b0e5c2992c8.1731325758.git.matthias.schiffer@ew.tq-group.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/tqmx86.c