]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i2c: omap: Add support for setting mux
authorJayesh Choudhary <j-choudhary@ti.com>
Tue, 18 Mar 2025 10:36:22 +0000 (16:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2025 06:53:21 +0000 (08:53 +0200)
commitcaa86f8b6c30b109a6511322aa9680afe13d3397
tree81d7e08aefb6782b443a16cf8676caada1745336
parent6cfbff5f8dc9982aaa253dbb515c5834d008c103
i2c: omap: Add support for setting mux

commit b6ef830c60b6f4adfb72d0780b4363df3a1feb9c upstream.

Some SoCs require muxes in the routing for SDA and SCL lines.
Therefore, add support for setting the mux by reading the mux-states
property from the dt-node.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Link: https://lore.kernel.org/r/20250318103622.29979-3-j-choudhary@ti.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Stable-dep-of: a9503a2ecd95 ("i2c: omap: Handle omap_i2c_init() errors in omap_i2c_probe()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-omap.c