From fb53ab7f7b3d9678f6860d5b8fa156e3ac8c4cfe Mon Sep 17 00:00:00 2001 From: Pradchaya Phucharoen Date: Fri, 27 Nov 2020 00:35:58 +0700 Subject: [PATCH] [platform/cels] Dx010: fix pca9548 downstream device address collision (#5899) - Why I did it Fix the i2c device to address conflicts behind the PCA9548 switch. - How I did it Load the i2c-mux-pca954x with parameter force-deselect-on-exit=1. --- .../debian/platform-modules-dx010.init | 2 +- .../sonic-platform-modules-cel/dx010/cfg/dx010-modules.conf | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/broadcom/sonic-platform-modules-cel/debian/platform-modules-dx010.init b/platform/broadcom/sonic-platform-modules-cel/debian/platform-modules-dx010.init index b1fb3c60fd61..23d268f9d14a 100644 --- a/platform/broadcom/sonic-platform-modules-cel/debian/platform-modules-dx010.init +++ b/platform/broadcom/sonic-platform-modules-cel/debian/platform-modules-dx010.init @@ -42,7 +42,7 @@ start) echo -n "Setting up board... " modprobe i2c-dev - modprobe i2c-mux-pca954x + modprobe i2c-mux-pca954x force-deselect-on-exit=1 modprobe dx010_wdt modprobe leds-dx010 modprobe lm75 diff --git a/platform/broadcom/sonic-platform-modules-cel/dx010/cfg/dx010-modules.conf b/platform/broadcom/sonic-platform-modules-cel/dx010/cfg/dx010-modules.conf index 66f002a5fc94..5bccc6578850 100644 --- a/platform/broadcom/sonic-platform-modules-cel/dx010/cfg/dx010-modules.conf +++ b/platform/broadcom/sonic-platform-modules-cel/dx010/cfg/dx010-modules.conf @@ -11,5 +11,4 @@ i2c-mux i2c-smbus i2c-mux-gpio -i2c-mux-pca954x