From patchwork Tue Oct 1 08:20:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13817639 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 EC7E4CE7CE7 for ; Tue, 1 Oct 2024 08:29: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:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-Id:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ivrqsajO5y+H8fEYP5imlDfZPWpEYCC2oO58apcqliw=; b=HUXKO6RaBCOnhH5zC4gSP2QbeU bMauFx6MSikNDNNVE8CPcGxAalPE9ciC/+Svv9fbudf+6Ddix9DtHW374PgXxhMUxiBbOF9gG5hKk Wh7WFj2UDOUaV7bo5t5aghzLtdElj7v9NuM0sN/1pIjEirCbfZeORmejod5syIh/M8ZMr5hzDzkCh cGB/5hV06ASVmljOyPKdenaPGBVPgEg1uRshXdRAI7Nq6iMunZTyMSq86WbrW6swrKFbLyIXJg3a3 vYChhZLXFRguUWQWvi4tsemwrmHxVOAXEZ3e7pT5d5otsxzDcn7lPTOtSD2CvyJkU0kDrwtMJf4lP E0rNRFfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svYGO-000000023Ak-2rpE; Tue, 01 Oct 2024 08:29:44 +0000 Received: from mail-eastasiaazlp170110002.outbound.protection.outlook.com ([2a01:111:f403:c400::2] helo=HK3PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svY8E-000000021Np-1KUF for linux-arm-kernel@lists.infradead.org; Tue, 01 Oct 2024 08:21:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IY6T6cGpMjW+eqLn8yrpNrRzTmLytV66Z5GuWF2o8J4kVTsukueOTDSNs31vQlZWzURZvc/WgnuMdsTR+L2qaNZI1ZvYC4sD4EE97N7Evki0WvYVwgEwVp2sQPzw4H3iwc40MP2ZcAFWhCweTZFcuZvHQTB2hRln2n7w2/Outf2c3hZGtxm/IGilhW2eKgIucqO+b73aClPEyOXWRz7IpN9POFxEFR2VL8hPzsMZpHfLkPhd2B8eB1xz7xlDTS/MUUbTLp5A7KxgMQcZ13ozGWBnvTxQUPqKGbb9ZbYyOWWtgI8/4yn58LaSR+wEZS78/2CGCtSnd//fzIKjs80X9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ivrqsajO5y+H8fEYP5imlDfZPWpEYCC2oO58apcqliw=; b=SKpckb8fANXlDX5XQVIztvNRn1VIk2wE5J56HoMzu3Tm2WWN2mi8UcwU+F52FIgYRZpXSYqk8N2SLWwnvx3b8yDOJNOltyOwn3ilEqj15qZyxKlHm1Ulzfc3OC6tLU4QgmpEKOvQCV5PYoai5lgUNgV64Kv+rDJoZg0mDoGT0ku1F7I3vcpWoBHGbfrxddf0gvGRnmw67SwDNSL8tjwrubyJIC+RYVesEMllb7P2xhgMxlqh/H8Kc1rHw5YGIl+dKbdQhyb3jPES4JENaezmORmxC+zzXsa98cPJZDJ5KHx2IyOd793e1Rl/0ZhEXISUUydaQ21U069DUec0cvFSxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ivrqsajO5y+H8fEYP5imlDfZPWpEYCC2oO58apcqliw=; b=KMJpPApVH2iCUCMseITV0GUKEvrNDUV7gUks2o2NzgDeQtY9QmTqcZSLdL5LShGCSRMEVkYJKLs/kv1haVM2AC4kcEJlJYXOAl2bGaV8xs4VAo9FHzapsmqAysMD8iYemewfHJHDcCEW5VaR2ywG3nKqRID9SU37e44xHdGXEuNlPAQwIoNImPlbGJcZ3qPwIoIyJKIVgUcdcm1rd+NLbclBJZ1+pOkcr3wR79Q+IOOOUT2x+q7VpzGqF9uNKoARSfcOag1dRqgqZwqOK4BVpu9hpJxHAI3gKEL7F/BAHdI+tn81ULXr6tdrRvi7hvYBAfhJ4WI0qYDJYBf9IdbNdQ== Received: from PS2PR02CA0096.apcprd02.prod.outlook.com (2603:1096:300:5c::36) by SEZPR04MB7930.apcprd04.prod.outlook.com (2603:1096:101:231::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.27; Tue, 1 Oct 2024 08:21:09 +0000 Received: from HK3PEPF00000221.apcprd03.prod.outlook.com (2603:1096:300:5c:cafe::9c) by PS2PR02CA0096.outlook.office365.com (2603:1096:300:5c::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.34 via Frontend Transport; Tue, 1 Oct 2024 08:21:09 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF00000221.mail.protection.outlook.com (10.167.8.43) with Microsoft SMTP Server id 15.20.8026.11 via Frontend Transport; Tue, 1 Oct 2024 08:21:09 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Ricky CX Wu , Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 06/10] ARM: dts: aspeed: yosemite4: Revise address of i2c-mux for two fan boards Date: Tue, 1 Oct 2024 16:20:48 +0800 Message-Id: <20241001082053.3455836-7-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241001082053.3455836-1-Delphine_CC_Chiu@wiwynn.com> References: <20241001082053.3455836-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000221:EE_|SEZPR04MB7930:EE_ X-MS-Office365-Filtering-Correlation-Id: b2a8e448-ec7f-460d-0d5c-08dce1f20107 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|7416014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: o/NFFkp5Vw0d+7XWn9wJx4TRAdTuNBbDI7occ9RH1pr+NRw/3Y8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GYkUZ6ScnCV6H5bvQKBXRF9Uxepjy7QSSFyaCuFnfsGDjWpte44gHU3KOZdPzUxyTspaFTkDOfu/I7tQXINdZLBah373iGirR+M1n/gM+ljWOKzXzfk9ndGwOwoQeNfXgtTqybQCKmpjlh7mcIah1ueOD1FRxviK62hDAwcdl4JjX0IaqasRmJ4DMTBvxVN+DBhmlNoa1vUJcIglgbh1aeHWwxyOMXTvC8U1v/+HSLzVhtpi1M/2mjCqMW6ysJ+LlC/U6am2+ascIlky5I/fjQirL8lo6MykZX6h/j5EGvRuMQDN7UvhWDWJumtPLg8kFfuC1UCrE0IINdN9uAQ X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230040)(36860700013)(376014)(7416014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2024 08:21:09.2998 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b2a8e448-ec7f-460d-0d5c-08dce1f20107 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF00000221.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7930 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241001_012118_435527_04E29B29 X-CRM114-Status: UNSURE ( 9.83 ) X-CRM114-Notice: Please train this message. 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 From: Ricky CX Wu Change the address of the I2C mux for two fan boards to 0x74 according to schematic. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 76 ++++++++++--------- 1 file changed, 39 insertions(+), 37 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 3ff22ec8de02..ecf012c9cbbc 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -32,6 +32,8 @@ aliases { i2c27 = &imux27; i2c28 = &imux28; i2c29 = &imux29; + i2c30 = &imux30; + i2c31 = &imux31; i2c34 = &imux34; i2c35 = &imux35; }; @@ -1062,6 +1064,8 @@ gpio@23 { }; &i2c14 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; bus-frequency = <400000>; adc@1d { @@ -1122,20 +1126,50 @@ eeprom@51 { reg = <0x51>; }; - i2c-mux@71 { - compatible = "nxp,pca9846"; + i2c-mux@73 { + compatible = "nxp,pca9544"; #address-cells = <1>; #size-cells = <0>; idle-state = <0>; i2c-mux-idle-disconnect; - reg = <0x71>; + reg = <0x73>; i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; + adc@35 { + compatible = "maxim,max11617"; + reg = <0x35>; + }; + }; + + i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + adc@35 { + compatible = "maxim,max11617"; + reg = <0x35>; + }; + }; + }; + + i2c-mux@74 { + compatible = "nxp,pca9546"; + reg = <0x74>; + #address-cells = <1>; + #size-cells = <0>; + i2c-mux-idle-disconnect; + + imux30: i2c@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + adc@1f { compatible = "ti,adc128d818"; reg = <0x1f>; @@ -1183,10 +1217,10 @@ gpio@61 { }; }; - i2c@1 { + imux31: i2c@1 { + reg = <1>; #address-cells = <1>; #size-cells = <0>; - reg = <0>; adc@1f { compatible = "ti,adc128d818"; @@ -1235,38 +1269,6 @@ gpio@61 { }; }; }; - - i2c-mux@73 { - compatible = "nxp,pca9544"; - #address-cells = <1>; - #size-cells = <0>; - - idle-state = <0>; - i2c-mux-idle-disconnect; - reg = <0x73>; - - i2c@0 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; - - adc@35 { - compatible = "maxim,max11617"; - reg = <0x35>; - }; - }; - - i2c@1 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; - - adc@35 { - compatible = "maxim,max11617"; - reg = <0x35>; - }; - }; - }; }; &i2c15 {