i2c: muxes: pca954x: Enable features on MAX7357
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Tue, 30 Jan 2024 12:19:01 +0000 (17:49 +0530)
committerAndi Shyti <andi.shyti@kernel.org>
Thu, 8 Feb 2024 08:34:16 +0000 (09:34 +0100)
commitdf7cbce47a993b14dc2cf71ba0cba081766277e0
treecc6cef4703d276f156f4ac5cfd1121e139b96593
parent5731cb4bef55d1fb649bc862b8e6f8e4cfd10e92
i2c: muxes: pca954x: Enable features on MAX7357

Enable additional features based on DT settings and unconditionally
release the shared interrupt pin after 1.6 seconds and allow to use
it as reset.

These features aren't enabled by default and it's up to board designer
to validate for proper functioning and detection of devices in secondary
bus as sometimes it can cause secondary bus being disabled.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/muxes/i2c-mux-pca954x.c