[PATCH linux] ARM: dts: quanta: i2c-2 idle disconnects

Patrick Venture venture at google.com
Tue Nov 28 06:58:22 AEDT 2017


From: Peter Hanson <peterh at google.com>

Two top-level pca954x muxes branch off Quanta q71l i2c-2 bus; they
have different addresses, so there is no confusion in that sense.
However, by default, the pca954x driver skips disconnecting the
selected channel. This supports expected topologies, but will leave
two channels selected at the same time when connected in parallel.

This commit adds the i2c-mux-idle-disconnect property to both muxes
to inform the driver that disconnecting is not optional on bus 2.

Signed-off-by: Peter Hanson <peterh at google.com>
Signed-off-by: Patrick Venture <venture at google.com>
---
 arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
index 7ed3a773b2d5..05cfbf086c84 100644
--- a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
@@ -227,6 +227,7 @@
 		reg = <0x74>;
 		#address-cells = <1>;
 		#size-cells = <0>;
+		i2c-mux-idle-disconnect;  /* may use mux at 77 next. */
 	};
 
 	/* 0: PCIe Slot 1,
@@ -243,6 +244,7 @@
 		#address-cells = <1>;
 		#size-cells = <0>;
 		reg = <0x77>;
+		i2c-mux-idle-disconnect;  /* may use mux at 74 next. */
 	};
 };
 
-- 
2.15.0.417.g466bffb3ac-goog



More information about the openbmc mailing list