From patchwork Mon Sep 30 07:04:55 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: 13815449 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 C4A5ACF6491 for ; Mon, 30 Sep 2024 07:10:23 +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=AtIH1/Y9+onerIagJL+FnMR970KWC38a65nTICYTn5M=; b=4U97+8SIqrwTAO8K6QqPqz/ZTM m9kNnkEFEBpcM3GrKrlb1CvmrT36nPdI67thRGdBJAZSWHCvDHOUibegPpKWCzMSxt1BlU19TqUbk zHcR2mcybPvbSZcteN83lBP29WwGKdmO32srNEaW+oj8GMtkCkPIl1+heePPFzwYQWPzBdP/ciuye B9KehxBxxQOVWz1qK7U4rMGY95fiEIg4r5Ag73J1W58VLZfqkkpPIrbxkjp06L3lSugymv7pOFnrL SunH0/zspCtCoZ5piNu7QztkWZmR0jG5vwM9DI0be5qhiFFrUIOWpc8NbNmCu18E+n5VDjQIKG5Au G/zBC/aw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svAXt-0000000G8S2-3ZHR; Mon, 30 Sep 2024 07:10:13 +0000 Received: from mail-sgaapc01on20604.outbound.protection.outlook.com ([2a01:111:f400:feab::604] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svATI-0000000G7XP-3EIK for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2024 07:05:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jRhfkF7Rdq9CW87br0QJ0GTvHPfxC4oazHU9yNQmPsJKRGiu/uTe7n4zQCK7CumP//P3FsMbt39F0coyVlKFB5JytdwN9yCe69nliU9xE8ufQT7c28cYS8VGCplaIXpDPgqP7Jd0Mzkv7iVfEVLTVnZt2JPQ483A7xg/XOsPjWNBpymaTTxIAHOG2J79KLGWmw/QosHIRAtTi6uEljDa0nnSeG/Fbo5g1ulJUTaysPbluFQtHPKX9klKTvn3P/xjtvS3oMZOGLdX+la1TyWCLIkC0shl5fY7JyZhduCMugp93IS/+0eFDlgQa8o8R+0WBLDHcMCKLKjNvPEalLwI/A== 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=AtIH1/Y9+onerIagJL+FnMR970KWC38a65nTICYTn5M=; b=fm+NpFZiQ1OZfx5UAY3VdbkQEmxxSVVmiEg+3MmVaSaj5+e9QI6Gvu+864xv4KzUItHUVuQKU31EnYPxnpcz20488DP6QrWFphZy/5lz8zLHGW8diHv+fgUjxWEsVbqzqVokewZ0Iew+HBC3NL3LpETq9B+bWkRcNtTFZavEG3I2pdvnUmCffb3fm/gIj8KkrdG5GUCi7b36rPEUx4IhuCo2jk/FZAWmjVXwOB89oYy151COZiT5c2RP9W3wLxasUW85WjLoS7H4qzGzsL6h/Iw2E4YxN/MfqG3GALCXAIgE7pmPnKBtcNlwI7U88F+et7b734sT6oO0TIYTJzV02w== 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=AtIH1/Y9+onerIagJL+FnMR970KWC38a65nTICYTn5M=; b=TESTw8GU46dTKnQo6dV4s0uzNIWUr4ilGrSy9TbE0EpK0xALYWbD1iVOrmYUQkPQSG32cs+xbSdJABdxCvOVoS2PSuauKYALjyEhYl8eguhW9/q3FwOAKAdluJEp1l9w+3QpCEoe9lhQ6Py7n0VuijhOsDQEN4LNIE0VZMmb0Ie1X2MgG31KAX/IC1XEqo73se5teEkZi76FbbCcXNib49gh67BF3p+W8P9VzlbRdoax80UQzA41YpMXNBsqU3oMES+SKygYcPR66V6SsbJ44/l0cDXhZ3nf2vRTF6Th/I4iLzZB2DgKVnJkwU0Qdg/oS1w7+5grCSUDm7xJJo6Z6Q== Received: from SI1PR02CA0047.apcprd02.prod.outlook.com (2603:1096:4:1f5::15) by TYUPR04MB6764.apcprd04.prod.outlook.com (2603:1096:400:35f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.26; Mon, 30 Sep 2024 07:05:18 +0000 Received: from SG2PEPF000B66CD.apcprd03.prod.outlook.com (2603:1096:4:1f5:cafe::d7) by SI1PR02CA0047.outlook.office365.com (2603:1096:4:1f5::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; Mon, 30 Sep 2024 07:05:18 +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 SG2PEPF000B66CD.mail.protection.outlook.com (10.167.240.27) with Microsoft SMTP Server id 15.20.8026.11 via Frontend Transport; Mon, 30 Sep 2024 07:05:17 +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 v1 4/8] ARM: dts: aspeed: yosemite4: Revise address of i2c-mux for two fan boards Date: Mon, 30 Sep 2024 15:04:55 +0800 Message-Id: <20240930070500.3174431-5-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240930070500.3174431-1-Delphine_CC_Chiu@wiwynn.com> References: <20240930070500.3174431-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CD:EE_|TYUPR04MB6764:EE_ X-MS-Office365-Filtering-Correlation-Id: e4d108f2-c21f-43e4-edec-08dce11e3e09 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: vhLbRl0A5FILQ1ZcjAVu2R21f3vfUfvFLnYuGk7d3IvinCpUM42C9FhiRNxwrT9dqJABbBEsE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p58ifYARJku/4TXYMx7fgWPKn8AFOHxQ6IGOAif7AD3lQDyYqXnLS/Q1gCBPcdAykADSyVyBqDW9ReJHc5g+5a0YqHHKq/zrq9SZrdsPXNbo8cLqEQvHghECFhyOYrDpItp8NT+a2SknvqM2TlD940EwRyBK/48R1OI5MpK0iUXrA9K8yPtRQNrg4J1hAf5aa1gonWnd/DGO/Oyh9mJwC7LUI0PTxdC6PM1gI7o+zKo+EE/lfTJetcq2gPggdmLXc+nHk7RbgpcrpCtYV0skh6EQZ7t14MZgZevAsDJ1ARXygILmXEpgLnPBphnEpWcVxm3Dpel82j 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: 30 Sep 2024 07:05:17.9155 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e4d108f2-c21f-43e4-edec-08dce11e3e09 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: SG2PEPF000B66CD.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYUPR04MB6764 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_000528_859516_2D5951F2 X-CRM114-Status: GOOD ( 10.02 ) 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 | 80 ++++++++++--------- 1 file changed, 43 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 26e0fcbed8d2..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>; @@ -1152,6 +1186,8 @@ pwm@20{ gpio@22{ compatible = "ti,tca6424"; reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; }; pwm@23{ @@ -1181,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"; @@ -1202,6 +1238,8 @@ pwm@20{ gpio@22{ compatible = "ti,tca6424"; reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; }; pwm@23{ @@ -1231,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 {