From patchwork Mon Sep 30 07:04:52 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: 13815447 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 F0CE4CF6491 for ; Mon, 30 Sep 2024 07:07: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=G4TnwL8e302OeGu3LMGeH+f4Vbx4ULsswRUWS5OFeNU=; b=q8kiXhUiHMJXaRLnrp5mc3GFp5 vesMbTG+3/FvFKus++vMhcRQU8bTAn/bQJkKTG27LYl9lWBzhuxKVowmWjzusfD1GkVAuefhRr/KT 8je1/mjwWdXUsClDdB5gvRqxnUbGNzDiRCs6rrPL5K6Ao3G5WQr+NorZupWrXLCL+WQnRy8I1Ybtu f7vwZf+8e4nXAtwKtPAkjjAnJ0ZnIj7f9kYde14/4AQzy2MZr2J9LhExO/SFY3sx2Oqdl2ond3kdM /SnofmcVs3exU23HMApzY7gD0C4OW9/A0ECkj9sxrclmPcUoKCOmc0MMJkbqyrFCeMtcfQIZ9tewZ Kn2JLJ8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svAVY-0000000G84k-1Aqg; Mon, 30 Sep 2024 07:07:48 +0000 Received: from mail-sgaapc01on2061c.outbound.protection.outlook.com ([2a01:111:f400:feab::61c] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svATG-0000000G7X1-0Y9K for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2024 07:05:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=M7BqMBdP5+tAIquhllM5BntR2VmTTeCfniAyyucTkpXAGojevltuopCIFj7dcG6Sb5Wp/h2MlFEmFAobVmObjYQVlWsg4V9th4yVzHh7MgkaG1kTKVF3LGvLHOuDA9kt0nijJc7AKPBaj83qEzBO6cZuDhniXS64hRDW1PNWRKbDymKtALE9e2Hc4mod8iFoIFqvm5HY/oqk3k23AySB1JpjvaghYip04l9pFEEYlEF59Vg532M8ofvlE5EaVDqEG4ZsBrraa7///7hHWn+dgbBvSxLfHshGGkAZgPl2YHd3Aj2xhuraJ1JH83FwYoBjMoI0470JBB9HFC+d30mzUA== 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=G4TnwL8e302OeGu3LMGeH+f4Vbx4ULsswRUWS5OFeNU=; b=gAmJ3gfwr8ia4pjHYsw71GQA+6ESinu2w3eomboo3Zffu+D7IkrvEHoaSM6bOwZ4R13SeJ4hCR4f/J9x9bv4bby8hUDATTCnnaoombVRspItS6uPHV1jMXxlvyNM0TCMFK+3vMVGNm6NnmvIilLkzA5a/cBvs7jsjS9PLCxYjyV5IEDTHFhdHyxQEiPPKktimoo3aBAPngVgvAY9qaDE05TGAexyfP7keXLlax2PBDRXfXid5NpvMnTNscuKqehkfwpasUhL/tFaAdFWzKaLdkmMFRfhObCzU9oegjSk6HScFk9rhbc+Rvr6/Yf4KF0PnbZws9hWxgT+RSpI6L3QtQ== 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=G4TnwL8e302OeGu3LMGeH+f4Vbx4ULsswRUWS5OFeNU=; b=t8usJxHfDkGBy9i+sA4pFbJkQGX7Kc3WltTEMIKc/f0QKjDtUTTVHs9eUHk6+XV0P+D8uflt2XHRtO/9/sYFKo5HLJsKRflplUIICRsDcJKveb8x7bzCTIRdVRDkw/l6qt+oKHyne5vqgsWUxG7zNgP828gFpixp+BUFW+Jc/pwI7+7aKrBAK543qPmyoKvdkuFjEIYnj914RjnzM2shfWDKGeYBCxtgdCRJF6nxkQVvDmXs5aySogCeoSl83GQ67laByvYgny+zHiDNBp5c7rYFtfN6u9vkkYUy6z175rVTcYkIAC0WYX28VTNf1qfNoQnh3d6IqtYyjouuF9NVwQ== Received: from SI1PR02CA0050.apcprd02.prod.outlook.com (2603:1096:4:1f5::12) by SEZPR04MB7356.apcprd04.prod.outlook.com (2603:1096:101:1a0::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.25; Mon, 30 Sep 2024 07:05:07 +0000 Received: from SG2PEPF000B66CD.apcprd03.prod.outlook.com (2603:1096:4:1f5:cafe::a1) by SI1PR02CA0050.outlook.office365.com (2603:1096:4:1f5::12) 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:06 +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:05 +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 1/8] ARM: dts: aspeed: yosemite4: add i2c-mux for all Server Board slots Date: Mon, 30 Sep 2024 15:04:52 +0800 Message-Id: <20240930070500.3174431-2-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_|SEZPR04MB7356:EE_ X-MS-Office365-Filtering-Correlation-Id: d8940809-404c-4993-e3c0-08dce11e3685 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|376014|7416014|1800799024; X-Microsoft-Antispam-Message-Info: tG7o3VmMopb8iWjiqi/2PEZK/rJBgiBtwElDykvhUkGk6kfIzEmpf2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bzmojbTuVDMHXo0vC80L+YSA6ucLItHU8JMf10XseVOAiOMS+Udg+LUlIGEgcCgYkSwBdiQXvq7kAjhQTo5F4yTIiE+vsQkUnxTKMyrPWzhg9keHU2DQ6IgMtAD98VPKmqYSyeJcDI+PizNxcQXs5s15jiG7OuIv3T1WVMp11YkY1zZYvpLmEIFv3txvhoRH1ehAJCssxjbdja8ep4Bn3McMZgJCe9GMr/37W5ZTFqsx4nRlIHvCunq1jwyP3MFxLWRELAo= 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)(82310400026)(376014)(7416014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 07:05:05.2905 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d8940809-404c-4993-e3c0-08dce11e3685 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: SEZPR04MB7356 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_000526_204095_A347B28C X-CRM114-Status: UNSURE ( 9.41 ) 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 Add i2c mux to 8 slots of server board and add the io expanders and eeprom for the slots. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 238 +++++++++++++++++- 1 file changed, 234 insertions(+), 4 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 b6566e2ca274..dbc992a625b7 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -18,6 +18,14 @@ aliases { serial7 = &uart8; serial8 = &uart9; + i2c16 = &imux16; + i2c17 = &imux17; + i2c18 = &imux18; + i2c19 = &imux19; + i2c20 = &imux20; + i2c21 = &imux21; + i2c22 = &imux22; + i2c23 = &imux23; i2c34 = &imux34; i2c35 = &imux35; }; @@ -517,24 +525,246 @@ power-sensor@40 { }; &i2c8 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; bus-frequency = <400000>; i2c-mux@70 { compatible = "nxp,pca9544"; - idle-state = <0>; - i2c-mux-idle-disconnect; reg = <0x70>; + #address-cells = <1>; + #size-cells = <0>; + i2c-mux-idle-disconnect; + + imux16: i2c@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + gpio-controller; + #gpio-cells = <2>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux17: i2c@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + gpio-controller; + #gpio-cells = <2>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux18: i2c@2 { + reg = <2>; + #address-cells = <1>; + #size-cells = <0>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + gpio-controller; + #gpio-cells = <2>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux19: i2c@3 { + reg = <3>; + #address-cells = <1>; + #size-cells = <0>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + gpio-controller; + #gpio-cells = <2>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; }; }; &i2c9 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; bus-frequency = <400000>; i2c-mux@71 { compatible = "nxp,pca9544"; - idle-state = <0>; - i2c-mux-idle-disconnect; reg = <0x71>; + #address-cells = <1>; + #size-cells = <0>; + i2c-mux-idle-disconnect; + + imux20: i2c@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + gpio-controller; + #gpio-cells = <2>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux21: i2c@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + gpio-controller; + #gpio-cells = <2>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux22: i2c@2 { + reg = <2>; + #address-cells = <1>; + #size-cells = <0>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + gpio-controller; + #gpio-cells = <2>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux23: i2c@3 { + reg = <3>; + #address-cells = <1>; + #size-cells = <0>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + gpio-controller; + #gpio-cells = <2>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; }; }; From patchwork Mon Sep 30 07:04:53 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: 13815448 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 648DDCF6491 for ; Mon, 30 Sep 2024 07:09:16 +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=AUtJNp7JnJVBjateeIMFt9NVSk9vKIdUSLKphIGiMNc=; b=FUBict8hSvhytmsNy3vCAHP2Sq vMGF6DgV9gJQnLzHZPNx+VHkfZGA5y4IJR3gND1/BfQ8NDXDeR13l9tM3ZlYlhsvseLx5EKW7q/Fe 0UJMhNcPIAmUqMhy1arKYQMsTzDSTHJxL1zpEKlMKELxIhpT1KEuRlILwqIJBNXY+I2B3F7OgmaOz 7PeM/4obbZkXQRIu8IxFt5jpcHGBZSz7ycWeba5dV/WFUUmsyqN8Fws8GNf1gIjQPVdl905ZyyM9X pYzYsxSMr9DEs+dLliV3jDYx3TOs1S7YPbeqQFUt/W+251HGQzP38YJZ9QpcW2/rPQEp8MnDrXUV5 eC7ZuVHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svAWl-0000000G8M1-19SK; Mon, 30 Sep 2024 07:09:03 +0000 Received: from mail-tyzapc01on20631.outbound.protection.outlook.com ([2a01:111:f403:2011::631] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svATI-0000000G7XQ-148A 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=Jax3CpBfOMYrewiAmxRT9Mv6eNpodq+S7tRFw4znRqPDk7bFFLEQ+IeivhLgPGYGgpSo7+v4GSroulUq1DHkDv7eYRLpcEfIw1XBfBTxZc9K2tbPvQbf9sjsmfmD456+ie1W4J+aphRShufYj7c25upo0fBuKk1Nlu3d2kz3UMYakbYpvbSFiqhxiyYus17je0xK1VpZ8+RGUm3xpwDfBRDYuCnD2eGpA0mHYePf08o4dV3diePdTWCIKPUweWrSvugyEDyfaJV0hqpzeC89uWbXxMpScCPRtCagM1IZI1HfOpgNdE9ejKYu+89azomWXybqgiQInL+a3LjPFehsRQ== 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=AUtJNp7JnJVBjateeIMFt9NVSk9vKIdUSLKphIGiMNc=; b=WvOFlLTcNsL8wArMvda/QWN+XiAaUIhPEYDbxM5rBv3tnEpQWk9ldIfqxc4vjm4BDUlz8nzPqm8RQ5TTTdH7l16xZTBMsWwqLqY2ZzmbxK4bMoLpiDfi6J36W4B5pkH0vAxIQ8D1E4m0Zz4+3vwqeZsVQGcIRdahFk8RlSBs0/m3nbkJMXoc1IlZsu9BuXLdfwVi/OOgpXscKHt+JiyCSZcIdbnoZgEjmpG49M3MoO/1MMYjDMvYDU5/dLN9Odn4zqQuikawCjsChyiGRGAVvqNkwWVHrByuwL6rZNqmHpnuohPcs3Fe9hbDiMKfV2mCEHFxzEmXuuxJ80eajicS0w== 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=AUtJNp7JnJVBjateeIMFt9NVSk9vKIdUSLKphIGiMNc=; b=b1iOi69FBfjZdDuwsJipxn1khQbaz9jM2vAcTAjgFYKMeuV/aU4DXdqjLr+y6wbXE6Udc4F1yCna02o6B4+KzqI5yJflO7GWVCHVvA3CflqzgP3EexbRSN8z1hJZ0ipnHYzEjkkTFIkM22rQQYqWp12m491XMybK571dw8eobD1eaq14bsByy6FOu4bbtbqGqOs0UUs2MbRLyusBi574XqqtVjyduwgoDtYaw4rHOgySq49ZFE7wBSiGWTZz3Ct5KaLUacKUvv82QWn7UV1b/QflEY2kJ6p91chXy0HkKln0pQ4q9UXD5lh+9Hpr4V5cPmHo/FIQfxecR2kgWr4rGg== Received: from SI1PR02CA0060.apcprd02.prod.outlook.com (2603:1096:4:1f5::17) by SEYPR04MB7332.apcprd04.prod.outlook.com (2603:1096:101:1b3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.25; Mon, 30 Sep 2024 07:05:13 +0000 Received: from SG2PEPF000B66CD.apcprd03.prod.outlook.com (2603:1096:4:1f5:cafe::43) by SI1PR02CA0060.outlook.office365.com (2603:1096:4:1f5::17) 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:13 +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:12 +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 2/8] ARM: dts: aspeed: yosemite4: Add i2c-mux for four NICs Date: Mon, 30 Sep 2024 15:04:53 +0800 Message-Id: <20240930070500.3174431-3-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_|SEYPR04MB7332:EE_ X-MS-Office365-Filtering-Correlation-Id: 1ef01137-1f0c-4d78-89a1-08dce11e3ada X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|82310400026|1800799024|36860700013|7416014; X-Microsoft-Antispam-Message-Info: HPg+2fiJOF/WtJ80gDRYtcFocb11KI42b4VJHwk7U1leyljs/kwLH3J24BRp0UiG7m0bJcEO5aeLqLc5WTsl6pJOlvs0HLJNHa3oILi0zyL6ObGhgh2wDwOSJ29pqQxpSyrTTTkelhHrFkJFvbNdrLf5KKREhkdSRvPLI3cv+4zBwtOVXFw9CcWx+OyDQCrdBaMviXf/1+AvaiRVzw2wCRKh6BNNLjrU9Z97M/dXcu6vgCdLabuW2bHfO6IkecV7ehI0f9vSVdNX5DvHW+fKZkQlkwONuNKNxHmohmDZIvOQOpA1TrPEWabmIqy95uAnGFV1phMnx+xYUTXdZ85OdT3KoIhcrpFHzd8ecpPUbxjISYZzT+CBOfUXJMhU4VHxGGJnAcklhljq81qNEdZMw9QvlowVqwYG08qFWhjGKO1Hw2u/eigwgOlrnpZ2Qy19UtNb81HFW94NOh3mOdCfRI6ucmByMwiWo1FEoHGdd/TBnXz4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.net;CAT:NONE;SFS:(13230040)(376014)(82310400026)(1800799024)(36860700013)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 07:05:12.5561 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1ef01137-1f0c-4d78-89a1-08dce11e3ada 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: SEYPR04MB7332 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_000528_405143_847217AC X-CRM114-Status: UNSURE ( 9.57 ) 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 Add i2c-mux on Spider board for four NICs and add the temperature sensor and EEPROM for the NICs. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 75 ++++++++++++++++++- 1 file changed, 72 insertions(+), 3 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 dbc992a625b7..b813140b3c5b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -26,6 +26,10 @@ aliases { i2c21 = &imux21; i2c22 = &imux22; i2c23 = &imux23; + i2c24 = &imux24; + i2c25 = &imux25; + i2c26 = &imux26; + i2c27 = &imux27; i2c34 = &imux34; i2c35 = &imux35; }; @@ -1196,8 +1200,9 @@ adc@35 { }; &i2c15 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; - mctp-controller; multi-master; bus-frequency = <400000>; @@ -1208,9 +1213,73 @@ mctp@10 { i2c-mux@72 { compatible = "nxp,pca9544"; - idle-state = <0>; - i2c-mux-idle-disconnect; reg = <0x72>; + #address-cells = <1>; + #size-cells = <0>; + + imux24: i2c@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + mctp-controller; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; + }; + + imux25: i2c@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + mctp-controller; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; + }; + + imux26: i2c@2 { + reg = <2>; + #address-cells = <1>; + #size-cells = <0>; + mctp-controller; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; + }; + + imux27: i2c@3 { + reg = <3>; + #address-cells = <1>; + #size-cells = <0>; + mctp-controller; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; + }; }; }; From patchwork Mon Sep 30 07:04:54 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: 13815451 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 D3AAECF6491 for ; Mon, 30 Sep 2024 07:12:47 +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=QUGE0c6dj/0KvOdqbYZVG4+GhmYitlAvvfCAtm8XrEg=; b=YMK49Yry6ecC1D0JBX2TVmoSsW 90+O+A8SSC5g99fl3XMY6UfB9VTfXhBBAVzUek0wwjzeU0hKFgTZhzDzh3RtwkYczODB6enG3vczZ C1DMyUjmGi3hMOQEWTUA3ryytTCAXJxZN1F0aulw7rWEWKqFIjQElx4X/e1cWS1+UxtGtRFzQ8UHw jqJmmxT3hK3RYWPz8srRRj8McXcxvqURPlxLkGPZ/AhbJcnluw+Vk22mEhRSUeQeLojjyvrprnAm/ tlMMA2B2HX6Av1u9QYZ2PMWlXzZEPkbpddtDEV6mGKp/r4QgyIu5h6RwLnLyMKFiVd0jzrL8eyUUp 9KSlrduw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svAaF-0000000G8iX-08Vy; Mon, 30 Sep 2024 07:12:39 +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 1svATI-0000000G7XS-1hOW 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=k8CWMCxvRPKIlO87wJoSNyc4ZyGJ3Wo/e+vYWLa3gFhzYG78b/oOqBcADCeRuslOU/xE2SE8GjhC7SPLVnht91+0mh17zb0Q3twkrkCob/Vk7wV0c1JA3J8xAS3SLOwexi3rj8gUYyu3xbbPO/cMGTkndVyZ6HfxwiWtB+kBwk3NqMAwLWQX2Nv0aAaNNkV//TaZ5BxVVb6zqPC+8ByzjNpreyKqxxRabcIWK13JiBOE4gpWZ+Ykj5izeGq+ofSeYYqv31DPIKio2G1UlZ7Bx7O3f+Xa5c1RoO2yt6yPuYxoRll1OSQPgMH+NcgYZOXaURvlIoS78Yc7UluOmS5Jkg== 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=QUGE0c6dj/0KvOdqbYZVG4+GhmYitlAvvfCAtm8XrEg=; b=Whn4vlnLEqUONp9ir2/ZctrRCWAihRqmTLi4pJXdGF0y0hmMR01gQyLbNUcjEGXGKCvjYgJZVJUhZxxLk2rwVGRJMFEHxMjbct6YJ8ORboORF4gtoy0f/iEEXNir7iusnQpssBf+XofRPNWQH/3vTBnJTTSTg0vJqXOcOCr+C1lBaa69VYRg8fz95A2ECBCNidT5zBI3SVtSiRFhPpZ1S/Hp/FklYAxyHwB7KaCgQC0pyAS3xyjcz7C1SYcC6Za3OQzcn5bNRGChZhkKd+8V3UD+I/zYNTD2ktkcq3ps4vHlOwkjlAGEBE1lTRzUVRIYBKzeiBYf1f7cbeZt62oErA== 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=QUGE0c6dj/0KvOdqbYZVG4+GhmYitlAvvfCAtm8XrEg=; b=syDoFcaGtkZDI7KLXZ6qqOyjq010eAmiyS9Izwd9FzCENwi9Lw/MjmHa/oaxpwo1/6C1KVBBqm1Zd700VCtqZiZqIdm4aVIQa5838O9kp5vRbFIEyvehWS7H5DQ8Ui7mJLC4Xp8VSpUBJA63S2OkpeLhZwSYulmMlQADIBviZQ0ITeWWr0fINS2yMROUr9LDGzg2tb3alT3rNX9gCTAPbt8ODjZgQUOp/nWCzNBydk3F5Vj3yws91y40zmkq8JvT2SfSmoq9OCFRJjDmVpElT3V/qWGh/eEPmqjkorjyysIs6Gu7xMjJq8t0MQxMcYvEF6aVviiFZxCmN+e5kKeoUw== Received: from SI1PR02CA0058.apcprd02.prod.outlook.com (2603:1096:4:1f5::9) by SI2PR04MB6619.apcprd04.prod.outlook.com (2603:1096:4:1fe::7) 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:16 +0000 Received: from SG2PEPF000B66CD.apcprd03.prod.outlook.com (2603:1096:4:1f5:cafe::44) by SI1PR02CA0058.outlook.office365.com (2603:1096:4:1f5::9) 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:16 +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:15 +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 3/8] ARM: dts: aspeed: yosemite4: Add i2c-mux for CPLD IOE on Spider Board Date: Mon, 30 Sep 2024 15:04:54 +0800 Message-Id: <20240930070500.3174431-4-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_|SI2PR04MB6619:EE_ X-MS-Office365-Filtering-Correlation-Id: e88d7ff7-069c-49b3-8732-08dce11e3cbe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|1800799024|376014|7416014; X-Microsoft-Antispam-Message-Info: 8zMOeNKK9/82WUPWSEtYdP+UWQ7I4Ya6Xstv+/pOrdIMYsZ3My4N1Lc4rS6W/ZXX/1d6pq+wDMClnMkKsO4fapmUl7ATPLdaHPDbBSu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6xXJsSNuOox9ulAUc3/R8aw3Q3zNkJQHHEWMk1Kq2UO92sLdenyFVREjUOXsYxzx9LQk5aRpMr1DmS4wu5cQuw9aS8QgNIy8FQlP3O7zA2kHDtB6fkjOmTtrEUcfnM1iyPNO0varp8hDjRDvp1UplF2Qc2ai7+HvlNjVjZ9X039yr+fAT/zssAuxerwJl+y7EQYjv4ICNXvyHZzEQJFD++bIE1F4 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)(82310400026)(36860700013)(1800799024)(376014)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 07:05:15.7436 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e88d7ff7-069c-49b3-8732-08dce11e3cbe 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: SI2PR04MB6619 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_000528_486705_B675625A X-CRM114-Status: UNSURE ( 8.09 ) 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 Add I2C mux for CPLD IOE on Spider Board. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) 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 b813140b3c5b..26e0fcbed8d2 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -30,6 +30,8 @@ aliases { i2c25 = &imux25; i2c26 = &imux26; i2c27 = &imux27; + i2c28 = &imux28; + i2c29 = &imux29; i2c34 = &imux34; i2c35 = &imux35; }; @@ -773,8 +775,72 @@ eeprom@54 { }; &i2c10 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; bus-frequency = <400000>; + i2c-mux@74 { + compatible = "nxp,pca9544"; + reg = <0x74>; + #address-cells = <1>; + #size-cells = <0>; + i2c-mux-idle-disconnect; + + imux28: i2c@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "","","","", + "NIC0_MAIN_PWR_EN", + "NIC1_MAIN_PWR_EN", + "NIC2_MAIN_PWR_EN", + "NIC3_MAIN_PWR_EN", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + }; + }; + + imux29: i2c@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; }; &i2c11 { 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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GktIPGzkNhfGg01fxuo01AxaWYekrUOpaW+bk6Ic7gOow5PNrW/kurcHLqioIaSLIqFmBDh5pnk6Q0pNVyILecwHOSZaDYT/EYoRDI9yoFGVGYCqV8p58ifYARJku/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 { From patchwork Mon Sep 30 07:04:56 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: 13815450 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 E65CDCF6491 for ; Mon, 30 Sep 2024 07:11:37 +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=AOYVVAIxLjGzudrvHzxQ+/GQr9w+AadDtRwQ4kO0X9I=; b=KgNX3ygukyrfhDMdbQ6XndzLVv W2XFtDlYHEt5shxh05zi5bb56//ISkyGFOEZwC7Uy8HVDyDyVTbTIymNXoSD0i8NGJFOxJ3kOZUND MQNaqfYYJ9E4LR5KhjlcgRB+zydKMX22ybJpwol3YDKx/AQpWwg67uTRsGxD/EWRE/ynxmzwmLDV1 F/paqsYw38r+ayNtDl2CwEJbeaz9wIXr+kocvNUiExt+ctXUr55qHXzFZ4CHINI5Xf6GKEVilRwQp AP1fyhp56GN9I+nIbRVsFkjep/U1DI6SHIuv/QLFM1wKa4heZVuEkpeFLIEc2+bkYm5lGOg20rVeg b5uJ/Tgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svAZ4-0000000G8Yv-0vSD; Mon, 30 Sep 2024 07:11:26 +0000 Received: from mail-tyzapc01on20603.outbound.protection.outlook.com ([2a01:111:f403:2011::603] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svATI-0000000G7XR-0ulU 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=jMpmzuVbJoMBjdCZtuxUu2VK0/NWAHQlYULfrMJh1kkKw+xdNRPmMNjHZJm0MFzieOE2lJowKeT4aybgYSuwvlMRSqx+Zcz0TwftPMb0APrsynZshf3y4gfMthALRYfrtv0EI0lOlmUJk1M5QPr3wxwPjVj6t1BkEUe6u6SpPUemDyFa3gVoypx28mBZpatHmT4RhYpPMjpYPkO6JipmPE67TI7EHkSB9X+voVKibhXR0rVYOuquCHLr27sQznt4CxDyF6aSrWslvK6y1zjJMTAuzPHXDVRaw/nUQdrrw58L22gvHNZQOZJAvX3hsdB0ghIXPz3d3gjn0puWIGuOXQ== 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=AOYVVAIxLjGzudrvHzxQ+/GQr9w+AadDtRwQ4kO0X9I=; b=D8mPPg0AybelPxmXCkQPWGhdlS32Y5ncmi1k+ZxE6SU1yg4yKNlw3peM1dGCIpZ7xsWXfZCqBLcHE9OeY6kLkYAt18f1tJkHJHxj7XF3QQeNQ/AjDalRzIja5y/z/JwNJjbnKnkigKtiZ1ToD3+yCpSHsnA06AgJl7QSF0++QqwQHdGougnH+jOXqb1shWS5dki3OU6ZtXmwvt5EyrOXvkPeoKhoh8OVGcLyyuu5hAxX8WVbMDKPeu49Yvn+V147GYAU5w1TEq9VsjkOFT+no9rhxrcVBBCbx96VwrmteZZX3pmEl6G5It6iJRzuBDMIcA3y04ur4ezuLWT5PnlAhA== 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=AOYVVAIxLjGzudrvHzxQ+/GQr9w+AadDtRwQ4kO0X9I=; b=VwT1qHNR4wd8cpqIres0Eo49qEuNA7IbKDMDtZJTWku7MBl6mDIpczYJg+xHWCH7U7hQ5dwKS327CTeYGux3mwP774xZ5GkqIV3CvlLoSOcD/gK+xCdA2JnofLdNwo+AMGFB0UUL+NswJI1r/wbbOLKCTGkBfbNN0ZQGiVYH+WG3cvedYrvIuRd/pbtJGFmN3NBOwpOM5xu06kBEq1l3MebgOzlwHpaThcsBoHqATk0B2drVIe40jLXCi9QmfRB2fftw17hRdcScLt08WexSiz8U513PS/CfcURXZm/clC/8Xin1L8VYuBCYL5N0Wv6e5yePC/+kVTiNu8TXDgh+IQ== Received: from SI1PR02CA0048.apcprd02.prod.outlook.com (2603:1096:4:1f5::11) by JH0PR04MB7564.apcprd04.prod.outlook.com (2603:1096:990:61::7) 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:21 +0000 Received: from SG2PEPF000B66CD.apcprd03.prod.outlook.com (2603:1096:4:1f5:cafe::58) by SI1PR02CA0048.outlook.office365.com (2603:1096:4:1f5::11) 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:21 +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:20 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Delphine CC Chiu Cc: Ricky CX Wu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 5/8] ARM: dts: aspeed: yosemite4: correct the compatible string for max31790 Date: Mon, 30 Sep 2024 15:04:56 +0800 Message-Id: <20240930070500.3174431-6-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_|JH0PR04MB7564:EE_ X-MS-Office365-Filtering-Correlation-Id: 929eabdb-9716-4f07-b2e7-08dce11e3fb4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|7416014|36860700013|1800799024|376014; X-Microsoft-Antispam-Message-Info: wIb0/uNCT5LMnR+sVqoMe5dzCZ81TYCYYugLaIMji6nNptLEMdG3Kcs7keY4yxVkyuhuGNC6FQbmzfMTL5hLuO0KriDZh3of2CnAYhAZhsp89gCb9m8DhL9JrPYSB/9O3BlvSoUeGKaXXqaeQX2IGHqhdz8L3x4bVfSoY3WR+wopx+2qAkAqpNYP2p5as8UcbewMQnzj1W3HPhcD3OQkjfqu+IAVRrthmMXRrvCBfBFQzEM/q7MrUEaVGw/kKyRq91zjDoB19FCZbWoJh5ynW+yJi5hXSTHqe2sLO8QgZN27MAhCtRIFgtAUiu1pgAyiPeVSMJm5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B7xbRZcgy1d8NjZqdRzGqDjhInoCTOInFB60KvCdFi+WZZzLFIWS2whZ0haVt3XyGCe+pG 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)(82310400026)(7416014)(36860700013)(1800799024)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 07:05:20.6655 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 929eabdb-9716-4f07-b2e7-08dce11e3fb4 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: JH0PR04MB7564 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_000528_339063_7D17C282 X-CRM114-Status: UNSURE ( 8.71 ) 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 Fix the compatible string for max31790 to match the binding document. Fixes: 2b8d94f4b4a4 ("ARM: dts: aspeed: yosemite4: add Facebook Yosemite 4 BMC") Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 16 ++++------------ 1 file changed, 4 insertions(+), 12 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 ecf012c9cbbc..01ee455c41b0 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1177,10 +1177,8 @@ adc@1f { }; pwm@20{ - compatible = "max31790"; + compatible = "maxim,max31790"; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ @@ -1191,10 +1189,8 @@ gpio@22{ }; pwm@23{ - compatible = "max31790"; + compatible = "maxim,max31790"; reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; }; adc@33 { @@ -1229,10 +1225,8 @@ adc@1f { }; pwm@20{ - compatible = "max31790"; + compatible = "maxim,max31790"; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ @@ -1243,10 +1237,8 @@ gpio@22{ }; pwm@23{ - compatible = "max31790"; + compatible = "maxim,max31790"; reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; }; adc@33 { From patchwork Mon Sep 30 07:04:57 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: 13815452 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 CC7C2CF6497 for ; Mon, 30 Sep 2024 07:14:00 +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=dPdMT/cRglR++k3gSQFwFnG/0KysAxJkHL+SgK6IDxM=; b=jsIapgY1/klRyS2bF1tNIn/EGt 68F2vaQ0LG3PM0jkERRftHonYG+J9FscXAYQAgK9Zj2sDhXYkqnaF9o7mYV1cuhXzFUSvXkjDP1NY eJ+Ut/qzBU4k8ZfONUSgnhibbpTwjDuAhW8MQvVtd7WNsJG90u3jD5aYkSSWWZY90YzfwOh0JiYNC fYbIB+8RgdQ2EAxIY/EMlaQlCWD8Qm09ay0+GvjMUShpcNFy2owbv9922dQfQVXjcEZpzB+5NvlGe QQXqbWw0LjFu0PZdoUmXBl5Ipoa8xyRFK5gksBpNeefwxGQBhECOO/hDKOr4MQki9GCqQPld4MKcO cJJKg6ig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svAbO-0000000G8oj-0t72; Mon, 30 Sep 2024 07:13:50 +0000 Received: from mail-sgaapc01on20606.outbound.protection.outlook.com ([2a01:111:f400:feab::606] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svATL-0000000G7ZA-2srC for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2024 07:05:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oCEObr+RtCrhXFpsG/f+H4cnZomvtCuggBUNEULxiw3irbpr8+OnJ88ESX2/Q778ejp7jBy93VbFwhbe44kY+z/qfdGlq7xWfHmNQ/c4sRqWXG+V7ZJMs6klBtMsZvTFqPoSoTgFusE2SIWdjNBbhEVPM+WMXt0+Dau7FPa548xfczeqfx5r6SE1ls75gYeG8Kn3dTo3Q9fQwMPjraU6iYS5R+p9YByV8vsgdc3lCXRstmTix4hqpLSXGQ02IN/w+FEv21emSZknnGRi9gw0sgGph0/DnU2zTkYFVEH7XasYSLO7KB6w0mmMFl1PkH7ggZfDMzwUHXvBe6bbTfjchQ== 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=dPdMT/cRglR++k3gSQFwFnG/0KysAxJkHL+SgK6IDxM=; b=p+buI95Q3OeBn9L/soYA4tulAvp+2HJL7+WgZQPr6bva9XyEuCgYgJuO8DxxHAaoF36AB4726ssNFABOvu2tyq4EwN+JBHzGPv9vYqmjYvZk+raDARt7jSRmpMXSmgcFlhM06m7kamn3OPdFyIa5xAdIo7rmt0Ccj96zVbzESG6sE4GfnHS4aSLdRjRZklIu4WcsuvD9HFYd6Jg3MBwCR9Jt0Lw/1LkZFNdp5nTMAnoJh0Tg4k4CSyV9trsM5b5bpHwYPBmITxQq5eAh7YWql0Q1y9aZfvBisG1ITDuBDTHu5SAsogZkX+NeSzL8/yJxLt0X995dgbnGExqZiqfHBQ== 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=dPdMT/cRglR++k3gSQFwFnG/0KysAxJkHL+SgK6IDxM=; b=Jgx5tXPfRlCYmmZ2wHWwbzwjJb/7n4BcbMhJQPqJWm+guLjp3VSb2wOBaO1CBC5v1IZP0A1TcO/ume4R4ZTcinWy8AB4fHHZIII0662gRkFpL42QUgH3UEHXNsT1DpTlLGkwkkIHB22xXsQxJQpDDRS8Aeg3HqRUsL3F1rDd2tMWACQgkF8YRjLXw9CfCm8fskidWIIp2Eg2ofq6BNao6n5mxk+qaDjjUa8+bQMh3CYiYS1NjwJkPeuw92IMzV4RqqvEULLfP7BhhevyXqG6192ddPiYxuOla6DyQwOVK47aWZmGKDCKtaK8ZOqCJ76X6QxpGO+Qgb1EyCnyju/cUw== Received: from SI1PR02CA0047.apcprd02.prod.outlook.com (2603:1096:4:1f5::15) by TY0PR04MB7401.apcprd04.prod.outlook.com (2603:1096:405:16::7) 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:23 +0000 Received: from SG2PEPF000B66CD.apcprd03.prod.outlook.com (2603:1096:4:1f5:cafe::97) 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:23 +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:22 +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 6/8] ARM: dts: aspeed: yosemite4: Change the address of Fan IC on fan boards Date: Mon, 30 Sep 2024 15:04:57 +0800 Message-Id: <20240930070500.3174431-7-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_|TY0PR04MB7401:EE_ X-MS-Office365-Filtering-Correlation-Id: c480fe7c-9867-417d-dec7-08dce11e4104 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|1800799024|376014|7416014; X-Microsoft-Antispam-Message-Info: vnkAaeXxDTp80q398VTxHv7CQVElO0w2OfkKul0Dbxx5LtJzU2dVCzqr6F805QAACNe/XlZmIj8qdYthvAdYHRFtcc7031ykagl+SRVkyuKuX7+Om1L23QYqiv+UvHwh/bgL21pY/4ZGQCWo+Y9eDdbk1v2nWJJwiecOUelc0U7G8AkX7w9+2DdyFUtV8wjrTQ7dpoMsxNSFeBIHHDHHalkLenzp3/sk8TfqJlU2SXBZjVs7mYgbM5hkAajHiC90BCUOTiWNV83I/5g5BPWeck1WqBM8y+mbapY7UmjgQFH4dEqQhYHVFTzveJ9Htxa4AF3L56suVHJqRu+2lzpQ7k7WSzPSBptwm4B/HrR7hCfWKC4G5UTcBQ6c0OXE7FUpRmVhYfjs5a7TWzoWstMln5xyI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: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)(82310400026)(36860700013)(1800799024)(376014)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 07:05:22.8999 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c480fe7c-9867-417d-dec7-08dce11e4104 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: TY0PR04MB7401 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_000531_755964_B3D934B8 X-CRM114-Status: UNSURE ( 8.94 ) 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 Fan IC: Max31790 on fan boards according to schematic. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 01ee455c41b0..6a1dccd23225 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1188,9 +1188,9 @@ gpio@22{ #gpio-cells = <2>; }; - pwm@23{ + pwm@2f{ compatible = "maxim,max31790"; - reg = <0x23>; + reg = <0x2f>; }; adc@33 { @@ -1236,9 +1236,9 @@ gpio@22{ #gpio-cells = <2>; }; - pwm@23{ + pwm@2f{ compatible = "maxim,max31790"; - reg = <0x23>; + reg = <0x2f>; }; adc@33 { From patchwork Mon Sep 30 07:04:58 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: 13815460 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 749C0CF6491 for ; Mon, 30 Sep 2024 07:15:10 +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=Rc5wNk6fN5oFtBkyRPurMpzUpnZEhq6lKad6bKMUjIc=; b=z1xI73o9oCjubjh+2Yb1xnIrKb cm0tzwV2dgL5xziPPzi4V/YcOxP9xdSgE7+qNGg88P+rnU43eJs6L4g6yjEEKM+7XZ+zyBrhfn1LL Uy7xOCQBcuc75TAUx2uZ5BCnbOeVavw2sYna5QqRXDmDnF0i5HmlMi+fxrViVCRVkEm2yX2ppV8Ua qR1XYVUJ5rpRX7GfAarxnp8aOryvmsw9IvlzMVOaUH+lgTr2ubrX3FTpaswLm2NX5swRP4rza45hb x6obo/jMXDhNUaFalwa8YkHQqeoGZdMLYzruT9FKulwLYj/pxyDoQmhKoMRfH4pWEKsVLqmiQvPA2 EmryoH+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svAcX-0000000G8wa-2KKU; Mon, 30 Sep 2024 07:15:01 +0000 Received: from mail-psaapc01on20612.outbound.protection.outlook.com ([2a01:111:f400:feae::612] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svATO-0000000G7ae-29z8 for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2024 07:05:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=BDs3lD3LVGd2W0WdxawerSa3FHkPYWiqsY/IEpN0wPRpN5k3+/Ug/b8CcLG9ulmLxJ6d/d/8WfNO2lzTQD5MI2RZejK11MX+/vb4x/0zoR5Q89/ugosz0U6oj2hNvEFmXxNTdF5tuKF04+sxCoH3N21YBR76aFqxnBpegSim3ROK+6NhL5fOXg/2PqXJ6rlWj1+IGVoqA0G/LzQZvKlR4nvSi6exBZfS1wbyOfgWKM1gbBWlY++WoNEtGeMsXEXKxtYLugmM2w2Up2IihzHKTsI371oKLiAllPJrqb/23E4jX7dKEXqmIcqmri1ODwrZs7557SE7DH8zz568zpVu4g== 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=Rc5wNk6fN5oFtBkyRPurMpzUpnZEhq6lKad6bKMUjIc=; b=CAMwd2nnVLXfUauKjXf2nXqP20BLJk9XHwppYl9SBb267yZ/+IdOZChDBk9Uuej1Wf7Oef1aDGfxUhKiguTbl51GPpcz1kafC/iea8vPnVx3O7PnoogmgRBl6+k3kjIcCGgXUet+3R2YVaQFTpY/nskAgu1hdITEtWY8JUkNDowFbzM0b85WUgCZk1pV4WuKb8NyQ2TI5ybS7ATCrp+lKGrpBdzXmuuHY2A0WCavNKraqc0AepbdbHITUR4YC+FfHV8/pyG0z8iV0QNZ1QOFlQ6y+aZZLQ8MAjN4RHhUmxLAzx29AVqFTHdxIX+OrD59vO8PBb66SWo9KoV24tVhGg== 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=Rc5wNk6fN5oFtBkyRPurMpzUpnZEhq6lKad6bKMUjIc=; b=EF1OQHw3PQAdZ+Ipgfe6Wcbu0AsRceeOwkruzp0UlMbXppgLnWumtIVii9Iz76w5x5+MKOzo4ig4clcKtHYwu+I3y6uzk2lrUtqKAQN+gHPS7QsteGnCNOusIyaHiyOznUbJlHuuD2DFK9fyW3w9tzv3dYG/ipkWip9I6sv14g9HBJCt0fWzbAz48tBY8CQ2oAE4W+92b8XPCE+0oRiQp3Lwq49AoseS42h2OTDsY1oDELXj5J0qs0UlZj++nMq8qY3HXMmnzWGSsxZcFWMGCviQASFBEdy8U2z/8s3giLLAtRw69HaBAvyhje+5Er3eP6xg4dQXTeY5M6uDLWtipg== Received: from SI1PR02CA0049.apcprd02.prod.outlook.com (2603:1096:4:1f5::18) by TYZPR04MB7577.apcprd04.prod.outlook.com (2603:1096:405:3d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.25; Mon, 30 Sep 2024 07:05:26 +0000 Received: from SG2PEPF000B66CD.apcprd03.prod.outlook.com (2603:1096:4:1f5:cafe::81) by SI1PR02CA0049.outlook.office365.com (2603:1096:4:1f5::18) 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:26 +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:25 +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 7/8] ARM: dts: aspeed: yosemite4: Revise adc128d818 adc mode on Fan Boards Date: Mon, 30 Sep 2024 15:04:58 +0800 Message-Id: <20240930070500.3174431-8-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_|TYZPR04MB7577:EE_ X-MS-Office365-Filtering-Correlation-Id: 2f099954-2b56-4799-f325-08dce11e429e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|82310400026|7416014|1800799024; X-Microsoft-Antispam-Message-Info: pNQ/1kEEWDBv36Ae3ePGCedFwEHT9lBJPfMLH+D7qMjxw7NUZTSG9WWE5zEQ/05QlL7brisEOclMSrXLq97rdDBqZLzA1p7Bo20xwJR+pErf/7JVzwUmeaUgbMP+/hSWCNaHidZbOdONL/jEKiE3bKzo8C/8WSYwq1nY5Xex0wYaSAzNOev1C2Cp3mSruQCFf58QcTIJ11KpNJFZQtjOw2r22ir2KjofY5fnK5CQHlDYBoSPxEV9XbxEnH+3g3mWHfmypHxwJrNiaCK2jFZeLQiwtuG3Dlmu1lbmiOtnQZsUYo1pqGnfWcvFw0a+1iOFmZvCoA1cEtoWOFZJa+qC2A28pViq5Jvl/OYRLJI/cJtYpURPvfcnqRjUTKE9zvdJpJJapw6Ivx7l9RibDR+6YDRbmo4L5jpqRh2SxX6NPB7i7rViuumNGizvbZNQs6RlLVUh1eqMQoxNeyTrw57K5VgA/YDwg5aNiCv7czL6n9TZdk/2AmDFQjLytH1E63ieteExuD3huJ+pjf3LLnZF1UuwZOtjHtrACDWReA9RBWg340CMDWkuAZgIrf/19jkYnp2+42iD2AqFoiygLihYjS+dXZ6Xv4fVZPKoFwcNswd3RzhPxSPv1dzd5tSmZc3cA9Hjng+pkokfPZjXp6IvooKVgt1ywolrbx5irUOvORZf2BfIHuiEabbe6vX+0sC7yuSMc2XrrjmnSf3iOCwazbw9B9PGi0IzRDAlpgZq+K5nm8SkcSqy+ZYBPh4204rfdBRZY/MSJYD5RlLdgZUDAHrFguF150GnEqmqUUYZGZ5+0BDeNeec2+ifGBUg3Vp7SfcOIVhK+pYKXYGYddm7YEZLQLWi3Ips1z0QCBFuaQmN2D3XF/pHmFiyM5cDNtP72qD50uzt84FWm+hsto0IrrMBQP81BQC3vpDHPDcPqZoApxq6sUcRGP1nKnNUe0fHN/8ON7xBv75yn2eU0TVyhd9/7k6Bo5cNobrbOq8ZqZbzMzNXLnybq2JDQLLfY50+erPVmImWWo/X5ChwxgOzwOC25vd4llvPE/crpPeI6TRJFOoByFNYjjffxbE0ODd/3pSgBw4RUVcc/u1R/rnVO8J83LEGwlMH9fqHOF2YjJ7TeHmWUv88Z3yvwHZo+TYiRYeR4bwDP+oCUWSEr0gmkNRGZrX0nmfQhmX1zWqalPHGyPkDJ1MnKhNynxN2mptS2ab+tKHDwRhtydkCM6fC5vdrjGlAjfING1/yAIy2Aztrvh7Mt7ooR9n2hQpDJv5mzO4q11/73WUyitZYBtxEsyKpHkmsQ4c+FFqQo4eq4GkgFof2q2aE/fqHhw0Busc4zjbE3rPxUG+apcm674MGgkJbAnD2x/JajWNoDNtVRwxQgp2zNRHu5yPjP0ceVWkJihr7iFJUUaGSpBxxqPWnq+yQjlYzrzs8SpdQhutLdn4uAdEjwxqxQuemTKulK9M6 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)(82310400026)(7416014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 07:05:25.5405 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2f099954-2b56-4799-f325-08dce11e429e 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: TYZPR04MB7577 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_000534_580824_5825DDD1 X-CRM114-Status: UNSURE ( 9.54 ) 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 Revise adc128d818 adc mode on Fan Boards according to schematic. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 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 6a1dccd23225..e235ff7c7a9b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1173,7 +1173,7 @@ imux30: i2c@0 { adc@1f { compatible = "ti,adc128d818"; reg = <0x1f>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; pwm@20{ @@ -1221,7 +1221,7 @@ imux31: i2c@1 { adc@1f { compatible = "ti,adc128d818"; reg = <0x1f>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; pwm@20{ From patchwork Mon Sep 30 07:04:59 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: 13815594 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 C9295CF6491 for ; Mon, 30 Sep 2024 08:30:32 +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=5i/bZoHyJSmMZJxO/mPyILNKiTIbi6Pc5Yof8O1IPjI=; b=ftD0NW5/3twk/lieTcIsg4BPTA RAtEbCiiku9jWSzRT6R+bvrEQMJsEKt/94r3Unv5BmQaTU+3HutT+M6Rp3YlKoydqYZOI5XdWj4JM K2zPdsq82LuK9CfIeSP5G7Bm77ztwmPM29UlJNh91altAvPKIdZkkxfFRBO9cQLfT399VLg0gnwlW fv0GinDasOOxFKCkDLWdrhjx9DDLOhjlngRHrZeW1dJaTITRamLYLfzt86DDYJlQ/tQ9QA59iKlGa gGt0U3Dil9JwGLYNRCWNQ1G3FdLah7B/oDF90gKnvkY0XAE3tbByQ2B6mCAVteVrfIcIVU1qCnLBY 5SDPEViw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svBnS-0000000GKeV-3c5t; Mon, 30 Sep 2024 08:30:23 +0000 Received: from mail-sgaapc01on20621.outbound.protection.outlook.com ([2a01:111:f400:feab::621] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svATR-0000000G7b8-2Pdb for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2024 07:05:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GWpY+X0sDZUvMYfm4IU7QTi7xYg3ppgnZwP7wTAGrXScvkkSRqPtXlwEEchmmXrAL2onqp0p4c42bPlvX3ly6MHAXzZlVGsNdONvHLy9FZAvpbNPwtNa1ukSsAAoLvg9Cyz5A11xdnb4k1HKjkaN7L/ROX9GMThNq7W7Mgg8KLcXAoUOYCKcmppQnkTnr9asKyrpA6caUW7Kxizv3ea+Q+91K+NiMFSPgQY5CxywiIk1CPWyCAd9WBr+fjBPtxLl8g0o3LB0ykR3Z5Ujt5JbO9LNr05hhZUTfFLgnhGoXB97Dus9oK5Az3SghmbfhsKIQS02lxMNwwqmHboqvAOj0w== 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=5i/bZoHyJSmMZJxO/mPyILNKiTIbi6Pc5Yof8O1IPjI=; b=R/tWfHxS7GMUrU4BO+qJx3MzUAENUKWPDjBonkchBdpv8SnsFrQhneFGUqlRD9lKx9LldlXvz829b1xC8DMwA4TY3TFzyEzaUb2Mtq8IuYdgPscb/oc1XU6ND+EiN2YX4wmAJ4W0DeqCTyQ2KO87Y7QpDwm4tR4gq8v8dmztrhUWOANRsbDgvQXXbQYKqed6fH33aP6VDnKrZKwP+Z8v1W7hN6RV1TZqeL0a9ag5/r4Ec1e6LrTQ2DHxUg9O0OkaWgG7sa8HCZWOBw52TwKvB0NYC4sl/2hDUJ8Qwtg9VYNYAxV+0AcwSsy/lhLO9tL4AqQiiyknsb15LQv0U/Qr2A== 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=5i/bZoHyJSmMZJxO/mPyILNKiTIbi6Pc5Yof8O1IPjI=; b=OCtoybFyj7Y2nTGSyV14TyNds0RuxHjwp7RyrH1EIaCWWDd/sj+knep254GW7CKhiYdsRKVQTrXhi3jdu/DEIK0dX1PEObp8z3V3Q1s0bmvKF1bJ42FB5i4JWukbXZlrg/4ubnI6d8a75vngTpEnCoR6LXKtaPsf4M1Uqmji64wCabHtHsVlhJ9K0msm79av0DaO8+qPeESXDHyKpgapY4eraC3sDc0qs67Eb6Ahvs79zM3v/k+tB9jjJKN5JSHIYujJuaYa97YG5oGPmNZhwmKajFTkQwKDfk9lmlH69YocmyfcL7EU5ATm5y5Sm/9Z0On/IfZJekCGBMBmMcnctg== Received: from SI1PR02CA0050.apcprd02.prod.outlook.com (2603:1096:4:1f5::12) by TYSPR04MB7284.apcprd04.prod.outlook.com (2603:1096:400:475::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.27; Mon, 30 Sep 2024 07:05:29 +0000 Received: from SG2PEPF000B66CD.apcprd03.prod.outlook.com (2603:1096:4:1f5:cafe::66) by SI1PR02CA0050.outlook.office365.com (2603:1096:4:1f5::12) 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:29 +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:28 +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 8/8] ARM: dts: aspeed: yosemite4: Add i2c-mux for ADC monitor on Spider Board Date: Mon, 30 Sep 2024 15:04:59 +0800 Message-Id: <20240930070500.3174431-9-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_|TYSPR04MB7284:EE_ X-MS-Office365-Filtering-Correlation-Id: 9029b5d4-ccf0-47e3-8ffd-08dce11e4461 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|376014|7416014|1800799024; X-Microsoft-Ant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usSfeHm9iHvhI4c5fObKqgZz2ScSX3alGtTt/VCPcI6XKc50y2dmjmT7jaSFoDT/bPPVafbCuSTmlnrFISchQxqKPdfPpbgXEzXtSRW3WVSMzdA6AnwLAH1JQWRSQNaNbOyLPIa5G7icXF9jryy2urAyKEELhLF68y/WAuYwGtTMAxDHPK+mhsVsbG5npMYTKU1nqqwKDoH5ZbMSt76gt//+QB6WKpVw+7t46FZqDmAv8Px/uwpmjHoqi8XSDDh4f7bbiviVakF+dfKBcmDT5skxrUwQ2XlSHoRm8F0+FNOeKDm0xzyyt72yOEhXTly8xNv2N+DHKARoUaTVwCYcyN18434euK7oHC3l6Izmdg3kLZRauV+Mdmp5vyTHjDWS0x3gs9RFnuSEikmjXz6JDVkf/oIf73BT 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)(82310400026)(376014)(7416014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 07:05:28.5562 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9029b5d4-ccf0-47e3-8ffd-08dce11e4461 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: TYSPR04MB7284 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_000537_641076_9365F368 X-CRM114-Status: UNSURE ( 8.82 ) 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 Add I2C mux for ADC monitors on Spider Board. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 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 e235ff7c7a9b..ec2d8a783ac1 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -34,6 +34,8 @@ aliases { i2c29 = &imux29; i2c30 = &imux30; i2c31 = &imux31; + i2c32 = &imux32; + i2c33 = &imux33; i2c34 = &imux34; i2c35 = &imux35; }; @@ -1128,29 +1130,25 @@ eeprom@51 { i2c-mux@73 { compatible = "nxp,pca9544"; + reg = <0x73>; #address-cells = <1>; #size-cells = <0>; - - idle-state = <0>; i2c-mux-idle-disconnect; - reg = <0x73>; - i2c@0 { + imux32: i2c@0 { + reg = <0>; #address-cells = <1>; #size-cells = <0>; - reg = <0>; - adc@35 { compatible = "maxim,max11617"; reg = <0x35>; }; }; - i2c@1 { + imux33: i2c@1 { + reg = <1>; #address-cells = <1>; #size-cells = <0>; - reg = <0>; - adc@35 { compatible = "maxim,max11617"; reg = <0x35>;