From patchwork Thu Oct 3 07:42:47 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: 13820736 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 47EC8CF8567 for ; Thu, 3 Oct 2024 07:54:19 +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=2Yy4fR8HWBBwDtve5r7q1np0aURr2s4HCWBOXwCOpEg=; b=DQdOiX7jPZ+xiv9FN0B6vI+HXh YKnNVfKgTfOE3PzpXEWIFJSK9T7A5TLm8YoxdOqcQClKIFS50K6c/xU04GoUupy+7ZVkUKcLe5yx0 lddip9A++JWgNNzzZT+s5fyO8rXrYZYm/TNsQ1Jl3p0xUlmdaWp4CwhWuxFSQlBKBjIh9P0WdGI6c BMJt1Oa8dH7+juHxVgss+sznBINcSNLD7HxZKptfJI/9IC24LJ8xmxce7V1dUjjOLNSSwZby9udwv I7EKhGPWFu+cFDZgrRBli97paNsMLUt5lleNQHwn3sIr8TQptvhzLlTws4sTpvt0cUZzktJse4laS PUttTyxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swGf1-00000008SQa-1x2F; Thu, 03 Oct 2024 07:54:07 +0000 Received: from mail-tyzapc01on20622.outbound.protection.outlook.com ([2a01:111:f403:2011::622] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swGUX-00000008Q0Q-0eNV for linux-arm-kernel@lists.infradead.org; Thu, 03 Oct 2024 07:43:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=W1ndEB3O4KOS9W1k0VHNORUknXr6JXYjvJyF0Ttob0TAY9OK0O5+Umd1TleyS6cDawWoxo/fD7MX+8fhJEhbFROnBwWSjmEcPSQl3gZDJTisZ2ZGsW/4uMlv7gumOX0ejofpgIJAna9+lVOsND6OJgocjeNjgXEQALIqMab+MhMgDFoHTbHtWi9kDFQM9B5cB0oviFHQN6fZmRQeXKNLLp0jU9j3NvV58ToXKowYUTNUkmwLNlpAGbmmvxNYAqqoxEcx94wxNgiFZ4T3EGcoH/3gCkQPwR3XAwSmk4FWcQPtPvWl64j5DrH2vrg/LyEKPSxgthWj25Jm5QDtWGYQyQ== 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=2Yy4fR8HWBBwDtve5r7q1np0aURr2s4HCWBOXwCOpEg=; b=MTRFdgepLqyChYguIDg9j+hwGKe65iEd5IY5whZlJ0XlUaxRk2f9ARfLcpyNYZZ8c7ychu7uahGQHeb87TZQjq4sEZkv8cq7gPBwnEr8xHOvlfY1GAjPQidMznaz+0kRnjVFXMVGlKF2ifCWJzP2RIgfJN0zMbbt4O7Q+y8ItlyVtq3RPYw+F5Dk0N2+iOX/oyZYTAmPArf98crzo0K68uT7CcfLB36FpLDM/5/cZZI9yojZnIiITtoVC1DaaM/UuO5g9bSYrVFja41WD5C+y0A5AVAnFTvkQ5rFpQAdlGAUofzrmuBuYDMh07JtyT0nBzmGBmSQTGE7hNCN2bcnQg== 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=2Yy4fR8HWBBwDtve5r7q1np0aURr2s4HCWBOXwCOpEg=; b=r8G0jk6Ksu1DT8s4GQbOu9Xk8ckwDzceEil4IA5Yhzh97LxA2PLJw7/lgdfPUnC3NecQtObBZa5vZGeoGSMIKOBHStoAI2QJv5wbWoosZV84222/Va+J7AZYdCs55VZuj5oe9tBrMrvmLUtORoB3dyAwELyzBJyY9CQxK0cMX/9SotILoAqdHn4KtwsG7kN/azQUBcLX41qPF4//wZK1qGs/VHx6WXrEG+HcAnXQNkGYiZ/sUrApqG597ZNu6EZRoATe9TVjipFrobDujJgVEOTHlZdzQ6veHW7WoW6GDHUY772Grd6I9XjwACgFOtKLuNZUzaZy66w5VtbJgZrYEg== Received: from SI2PR02CA0010.apcprd02.prod.outlook.com (2603:1096:4:194::15) by KL1PR0401MB6588.apcprd04.prod.outlook.com (2603:1096:820:b6::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.16; Thu, 3 Oct 2024 07:43:09 +0000 Received: from SG1PEPF000082E5.apcprd02.prod.outlook.com (2603:1096:4:194:cafe::f8) by SI2PR02CA0010.outlook.office365.com (2603:1096:4:194::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.34 via Frontend Transport; Thu, 3 Oct 2024 07:43: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 SG1PEPF000082E5.mail.protection.outlook.com (10.167.240.8) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Thu, 3 Oct 2024 07:43:08 +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 v3 6/9] ARM: dts: aspeed: yosemite4: Revise address of i2c-mux for two fan boards Date: Thu, 3 Oct 2024 15:42:47 +0800 Message-Id: <20241003074251.3818101-7-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241003074251.3818101-1-Delphine_CC_Chiu@wiwynn.com> References: <20241003074251.3818101-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG1PEPF000082E5:EE_|KL1PR0401MB6588:EE_ X-MS-Office365-Filtering-Correlation-Id: d6b2ae95-9541-4641-34f2-08dce37f06e6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|36860700013|376014|7416014; X-Microsoft-Antispam-Message-Info: xHoYI6lK+9+gCH2n5g2q5Tub7oRuwJGxbRzlFZJHQ+AWf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eb8khGcxvyuJ1adPS2TOxa63Y/UK+DIkNnzQzSh7vZRtiyu+kgdpKBbulwJUTIUYkSZj0xZosANSyD0LQxoiAo/hM0ryCMlifbx6CjzqztJXS+8UbAdma8yfSShOo5JHhCbKyp8862ZRcoMvE4EcrqTHwwKB6CPuZrlW3Hf5ntHRB7bVpUUUNQC17Or3NYyl3V55XBCbFNTLipwibyFbaKfk79fuodIW3N9C37SKY0JSKhpI0+okW+T/Rt/FFKNrNR9WCp4+q+H/zHQl5kPA+r3SbvhJLYBaah3h50OCy 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)(1800799024)(82310400026)(36860700013)(376014)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2024 07:43:08.8057 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d6b2ae95-9541-4641-34f2-08dce37f06e6 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: SG1PEPF000082E5.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0401MB6588 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_004317_311078_5E734A06 X-CRM114-Status: GOOD ( 10.15 ) 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 9a9096c94328..7531ac217c81 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; }; @@ -1034,6 +1036,8 @@ ipmb@10 { }; &i2c14 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; bus-frequency = <400000>; adc@1d { @@ -1094,20 +1098,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>; @@ -1151,10 +1185,10 @@ gpio@61 { }; }; - i2c@1 { + imux31: i2c@1 { + reg = <1>; #address-cells = <1>; #size-cells = <0>; - reg = <0>; adc@1f { compatible = "ti,adc128d818"; @@ -1199,38 +1233,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 {