summaryrefslogtreecommitdiffstats
path: root/hw/i2c/Kconfig
diff options
context:
space:
mode:
authorPatrick Venture2021-04-12 21:45:22 +0200
committerCorey Minyard2021-04-15 14:10:39 +0200
commit065177eeceff552a5316bff9435188b50a2da1b6 (patch)
tree9d3485ca8a4c1d5a71c10196226608bd85a7fae6 /hw/i2c/Kconfig
parenthw/i2c: move search to i2c_scan_bus method (diff)
downloadqemu-065177eeceff552a5316bff9435188b50a2da1b6.tar.gz
qemu-065177eeceff552a5316bff9435188b50a2da1b6.tar.xz
qemu-065177eeceff552a5316bff9435188b50a2da1b6.zip
hw/i2c: add pca954x i2c-mux switch
The pca954x is an i2c mux, and this adds support for two variants of this device: the pca9546 and pca9548. This device is very common on BMCs to route a different channel to each PCIe i2c bus downstream from the BMC. Signed-off-by: Patrick Venture <venture@google.com> Reviewed-by: Hao Wu <wuhaotsh@google.com> Reviewed-by: Havard Skinnemoen <hskinnemoen@google.com> Message-Id: <20210412194522.664594-5-venture@google.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'hw/i2c/Kconfig')
-rw-r--r--hw/i2c/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/i2c/Kconfig b/hw/i2c/Kconfig
index 09642a6dcb..8d120a25d5 100644
--- a/hw/i2c/Kconfig
+++ b/hw/i2c/Kconfig
@@ -28,3 +28,7 @@ config IMX_I2C
config MPC_I2C
bool
select I2C
+
+config PCA954X
+ bool
+ select I2C