From patchwork Fri Sep 20 09:55:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 13808443 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 91E55CE8D47 for ; Fri, 20 Sep 2024 09:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:Message-Id: Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=krJa0YHzRYesDBmJ71AnWCcrG4bSU9zriTKtOU/d2KE=; b=MzR9qvfKJYcF8vbIgu92hVl/FE HT9lgB4s2L81voSWeNvCD7QSaonVxgfUSrE+UBtwyQM3yn0MLPhkmI6lX0x4veBunDGT7GNR5GyTy 7JzbLX18PN6Kmfds8jGHn0ILkI5cnNQZmM/AO2PbRka9Bup/GnNUv4cU5GTExUbvU3jneydu3u49k MyN6RErPpTMbfPCjov1xFcml5i6VUXeBLWEkX7hdqBiK/e9j+xXEj/X/8dF+meS82iSQBoq0yipGd PuGzEDUf/jgi36c74I66vxRnPnGt+kjGw3YGtrDL6XB53Srhir/QuG9ygOqw9ftIE765sERYGIAZv S6rDe1Ow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sraQU-0000000ByZ6-3uuO; Fri, 20 Sep 2024 09:59:46 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sraPN-0000000ByTy-0D5l for linux-arm-kernel@lists.infradead.org; Fri, 20 Sep 2024 09:58:38 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-2068a7c9286so19567585ad.1 for ; Fri, 20 Sep 2024 02:58:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726826315; x=1727431115; darn=lists.infradead.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=krJa0YHzRYesDBmJ71AnWCcrG4bSU9zriTKtOU/d2KE=; b=R/lUh73VbnnzxYtTCngzP3MZRdiNQrVWQz2AkJRIVCRtTnjKxq0lseh2z6jArvl6Ae nVJhnzBt8YiV6aXjcm9WpokUB+g051FdPSSRemq2NxPDL/DlXCtgdDRxjAMXDYbvXRU2 SNrCPyvGSNvtBf8BiKOv97vrnOnjgJszMTCgmzk+gVuW50vZLdAOBoGhT+WBE0C7VV3U VkTk+GX9qlYhnK9lnCGqbl2vkjTW/9DORcfUBOqWrbxlUvdUp7C51pZCK7QOCDt1F5Rz +3aHGuHa6RMb0Y3EaxxS9LLVxYb6G0I1FRLPrcDnbskKU1q6JVT3g5+AaI4SwiGS9aUW NxaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726826315; x=1727431115; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=krJa0YHzRYesDBmJ71AnWCcrG4bSU9zriTKtOU/d2KE=; b=BqYm2kdsAOK5bTTfAVtf8Z+h7F+bRlTuP7keZDDm45h6HuGE6GWabWNgcz7kHuPc+j tGwg5uNramd+paJuLt4zwynUxfHmU+IOAnoQO9FAvS4VgNifOVkg6sVc5E3eFAesCddB qDjgFY7sU0rH18ZpSW/Z849m+ReXNJIqI7QQVMp53FSek+IBG2vdAbmfVC/w7ChSeFUQ lqWc/ZZwCEe6bWD7sBry35j2j0Y3k9ISeQDM9ubrsrt01x6rwKRvuN452P4SmObG74Js GJk0TwZ9GYaRchffLCnaVZbwjKFCPEZbMNk0VijRZ7dNWfx06ibPtsKf8LoprX7ceeBz Lsuw== X-Forwarded-Encrypted: i=1; AJvYcCXDoNAdYBoWUJ33jPH26XFF7phdLV78NoNkyc+5RJMhxrDdmDMtW/o+JJH4Rc68beAeV35lKA9/1XW2BnmA+u2x@lists.infradead.org X-Gm-Message-State: AOJu0YxrHUmQwMw4pnxXjV0X5yCrLeygh5OKjQc4NHJTBsNmIZ7deAQG 3pBnX0RZ8Q/FvsDb4lHGzBeTgHxqg71d9IJdNWn0RhYwrvGTkUG6 X-Google-Smtp-Source: AGHT+IE9C39w5Iba/YHQXZXIMA8mOji+ut7xuUk6fgcjEZj2VVfu1BCkhcqolvGF9lg8xcaB5dYOpA== X-Received: by 2002:a17:902:e888:b0:205:8407:6321 with SMTP id d9443c01a7336-208d833b333mr35304595ad.9.1726826315420; Fri, 20 Sep 2024 02:58:35 -0700 (PDT) Received: from localhost.localdomain (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20794767891sm91909615ad.300.2024.09.20.02.58.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2024 02:58:35 -0700 (PDT) From: Potin Lai Date: Fri, 20 Sep 2024 17:55:52 +0800 Subject: [PATCH] ARM: dts: aspeed: catalina: add i2c-mux-idle-disconnect to all mux MIME-Version: 1.0 Message-Id: <20240920-catalina-i2c-mux-fix-2-v1-1-66cce7c54188@gmail.com> X-B4-Tracking: v=1; b=H4sIAKdG7WYC/x2MSQqAMAwAvyI5G6hB3L4iHkKNGtAqrYpQ/LvF4 zDMRAjiVQJ0WQQvtwbdXYIiz8Au7GZBHRMDGSpNSwYtn7yqY1SyuF0PTvogYTXasmmoZjIMKT6 8JPGP++F9PxaCMxBoAAAA To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Patrick Williams Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Potin Lai , Potin Lai X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1726826312; l=2479; i=potin.lai.pt@gmail.com; s=20240724; h=from:subject:message-id; bh=88gDVpnA6PhWT5LuFMIcdjhzh9mXo979fV+FwMxeJSs=; b=RKgxX3dZqhkSkyCu75khWXpwggC3ECCrTel6ZpW5RF7y7Bz1hO3BitmgqL/Wfc6DGzusH8C1N Ng6yO4CLdJzBDWeRFQZM5aTBOna40W/Bsp0x5Man2zawENBRxcR1y4J X-Developer-Key: i=potin.lai.pt@gmail.com; a=ed25519; pk=6Z4H4V4fJwLteH/WzIXSsx6TkuY5FOcBBP+4OflJ5gM= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240920_025837_144396_1A6E1D7A X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the `i2c-mux-idle-disconnect` property to all i2c-mux nodes to ensure proper behavior when switching between multiple I2C buses. This avoids potential confusion caused by device addresses appearing on multiple buses when they are not actively selected. Signed-off-by: Potin Lai --- Add the i2c-mux-idle-disconnect property to all i2c-mux nodes to ensure proper behavior when switching between multiple I2C buses. This avoids potential confusion caused by device addresses appearing on multiple buses when they are not actively selected. --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts | 7 +++++++ 1 file changed, 7 insertions(+) --- base-commit: baeb9a7d8b60b021d907127509c44507539c15e5 change-id: 20240920-catalina-i2c-mux-fix-2-6dc48827a20a Best regards, diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts index 82835e96317d..fa0921a4afe2 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts @@ -185,6 +185,7 @@ i2c-mux@71 { reg = <0x71>; #address-cells = <1>; #size-cells = <0>; + i2c-mux-idle-disconnect; i2c0mux0ch0: i2c@0 { #address-cells = <1>; @@ -213,6 +214,7 @@ i2c-mux@72 { reg = <0x72>; #address-cells = <1>; #size-cells = <0>; + i2c-mux-idle-disconnect; i2c0mux1ch0: i2c@0 { #address-cells = <1>; @@ -247,6 +249,7 @@ i2c-mux@70 { reg = <0x70>; #address-cells = <1>; #size-cells = <0>; + i2c-mux-idle-disconnect; i2c30mux0ch0: i2c@0 { #address-cells = <1>; @@ -328,6 +331,7 @@ i2c-mux@73 { reg = <0x73>; #address-cells = <1>; #size-cells = <0>; + i2c-mux-idle-disconnect; i2c0mux2ch0: i2c@0 { #address-cells = <1>; @@ -356,6 +360,7 @@ i2c-mux@75 { reg = <0x75>; #address-cells = <1>; #size-cells = <0>; + i2c-mux-idle-disconnect; i2c0mux3ch0: i2c@0 { #address-cells = <1>; @@ -384,6 +389,7 @@ i2c-mux@76 { reg = <0x76>; #address-cells = <1>; #size-cells = <0>; + i2c-mux-idle-disconnect; i2c0mux4ch0: i2c@0 { #address-cells = <1>; @@ -426,6 +432,7 @@ i2c-mux@77 { reg = <0x77>; #address-cells = <1>; #size-cells = <0>; + i2c-mux-idle-disconnect; i2c0mux5ch0: i2c@0 { #address-cells = <1>;