From patchwork Thu Oct 3 07:42:42 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: 13820731 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 540E9CF8565 for ; Thu, 3 Oct 2024 07:49:06 +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=F47+lFr35OElbtxQgaskMYGMxuTeq9ED4Q9Z3sufvu4=; b=z7Pca3lDI8CUAYdEKmsK0eIwuX h2AEd7bkOerHUU8pQ/GIToDIZXr7Sj73MroF2gESR562AavLw5zg6h/ZjH65Fs26cQ51S+PpmKx03 4IemvrTOZHws2Sqiq+i0Mat0pFXfKF4yRZeKc0sTBHEAOHwZdxM3HYovo98dKjeOZKm33ZvA6torJ owCGTG1lcYfcGpTgAj1NSObGikzRAwGzM50+wo4LSaQvOLtCthYKQ01bpMioK3dJuEG3jU29yrBoE fWNt2HFUnNMHKdPXwiltsMkijiH5aGGW8EyeOJSX4aP78HpBM0AbcOw92xeMhMOX3/3JOYQWBubTT OT2Ar4FA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swGZy-00000008RH6-1grD; Thu, 03 Oct 2024 07:48:54 +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 1swGUP-00000008Pwa-0Gof for linux-arm-kernel@lists.infradead.org; Thu, 03 Oct 2024 07:43:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=SGUDw2k0zx8+l/940bTJcuC4nop6MuyytlRndbOkZTaUxy7zFw2RbAaXvP3H6Tybg9GE4a7j59ZtzcRhlCtsCj41tobHJkmDm8hHYamNNdHoVTcMABvAYDGTGUJnHhtPYoO7dBX895NdOoeR6MdUB8hpQlEXKNwBcwQe+/p1pQuKlNdEjWNMcfXrS95dua6DCxHL8ytVq9oq7vbvz0o/TlOqtsVXSlzGb8vWi9SDPUP7Vr1Hr+XDy2k8IdYB1b+k6T74YaKpoo9FzoAwbjDUenON2a38arKWc1swHo0A/BXlfHAoUedlc8P0ygCIjS+jiL9OmYSEAolTT0bM5sxDfQ== 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=F47+lFr35OElbtxQgaskMYGMxuTeq9ED4Q9Z3sufvu4=; b=XsArM+ODnjjbzkJ2wh6cmBkne8Am/sqnVgsNk2/zZVg7LC8iuATFS/pHYERJtruSDaR0uQwOtDhBU6FXTXMkFqUxhKyC7arg+dI3uKoMvsR+AC/JhTArrn6ELx7k9HMP0ncC5/QnfRru6eAOELHbwMfhyeNQ+aVtlR9IMgT1ygjVAE7oLQAZHjJYm9QiZuYuCVlPI/bNI1bPem8AS6X4palS8GaSuOmOv+XyQKhUF69hHxEJ85r0D088/+Zu5mDaZloPXj83HonGxatX2IPZ7gQ3q8KOPPafEIcrJz/asEhD1Ql0fwwio5wZR7w6Z7yP021r6EhTlvKcxyb2LwD1jg== 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=F47+lFr35OElbtxQgaskMYGMxuTeq9ED4Q9Z3sufvu4=; b=VeV30Vh2rxkcZ1q4M5HO2wOkvUeQdqG7xLCywjRJiAhrgmsp2y5chK8M+yQ7ax7ygvCBM8MnDDUdXMIjWXpNiYppbFi3+voUK5mhmbvTJ1i6K4nhqju9aTHQSKWVQiunnkKWM6kx1otdbXVGGtcP7E/LYgVI5UWmvRpxHOOCzYC+KO/EuewcRPjHk2JmWQAZ56w4pym3rncaj2+g7mFqRSRGFRmbMDxVNS0lNAgPbZKar5acOs8M7u6XUIMwqd/PdjVUK4zgozGRgpOvCxtzm9oOJjvbKNhDrIB5SEowz6tAKJjDWL0RXTRXCVsIt+x76GO7ChaI2k3ftW86BdC62Q== Received: from SI2PR02CA0002.apcprd02.prod.outlook.com (2603:1096:4:194::22) by JH0PR04MB8065.apcprd04.prod.outlook.com (2603:1096:990:9a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.27; Thu, 3 Oct 2024 07:42:56 +0000 Received: from SG1PEPF000082E5.apcprd02.prod.outlook.com (2603:1096:4:194:cafe::d) by SI2PR02CA0002.outlook.office365.com (2603:1096:4:194::22) 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:42:56 +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:42:55 +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 1/9] ARM: dts: aspeed: yosemite4: add i2c-mux for all Server Board slots Date: Thu, 3 Oct 2024 15:42:42 +0800 Message-Id: <20241003074251.3818101-2-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_|JH0PR04MB8065:EE_ X-MS-Office365-Filtering-Correlation-Id: b9d09091-1323-4fe7-4d77-08dce37eff2b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|82310400026|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: hplh5HOR5W62UeCBqhNEBZO60IwI/9LloX4vmIc7xsqnp+77HDwBw+IRzVsJRJPzQ818O8tBAWr2vnC/wpMQow8rr7twCPfs5QqtBdshNIke9KqOp59hhLE+QfjIFAHqgIKidXo+QxjdIeCjb5mMDra8hgJQm7JTrZbI4cx7uv+XvfZORhz8ImsXP5QUyWclS+aLbBFb8DUjBh+f/g7yOGUqzBkwedFLvbGxZx+2pD0vnePv6UsAD4x4xs8VtdJFOGEVxJtkSspyp4BYmWfw3xSNX+kkSS//1zobeyFhktAhrCD/nnJ4d7rtIRaN48TdtPt1qGZBR12KRQME+H5ktSWXmukYRs95VjMn0JY16GgXT1BJ4o5ZMeER4LJWS8o5i0QR5pUm61jZi8bRX6qjAhrY7tAH32Ciid1SI+KzDyPQKD5FL89m3h35pkIfS0vi913ZeFLm5craOQvIn2rDxbdyveCP5Mwkc1yG5r1YteaTgVT3lsdNDm9lp0UWezNt5r5s0QyDC/VCpvmJp0GETvrYQCYOjNC16Cx98yybdg6NzHgUVDBRmj5PyDj2SnSlbgvo2cKGzh1fP+dE3anOjvi6XsOljrQfiuQcZq3HW/Jx7RHzRRFjzsuHAvMr49WP189BOEZP2KlnvL+BWR4uvtiDiPAcvmcrSuGg+qMnGMkwTY1Cx35AWKYqdaP46uzXhGtX8BitdAOApMoE20qhIoCKd2MdjIBRlkW4ccGy8L5xPGwNUKTywfWcaZuGolUn04nPby1qezITdq0oRt7pXVvByCRXWEN0s4YvEJng5RE+0AT4eWXaDfIxLAAfSiwJdeHqByTaI4OAt8hW4JD8ekX20ta3zqio01cAoGBCGCyIowH6JXxBqXETAcNN+za/fsw3FF8ebO4rGpX3nbooNA6Bwl92qt2yl/nwvK6qeww2TYxCbaaokeJ3mtKxoY9KLxYXjA7pejDBvp4aWXTVUWHf7ppR8z0cHQh4fHWrbaJxmPI8w2UMr8OC068h0zwk+cf6aU92JNZG/tpXg+zh6+Qb8Q61rWaQyixMpK0DKR2jy4BQ6FSEgand6GXyReB1/85lnHWfs98vuuw6AOlIIvSXoXjgP6k+JCaLaQwq9DF1S/ivhdCKgbOPrFDoRssO5bFXy68k8quSoR4bwaOoAeyo1iBdGGCy/iBmC0ZzwEzGJ/6VJwWbzEMfg3MuSXh2td4n4KyUcC5IHHyh02/hHL+EgLT3h64pyC+QDBXzMxi7GeqgVmcEIpTJeNXFDNKV9QU/aqCIu0aAspkdv6ywPBS0baCTTcdXJAaNyIyUcPhWL5lVKCkXeJ5tCba/kZcpZkj6l09Xqbsk9JYbMT0yyZf6cxHTBihMWB2ZBzr3uhs= 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)(7416014)(376014)(82310400026)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2024 07:42:55.8992 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b9d09091-1323-4fe7-4d77-08dce37eff2b 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: JH0PR04MB8065 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_004309_152463_AF35B250 X-CRM114-Status: UNSURE ( 9.52 ) 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 ae2a2ed603ff..5d623d0355df 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 Thu Oct 3 07:42:43 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: 13820733 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 B9B74CF8565 for ; Thu, 3 Oct 2024 07:50:20 +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=2M1r7OlBlNgE4G5byha6fFDgwQAyaYccrjhKFWHNQF0=; b=bBuDO7+FOJIykU3YkyN39U3FXE b/hHzFRDag8XwL062gaBB+VFCny0Ub1OT5gh6y9oeJooFZdjUINYyO9o3Mk6qsL49ZT1bVk9IERE3 EZUhtfSeoksLpQ6pDT0G0XUfm642tznFFc9+URsJpzi8ri6WziNDJ0RfxJDoGZb9wO98g47wREKZ2 ENH96mvy/Dba3Xvbs0GOnV02Nek/Mg1xvsvP7n/jYUF23vMFWHfFgVzlocyyyQcwhNPjPRsWL14yW FA1kd6KPiYe14TkLfKobrgHXi3+1gtHsg4jiePiGcH+Kbu1k+k5phAMUKtsw5GvzOfO3f3Xg8GwON rQ9Y+QLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swGbD-00000008RYV-00pO; Thu, 03 Oct 2024 07:50:11 +0000 Received: from mail-sgaapc01on20611.outbound.protection.outlook.com ([2a01:111:f400:feab::611] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swGUP-00000008Pwf-3dpM for linux-arm-kernel@lists.infradead.org; Thu, 03 Oct 2024 07:43:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=MkRzD1wCWcEgR5pAU6I2Xk1Loe0TYe5EtXzJS+O2wOUPugj6j3vWu+1kjutgb50kMfSVlpT3luCk7hnf+MhZ9OmlBS3xshRr0npsFLGFeT3PajM7isQXJ566V9UyhEf1UnARkTUiYPE6lMuagtV612/i8jDjdTOiyadwYHadGEpK1togtWMk5qas0MsC+NXqwA1+04IllwoPg2zTja14EwxIaRxqTjYSyisUnG44j5p7UFMoLKW0IJVM0s/NLRvMfgxiXYwPTkdgggQAUwG0zhbUkaaKIxX4iRLIRuvh55N2gEtr0tLke4PzUkeW9ROuXW6dJe0YBBrzoAa+gPFLTg== 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=2M1r7OlBlNgE4G5byha6fFDgwQAyaYccrjhKFWHNQF0=; b=Ikl7JlZjQ+A1o2ABqHHT8rfoceliYyP+4rgvreRY753gaZGR0vv4jCnUZCSgO35uLC+rt6b5XnNxTMROGIgZNpINZe3NSe5/AMuw/eN6bg+dARztXRj/rOqrLfvyigS4pculToKylstgNrngGOgPWY6Wrb3hHWxs9EQrfNzFsMCy82vtCzdzRzjpJG8HxLi32d+p0XCnqAMdaDHSW53lcFImWwMlvPrvhh86xg0I1yq5PMUfamD+PvurlMxmzAoumop1b/ML9B4Jz4vVqmzLQhx6nf4T+o+VJBwjj2qAJ0W2rMoSjLw4xNFt8wUQmF41QhE/D8woar+Nomhp24C6Bw== 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=2M1r7OlBlNgE4G5byha6fFDgwQAyaYccrjhKFWHNQF0=; b=SKAuGt85IzlyvailH/3M7nphxERsXBr5NfaqZfHgqqkArGnct2CCLwbUO/jzpPJctNlZGE30IiyYReMXrEVp+kCD9WKmkO3dMQ3lTd0dQT4o+a6YEVTODRr8KB53v06fqsB4NyN4a6GHG7l5OCMEeu8ifTdAK4F9jFSAWOhi1lZqBTOvLmDsxFJHTWYj9MIG1jXcJ5mM9ByMpJG8gNljp31cYsgNjLbQxzSQk4rVNuMQv8fZb/Dv5bvUKIcQey5UmI8sU5YoYQSYw+54QLj+4FlJoFmpdPI0/gcH3VAUDzYGtElE007DrSoI7TX+SjdhJISOkSiNF3ytPuFyycZ7tQ== Received: from SI2PR02CA0006.apcprd02.prod.outlook.com (2603:1096:4:194::8) by SI2PR04MB5694.apcprd04.prod.outlook.com (2603:1096:4:1a6::12) 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:42:59 +0000 Received: from SG1PEPF000082E5.apcprd02.prod.outlook.com (2603:1096:4:194:cafe::95) by SI2PR02CA0006.outlook.office365.com (2603:1096:4:194::8) 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:42:58 +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:42:58 +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 2/9] ARM: dts: aspeed: yosemite4: Add i2c-mux for four NICs Date: Thu, 3 Oct 2024 15:42:43 +0800 Message-Id: <20241003074251.3818101-3-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_|SI2PR04MB5694:EE_ X-MS-Office365-Filtering-Correlation-Id: 680ec723-3c7f-4f4c-efb3-08dce37f0090 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|7416014|376014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: L6qB+HxneqzTgRgl29g2WRJy6UI+WErBoGsvbMBjMX99dxXV6Eap9TyWPJDSsazGGNred326DVCctalaDft9O+diH94I4usJrJCPCn7H0Oqp9tMhrtZIshCZIJti61EV41krZTdy4Yq04S10pRw02ZFsJTDl5Mfwb16Cfam7GiFijg83sQVwK2I6pn2xhKqLmZvFqlEPf3OIDNk5QgQOuVp+A7eLYOe1gOGd5UEdM9h2zzNdiXj70XmYkD9XYvQhX6VZ9z1fIatDj8KZLjgmj2gAXRiVjj+3Aap3LvPInoz5pxR/9r4b7I7H7/KnUkKkQNmnpg/jfwguinQfwlAyaachcx+ZCzhmPEJwNyoLfht02L2dZEZH1E+c88MxDOvq6XWPeGJeDUKWBZ9WWiMNock0ZPMbo8WQnVuqjGKbcJfThBljA3tNOi2KUwU7C/z3PcCbWeLpU+yNYE71tAId6p1L3lUtrh8J9hvO1fWiZFdw/JRy3kExAXJ5BeKrGaRkcTu8KYvetT4B5dZXsiYJpS4V1aw/KNkJBPDQriF3OEj4Es/8YI+rjuXaJBsDB8cBk7SwRaeA4J3RdCNVsmQ9avL4Mr6HiMMB2orofwsXQ6nVvrNA/MY44t6xDJ6chzFPlkTUGccLugDMkKoad5g6Vy+WSqufIrGIwmiOjpYmO2xGmLBhIfABUyigc5XBmE8t8BbJLFmruQuAru6a0zZZyniC876SuuS/NpfQ21XYrFvC/b+lubG5yMoN6Ei0pdeUCT9ysHIFRlGedhsVUva3C5Jyhh7v4ucw0X0OGl4phBWH1Q9dGjaW+tvUuWTWDDoPl1L0vo3sv/Wqmx8hV5fTKQEG/iexschfg6rpjUWVNvB6HTxw7nnHuS1ja/FISD7loC1mK7B8ehAhA71K6h+IfkPKULVMxFE1u3Y/W1ubb03dhKL6qWKjt94Dsrjs5KAZmYmi88+52WMHjdew1qP3+WLBclz/xXDGBwU1tQwe1Dz7Hs1uWlBiax/Oq+0V8fAoaTDKWzh7NxJStGqYVoeS4R16YTIAmSyWXtZlbFBs1m3O+h4PWngtFFpR/1CdmdPjexSzJxAnM/gRFEH8HACQoBSd5dPnqICUIyXXHV13XeKobD86ng+jcmmskrq1pDjCUYMQU4Psc0MBiKpW6NW3JTdg0+HWd/QLuCw7MZEuH8kA08CIsFzNkn+qIQJvI4JyKMnBrQgmD13HnKsvnvo0s9hn/Pvn4puvYqCUSZi9q061GytqfXTv/45pOmOfTOxW/96Nfg1L+1SdC4lbXB+rbaBw1hxVOeNKzrj1DPfi+UQ2lcecAUzMdl3KqFfYbTfS5oZZshiEFVtn/o/1VgT0BO9t+m0thYc0sqp7j57ak/V/SkeKExGFbkW7Yc0SdUui 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)(7416014)(376014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2024 07:42:58.2430 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 680ec723-3c7f-4f4c-efb3-08dce37f0090 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: SI2PR04MB5694 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_004309_942711_86C33B5C X-CRM114-Status: GOOD ( 10.22 ) 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. Also remove the mctp-controller property on I2C bus 15 because we need to add the property on the I2C mux to each NIC so that the MCTP driver will ensure that each port is configured properly before communicating with 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 5d623d0355df..fc8af704fe20 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; }; @@ -1168,8 +1172,9 @@ adc@35 { }; &i2c15 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; - mctp-controller; multi-master; bus-frequency = <400000>; @@ -1180,9 +1185,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 Thu Oct 3 07:42:44 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: 13820730 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 1A34CCF8563 for ; Thu, 3 Oct 2024 07:47:48 +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=Eh5xX0fEePzrG9T557ejz+GmoYP2wzajNteZogmcISo=; b=shZHUlbUhwN0KnZRZH/F7n/X6K 5PgOIpA3J8GObxbj0hHsD98IbcEOuot80na1y575ut4j0+KhnBSJNXRkbXPIRPk7RTRwLI2IsJ2F8 haXC5U2C2NMaYMnuA8+Ed/GSMEdAsjWlNze5aaZwGbi7JwTr8fvSSh3qNBJI8B77Y94g4qezA75Bi qLmuW9mzza3a20ia3On/Pu5Kd/q2hf8V20YsPvl2JUsC6+SQ7OEmBdM3/fgcXZW24bPpqKYDX8G2T GEL39LxIdwKE5EUPl+qh/67V3wyQyhl+CWMTWPElK13Syxey2LCo2Ua6VcfRF28akoTy8A6npF9rJ c2sGya5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swGYk-00000008R5z-3Zsd; Thu, 03 Oct 2024 07:47:38 +0000 Received: from mail-tyzapc01on2060e.outbound.protection.outlook.com ([2a01:111:f403:2011::60e] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swGUN-00000008PwR-3nkt for linux-arm-kernel@lists.infradead.org; Thu, 03 Oct 2024 07:43:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EgB1OJ6YptkdRXOHEl1JBocLIAWo8nQPyRqq+lNjP0qX7ZPq2jJbjKMHHSCMmsws/myGP8+DTXuXBgSCDLz08gr5JuUElr3AeVwMRmo6LGvIyHWSRilNsUC4zRg/SsF+22cC+2eeo2YEtQk8ujLPydOVNVHgFOv7lWYqRedpQNUucpmdjFGitvjYRReiIIPHPTz1RTJb4cEw04lkJn8n9DX0vXCvEmrQDy/l/8zGTVyiz5icHkjYTdllbtVRrFsOypl6QIDQVyAzFBO8tvHAn/0//GRjoSAKGsOYFg3X4YySKKh1W7U+nVGZcHKbhe8SPfyEzCkXYY1hl1Xr5EqSyw== 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=Eh5xX0fEePzrG9T557ejz+GmoYP2wzajNteZogmcISo=; b=TrUTm5ubhxStrK4jycm08K+YuUJZz/gcmRQVOsnM1nQUqiiIQNaRRcUjZEsVYMpABql4vVragKsQo9bhbvRAoEOiSCtMKE2b6WFkTc5jM3QMBI6RJUXxnM1WEGAeB5i+EGLwfpmlXp8Da57AJUTdQDH6cBBDaLY+0tZbBK0VVM2BT+QfFXlWXGIfm/Wv97X3hwmxohrwluvBPgrVmeAiur0dSyY1CEJ0kHsXiottjsmE8OHolQ1zAsFEg+DgCaFDxlfoMJg8l6TlziP3ZrKyq2ikamToX28JT4QOOlNbnqCPDJMLk2kxslTHnsldP8d61BEqC7eh4o0g7vA5E6/m2w== 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=Eh5xX0fEePzrG9T557ejz+GmoYP2wzajNteZogmcISo=; b=Hz0zneIArmBCdIm42bJ6QrOfcCSlI98lnVI7vEgH97+10GyVDizw/ZTlyAyqUWQBgd2hpIDZpCXJfYjbz/q52jqqsBtOTYuCffct28Va1+6OVvmLy7Z9qAIZNSIZTF0gHFzQ1lsPUvTU25scWad74wUsxyL3VjKe7B0/hj/c+9tgh/KuADaRmTVW+q0PNlFxj3fH0OyqQcKBfp+yI+LRVyJ4kcuiJYvvN9R4eP+HJFo/C/wR03XNYCZmQrvbw2VqwZpKxoEkgZCTr0xq35mZiiTAcVrcgQp3CBOODejISuamjyhNwRpUKPZ2sYfWw41iDzXMXKdlbXg42OlBdNG3Rg== Received: from SI2PR02CA0013.apcprd02.prod.outlook.com (2603:1096:4:194::21) by SEZPR04MB6201.apcprd04.prod.outlook.com (2603:1096:101:9a::13) 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:01 +0000 Received: from SG1PEPF000082E5.apcprd02.prod.outlook.com (2603:1096:4:194:cafe::ad) by SI2PR02CA0013.outlook.office365.com (2603:1096:4:194::21) 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:01 +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:00 +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 3/9] ARM: dts: aspeed: yosemite4: Add i2c-mux for CPLD IOE on Spider Board Date: Thu, 3 Oct 2024 15:42:44 +0800 Message-Id: <20241003074251.3818101-4-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_|SEZPR04MB6201:EE_ X-MS-Office365-Filtering-Correlation-Id: 0b3b55f2-52db-4c08-57b2-08dce37f01dc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|376014|36860700013|7416014|1800799024; X-Microsoft-Antispam-Message-Info: QfoUGf7H1DvZzJFDWJCoek16J08TkMpHgp0HxzS3lmc9AO8PHCLKgngKXg5ocEc3IeHns2Wl0OQPWMuOtQpVXv+jk2jEpGtDOAkP8oNTdccgwKur6vuB35DIxEE+UcOsjsiyJu5dSXa6LdXDmd4g63e7A5tcHkPM17/HD16AL9RxGTk9IVMvgSsLoeVzt3Eu4sNGS+o2L/sIXQ1nbSFUoiDWN20XAKgU05rJKT13HwpCgzSwJDguZzI5e7dX5/LfWH1aqCMSoSbtemRkymaLvcMA1HnjinjpAAIv0uZd+xxOySoy8vVmHDn4Kzzcd5npCtuA0kKtGeO/GQkihF+JB7gEzQejxNGQ6lgMt0iZlw8tSrAT9IQJS2c4AHiXizXTarDAshxbjVidYMWOKYfiTA17svr4txBDCUOrvoiLWOQVoDwLFiZVqBL1sLsqENZ49VJZ2OxgwNV0qGM+hptCCo95sFUe+MN2YFYtfugqbSQmmAmPnnoTjyF9GFeFmGjJ1blA347NFFMqwLLuQw5+2/lJkEK0DcIWvGZSDK7SDWBYPL+enva6ptJNBJD9cP7L5ydPdGeBuNsr+0PpPovsnLNa3DjIj0UJa/8DmLw+yDag/RnrPRv70qZwidvtJJTekCOzlv0sRTuddRiVn1xtocCI/T+tZIFNo8E6OyodyDeEay8wdhoog/Vr84b7oZEbPmZq2vOTlYa1gH/pNRZhWzhhwb2/ebrLkXCBsYj4z0Kaf2e4DsuD3TqZmR6rC0ZmYuroMpDMzH/z8GGYYVVrz0CeYPt8NxEit92xYCvmrA4tZ0ABjGQtXAxasSfpPMz1ufDRrPSecH0E0L2Rh3PGtKcDMENOpwIa4oXtW+SVknNxrzxDEjNhgTbFTFao/0vcdY7ZnzuH0XxhBFDF7OZAzTsxe0O1FQOH1BGn3PZw8Zokur0xoesRdxpmzDh7pFwlMG8h+Qa3zv0UyoLSlT2eoSEoPY1591tX1yHx/gxi7frK93Sx7gAhsFc30qMyZuS55M9jdciu3iklP9+fbEQZFRkB3LaReojN/wOcvhfwYMuIDuXR5lITj7iHnjUCJisXB4UZSlXMYogRsLnV+Vz2QYfkHh/xFWZAvI+3lDg1HLbTzUAhy5bmCoI9oMxbRhnUEYRb3umKj04evNesJVOGvb6QqED1ijY6nOgsu1GzhKaLfDqcmMLhLuOGB3QPvXJmDqZeEJxKB/qaFNHV7NfDOHCq8O6QMjh9io7J7Qgh00TDZVVajt0Wy8xMMkIAAifDMIX4oENsFlLO+xV5zLdvz0tLSo+H2k0M6S8a25ViXM4xxBnKRtE5d/a2MFxWCNR/ei+4pBtY0rSwvzuSfrE5X/Z8sbX1BA1ssfVABP1CBMt8TC6jgGQi1NrbfdPn6MHn 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)(376014)(36860700013)(7416014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2024 07:43:00.4305 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0b3b55f2-52db-4c08-57b2-08dce37f01dc 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: SEZPR04MB6201 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_004307_978129_54241F89 X-CRM114-Status: UNSURE ( 8.18 ) 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 fc8af704fe20..62fe4d513852 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 Thu Oct 3 07:42:45 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: 13820734 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 C2453CF8567 for ; Thu, 3 Oct 2024 07:51:41 +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=GiBJ5q+bi/IjTKgy5bY8+hHYQMTUMoy9jFuZwzN6mzw=; b=E83EFcNzrK+FJeziV5puZslBm2 Rp+lXM35+I5JmXsJ20iDB1L7c86/Ix9CiF8oPMyoeomN5iIP+z9BfdxEO16u+1zFNixpP9AjiaAOS dMbRtUe2rdScdHrtGg12J8Ay0IV9Q2TPxwra4LJCqj8Xxwxa1cFMtYf8pWp1SG+enixlGfug0vyVX 61HeCAWqCXuKEDXh8/JBy4fiwiWgjo2gI4IkFDOpB6DDXohk09gxKH9XPRzxqKSUoa1nGx6idnk9S 52vng1aSb0Cbt7Gw1Knglryahf49DrQjLVhejznrsmttnNs/aLOsG1D6K2pHaH3Ho/bMM0zdcjHLZ j7R7f8rQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swGcU-00000008RoT-3LMd; Thu, 03 Oct 2024 07:51:30 +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 1swGUS-00000008Pz7-0arA for linux-arm-kernel@lists.infradead.org; Thu, 03 Oct 2024 07:43:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CU6hFIA/OclnNpG9aeiICxyBq5m+WktO4ZYzYQTlLRPwbgwenHmoyt41UdXjRBK5zVk416YRdJjmi/GzuvdUQ/mkK3pNE0OMqcw3A6+nr3Rb0WCsKu4haA7SnCzzIgjZR+v0jSka4ffU3fZVqZeYnZvLrHuFixwU0nubQYjlY5eNfHRaleUv8VLzPiiujK5ZpFSk/6rdhXq+ZsbgXZQuSxpDpW//BxfV3AdiMjpyJ2OUj4Y1yCFQroEJyc5yBjq2L3eneG/TGj3K7Wt8pIGmdxVdkpg4buFFmQOVYv7GC8rQi2VLWh12TgXEQ00tOvuYzl7GeB2mC/2vUUXa4aIMmQ== 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=GiBJ5q+bi/IjTKgy5bY8+hHYQMTUMoy9jFuZwzN6mzw=; b=LEBO7LBqy4bmwv4Kn4GICMv6uYKz1D1BPp0r2oI8owkqMGWTzF3ExYVDQyi9Buq8z4wviXfbfI+dejvYirpwFQWgjduY8ddx31NcRov2jvIro0DSH4s6R8d+SjVVY9eL3pkhq8M9z9+8jK73H7WlLl3BsQIK5t7GRCMPJzcKfqG5epgEBi88ARyqyz9vj03PBSfjWJpVi5UCUgKKJ/0F+o5KndhAVhcN1VNP7Vgq/UEuYpMAYGgkvgBoNgXVU+ScjS/wn/w2iq40SAIjoKRvNeR7oTJ0DDSXeyllIAWxPc1bPO09Etcl2nI1VP+ZALPgr/bZDWT6jaEgBC9tWdAv2Q== 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=GiBJ5q+bi/IjTKgy5bY8+hHYQMTUMoy9jFuZwzN6mzw=; b=rPiJscTnGpm2e1h9ctUHln6X0zDmQhehz9/aT5s36nExx826EK0lD3pX1p3mqwZ4au9W7OHvSOpI84uqMK/32D5YX8pSbC0j4lFwXZIFRjqFWhYZkMEq+goxrDWNCd5kBu4P4og6clwqoKofYxwZza33RnCDyxCFgM6b5N4COyg5ialCCRvGoro6XhxFO83udXJVWx03QFLh9ifUo97ivSw3jcoWIVF+P5kZ7GOxLT0ap2WiM+skSRMHDFTi/dySBAPt3mgI/okMqKauhdF9pqudb2Rp4fa9vysgHb6L2PXBt+vK5/+rylTGBzoGKh9TFPhtDxxNrwfatjG/CUlngw== Received: from SI2PR02CA0002.apcprd02.prod.outlook.com (2603:1096:4:194::22) by SEZPR04MB8336.apcprd04.prod.outlook.com (2603:1096:101:24c::9) 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:04 +0000 Received: from SG1PEPF000082E5.apcprd02.prod.outlook.com (2603:1096:4:194:cafe::1e) by SI2PR02CA0002.outlook.office365.com (2603:1096:4:194::22) 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:03 +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:03 +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 v3 4/9] ARM: dts: aspeed: yosemite4: Add required properties for IOE on fan boards Date: Thu, 3 Oct 2024 15:42:45 +0800 Message-Id: <20241003074251.3818101-5-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_|SEZPR04MB8336:EE_ X-MS-Office365-Filtering-Correlation-Id: 246a350a-8958-4e68-45bd-08dce37f038e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|376014|36860700013|7416014|1800799024; X-Microsoft-Antispam-Message-Info: WesgE4TxySCx5UVvX22sSJneu/SDT8+lXD/8BU10uBFc5kE4CNgs7MB4tFt9TAiKu15eStAvz+DZ4R1dTX6YxpXLPecUIzyNx4XUdub4v74DZMCTE/XuawwtMy9G12iQg1sIurt1BfPmfEGmQe0d6QgfBmjpMlStWJ57NH0wUqBUZn69Iisqd22gmuSmeCycAnGBwir7LyJ6lL/UNOIw8BMO751gwk/PdTPu4fMB/H4/JgsIhZT9yMTZwgYYgZammm7WdVBpMQ4vmdFuo6Ok/lJNDqnUztylFqS0CyyCrTcL8Sbjemx8xIivZ1F4P4+T2SkeHoyB5E4NBVGphNTBNYTf2kntjZMnb++sap3Ox4fgfxQWWnGJoYq3S2jGlSV9lcTNn6BL6GnwZ4/ASepS1R/BO1YqZVlxDRJegHKOVh++I+uBn/DIF775ARXrVCA7CnlBLfk6xCZAFdC9fh28vWE8BAX/xsN6y3i92gPJtHYeNKG9MuZliiHjUiWRSufNtIjciDPu1bj54+/B+ZUzgP426IiOwt3yfZ4CpSyd2mwGJyj9bgcXZQh4uosaoAsRsMbjUROqD1dE7lAOLppl7thEJJJGzdsQBV5RJI7n7qI/ienVCGrzXnReWuCh3Z3MJKh5t2SySQ5Spu1qcP86WSKae1g44ToQZl1/PCwQPs46Rc7ZeFU5hOwNvlBTj8zymF1f9l/nSrpT2IncxscefnnqT3pYL6oav4mYJoCW8IGm2iIk0m5bfy4bLl6fHYbgb48aLu227HSQf6f7BgKwvfP2XxQ7UaV3Dm24Iv589GnKvaX9j1KWLiYnsAois4Lr1JFFwdc1rkBAxwBp1f9TfwZxiR4rm9EWoZtwXnv1QF+WhiIHqTcFnH4igWqpTEN4k5gizXlUYsd9Z/rwKK0yrBu0vG1UDrbbRh34F5W1KRrGo92ZC7KwhFlecz1LxA3m6u+Oy8Zg6bQv0U0xLo8UuUS78mutcK0Zcby9vjsF1Ca3S6OdkpNZ5URjt9W4Pz5kpAFLZEvjyoZ2lat5eh6O2gYHBvLjhV8fFiuVBXByiwvMBYC9MRva/dqErqW7+YO+HTPPKIWbEzAskTx5mvwpCSOkrBTkowuyBwifoUumyoTMuQo6TOd68NO0iBSIlXIQUoAqTTugvQK1Val8CZNaM2xsgl+JGb3wO4iZURBkb1UNhMx1RP2uHn3UiYhQ3ieAQG1JDPXf1El4kip3OvdCx6impokBvB8f1UyhvlExevxGsf3S3/I+LhBSxpaxL/x+plDDjAYHr64VT6FTnsRalzYMqJYn4WYCeGczvr83091Wk+BAUCu8qC80yVqpM6pJB/SrwE8rh0UDxfpuKRxLSeZt8WbXFBZ7JbPzCRHvVjFLCNpUEefuCdB3QfoHPiCI 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)(376014)(36860700013)(7416014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2024 07:43:03.2275 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 246a350a-8958-4e68-45bd-08dce37f038e 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: SEZPR04MB8336 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_004312_207230_8AEA995B X-CRM114-Status: UNSURE ( 8.25 ) 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 the required properties for IO expander on fan boards. Fixes: 2b8d94f4b4a4 ("ARM: dts: aspeed: yosemite4: add Facebook Yosemite 4 BMC") 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, 4 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 62fe4d513852..5a995d8c326a 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1124,6 +1124,8 @@ pwm@20{ gpio@22{ compatible = "ti,tca6424"; reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; }; pwm@23{ @@ -1174,6 +1176,8 @@ pwm@20{ gpio@22{ compatible = "ti,tca6424"; reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; }; pwm@23{ From patchwork Thu Oct 3 07:42:46 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: 13820735 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 1FD70CF8567 for ; Thu, 3 Oct 2024 07:53: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=LVk1jw2E6gIcbOSU2htwOPXmE0+0ppjK2N4w/u8DFHM=; b=kAv7x5/oD4LC/Cg+bXJMh3nJvK Cu+iU8uBzYxd8+oOU85bAjZr4CYqdnJmDWxZVyBs3cK3WhuPp4zlV6iabK37LX9BgzwoN+l9AQvcP NZlADaWmRAhcr7JhQI0jkG9Cd+v+P3ySvl07+rBPTJMNAFV9l/kKo7WhjG56PsUt/h/lq5rDP8shc u1djfAYZtzHlRajyNt09Syw+oTvba+Ua7WkTrolWodCCYe2dxFvFK7ois3kU9ocYDFU9gGPbFoctC nIJ1VRBXo1agzQOIqcSHp2qvD498KbuxuCO+qw/1y2Nf9xbnnSng7mWp+CX3GHNdV/Da8aSazL1yu poXLBeEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swGdn-00000008SDx-1afu; Thu, 03 Oct 2024 07:52:51 +0000 Received: from mail-sgaapc01on20619.outbound.protection.outlook.com ([2a01:111:f400:feab::619] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swGUT-00000008PzI-3Cp2 for linux-arm-kernel@lists.infradead.org; Thu, 03 Oct 2024 07:43:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cA2r/XSNRHn28iuGN9jfUs5QByFq9sYU+sskFVKBnwUHMBE3Uldc9Rq0TDcO6hgLUiCK+5vj5FbPLQPVtnQacgJHzog/pSAjNCiO9CZDFAndS5oXk1aBUPXKAyZEbjPXO13jEBej3GwNB6FUHx9f/b9+oXErqHJ1V7pHZgbkIipeLljtW/Xc+bdkoNr9NgEpid58TsR7li4C7W75oEx50/NvvVFIp5oOBt3/5nboCkEfcgPQ7SR1wJ6byUT0qVOJR9fqV458TKioBL86ELzrFtMGw4FYfSbKUYPt08elptxSMzsFOvGYEHcT/yjkE1UxvK2RoW+26kps35TqivFhSg== 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=LVk1jw2E6gIcbOSU2htwOPXmE0+0ppjK2N4w/u8DFHM=; b=nf9UWu+W++HqrE8pwNsO7t1ao9SJzbAB4uJfeTQn2p4jtwo7NQqPJaOR/+lrZnWFnV4vsj8NF5KtfWD+24xVvN3aX4zaStFCe3U9nWAhIedVYA4QGuPe6ZfaSsgf52WVKpHyOemNBFARdvaXlTxsuoVrYy5Ee91ycLOD6rlMjxnayBrV2XP5saJdUcUYonMgR3DUgITDj941DRCO2nxwl36pyzM77ifcIWZfMkPEqjhhkqoi6pcF2bq0GRdkkCVDC1QltZu/3+DBrCV0bsf/sElSyZC8R/jAhDxH3adZfkDRcdoXx8Y9fqW9Jq/lWf2wTDZE67ozNUkRLlBOy3W7aQ== 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=LVk1jw2E6gIcbOSU2htwOPXmE0+0ppjK2N4w/u8DFHM=; b=HKsRjzrF/KsxP7gDSp39YGosMWRFuta9W+iqaFS7R7h3bM+km9y1kBkuZuIWnEOvDnSmpW6ObISUad8/9nIj1KWuYhe6dZQBWhXDnovBbOQZ+MO9kY9G/e2uD3iD8kZyYisbU9TwSw4IX4O5pcQIB/rX8tLVFp/cipUmRaZrLUM1nruOJPMj2N3Wu1yO3H+EQw9DSbdCCJdZ1WvpXS0n4TbgaZLUkBK20R/BC8med91x8wVYPgLZYzePkg9XfIv5T8gvbpuGLTgnwfYD8aRYSjagtftIvW/zl7JeGB3Cup6nP4T7aNpVTVi2Cwi7jbMSKvkv5tZ1VzXUAJonO8GmRA== Received: from SI2PR02CA0004.apcprd02.prod.outlook.com (2603:1096:4:194::14) by TY0PR04MB6424.apcprd04.prod.outlook.com (2603:1096:400:278::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:06 +0000 Received: from SG1PEPF000082E5.apcprd02.prod.outlook.com (2603:1096:4:194:cafe::b3) by SI2PR02CA0004.outlook.office365.com (2603:1096:4:194::14) 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: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 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:05 +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 v3 5/9] ARM: dts: aspeed: yosemite4: correct the compatible string for max31790 Date: Thu, 3 Oct 2024 15:42:46 +0800 Message-Id: <20241003074251.3818101-6-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_|TY0PR04MB6424:EE_ X-MS-Office365-Filtering-Correlation-Id: 550cf651-62a0-4b17-204d-08dce37f052d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|7416014|376014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: /7xzGCrS8nEHY95ZXXUYKwrbtvxY9Rzi58/xqMLXZZs1ErYvMKVs4e4X09X4G46M544uk5OHFllpKrtFtt1kxezyjaBy633LbHRA/WumR90BT0uqkM9XdJ4roaNhReCBet8kVXhsZe89yulNWRTD+a0AveEGDIBuBYxP7C/gOOZspD4xYZyVNv85sNJTrJS6G9kihUONGICNsaSFPZBRARF0sw24TF7w/kbGAfBhJJIPBjM4wsuqcjqJetFjyIikjNaOXr6t2JiC08lj+0n5tnBmTbyQazRGdGwRmrN//jgNRn8722iEWh6YroHcVZLiUrUt93HxJ2gK9s7048xGnIC0YFufpSDiqjOXyqM2yML2pv8hKJoLwJD/oEuVhN3x1lsGuEgWwdnC7Hp68n6hIu6LD17+xT+XBorm0u6zHUyzEQNXXcxHnkwaN6yprvq+jchInaVZDWxojYsfulV+1DLaVMWVofe6LVjueKJAxOsl2mMpGTWHsFuMpICzpgUVo53xoTDRa4G3cJmAnoyP1gZXc3fEs7kOm0AKRJH7rR2JuGAGJuNfWMb6LTJtWLOj4PgCVjd7pSZSgPhx8EPdlG9HjxCugGD0JpntoT+NR3ruBor5AJmgcH5iEnlNlh7CSJmQkiZjwCxrF/oFD6N3JIweyrGPXIkM7LDc1AK4EFS20gEozYkCHVfCBTpCaP/QHPMJqkd0b677x9tBiRTEs6xcs+o0fAyA3NIsyqxHPHriqifX+R18bMWusGV2dajuEbtZLG7NU1rrc4iG4zBFgl430199YZNTXDbc1dbbolU4cLpjT5cJB5L6OgkSWSOdJIWChQ7CAQxfKaqJTuSE6r60r3syF3OmucpEBS5xSmxX3ptSfmqkVewO75A3EdlfQCjinO/Qul8qEHuY6P7UuOShS2NKinWEBWkQzc8NZB5Tb2v+Lw9qkPmRncGtkFjtHd1duY1IX8SplvQGRupbwWT6UYFVZa2RfejBOQxTtoRU/in8TbOKOE96DjxuckqduFhGYN9xSY59azSOGwHV9HW76yYJGQF42aiXlGSuaZ+Pvb8wKIMM92tfKfQz/A/hQz3XyiSc8189gD9EpcDx2tFEGOJ49mVXRtZX1WQ1S354pAYu5JrTrUEFSxUCBsG2/2ItT2tVZE++8dleRTy+SAHPWXJ0YEl1c57dXemySu+LtCCDNjevQbUOK7W5oiaS5KW2iZGMABMdWe+H5PD8jojsPPMD09a2/Z3hVk2VXcFjEcj2Yp9+ecfvRRL+66gs6s22SM0CUWjroskB27jnrEioD/UpFo94MESPVp3A9FYUPGl9YH0KjRYVeYLNhYU7d78MBKTbC01fXqDfWWGrE5miQLH/JYBHmqkJUXKQsgcDuWGfBtcLxIt564v865W4 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)(7416014)(376014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2024 07:43:05.9150 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 550cf651-62a0-4b17-204d-08dce37f052d 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: TY0PR04MB6424 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_004313_832717_9044FDC8 X-CRM114-Status: UNSURE ( 8.85 ) 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 5a995d8c326a..9a9096c94328 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1115,10 +1115,8 @@ adc@1f { }; pwm@20{ - compatible = "max31790"; + compatible = "maxim,max31790"; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ @@ -1129,10 +1127,8 @@ gpio@22{ }; pwm@23{ - compatible = "max31790"; + compatible = "maxim,max31790"; reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; }; adc@33 { @@ -1167,10 +1163,8 @@ adc@1f { }; pwm@20{ - compatible = "max31790"; + compatible = "maxim,max31790"; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ @@ -1181,10 +1175,8 @@ gpio@22{ }; pwm@23{ - compatible = "max31790"; + compatible = "maxim,max31790"; reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; }; adc@33 { 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+AWfJ/n1+MxfgKQWz4oOHKg74mKDXwoJJFqUQqSaT98vYd2hvYpvngC00gw5UyzqDHpkAx0uz43U0N4xCznWVfF2UsKEDdk1Pot+UPKSLH+eyFCQRWChgyLEndqHsJnh6rRRfktXaX8YE1qvc4CWx+fHlD55chtmLUt94VPtIg5tipU4L0Ih6AazvafETozR2RJFjUHaGon7DjlR0U2UWvUrNHDDkzGBJ4rUWRkXch9zNGNvjro11GVca5knNmRtq8h8QEmk47BqLKV7lGHC+qvaiB6cZpt+Lj/k/kxYiPFO5QrQD01J/n6ttOyEm+VEbA0QUpIPKTpi8h3TmW8wpwN/xAsgtSmFV8le/jLcZTTLoocQ9ZsZZnWOcw4mJIIBdSgJjfbHWrPM9EBZeLMsa/b0leF0O8qaumblW/YLrT4PZcTgYCKsENvvDKnEFfGfVjwY//sLZcrnx2jCtNGhy44vryzE5DrUoluW5hvOiql4KZTjvUA+VdYjQb5UDPHUDmd6I5Ows9ywSlFPvR3L61bgv8wHXkkiR3GC4ucJdinGgjyXs/zO49M1g4IQ8GBGYTDw+J9OrHM85Gb2qFpPYfIs7K++xgB+EPmQ/TfaoaWuEDsKYdtGxQaET+gV0fAjuFBDvZXTPkIBH+T1sC4IUaA1EkrLTvercQI0gPUaMdmfG4oMV+EQxgehl0XLEArv0WY1Y3CRlI/XPQdMTYqmhcrI4xlQjJdp7hNQA3R2OFqACPQAzko6+Wnv+MC6F0k5bHdZdMR0//Wjc3uwJnrUT1ur/+Vt+JQTtAB4b0S75itRfssPEcRE80sKphlpHBbmuGsh6HNdo9PWpRAE3O3WWE5bxMW/ruKKsxUyK6iZ9fXXVP1Rm7Jq6sv4iosPO+2Ry0Qb+437IJuE63vzgQNR/S8zQY+yv4ecKj0OWCAnugjugJq2Vi/pnDzDH+aY2T9rWcRS/47Hw9h3IvMCT/PPFVUSDrOxGeJAxtfiUsre1MvBGAOP9HoHzKoXPkmDoaA1QqHHKPPbPE4kPM9/2UW/Ijugfp1ZvQR7L4oaynV/7uC0oWeb8khGcxvyuJ1adPS2TOxa63Y/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 { From patchwork Thu Oct 3 07:42:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13820749 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 6BCCBCF8565 for ; Thu, 3 Oct 2024 07:55:33 +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=zkxvIwnkYZFIS1Zfelb68GP/oZV0OWXzpR4GQrE2Y3A=; b=EFRWbqGrBMDSbtNIjFKxah+SJe c28tiU0SlmA9UgyrKwjVd1eHGVG/VRRlVU2MgFpsEqqT2vbQG7inhd5okozwBpYrKDPgzrk7mO1Sq p5F/G0qXr5AwyqFFJr7dWjPX/xFIFxiQJDN9XGylbvf/GTjxhoswHB3jMot8pO7yEhknIxVXwL/jl vCSrGVo+fp3Qj9cm43TVHzuexGHbqxbqBWGP6Y8HsG7R0JoJVTkroBz1tGjWJbdbZ2uqvUXlQV2tX VjcxDlD/CnmknV8RGJb5+OuvBCECJd84IU+E1x2UxAPDWaKXHNA5KrkrrEmpxM3nYXuSAKjnUf9jm Zv/cTkyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swGgE-00000008SaI-3dAS; Thu, 03 Oct 2024 07:55:22 +0000 Received: from mail-sgaapc01on20601.outbound.protection.outlook.com ([2a01:111:f400:feab::601] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swGUa-00000008Q2Y-17ix for linux-arm-kernel@lists.infradead.org; Thu, 03 Oct 2024 07:43:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AN+hgInnDJAm0c4kpZ3+AJMgVCO6bzlEoP3xX6eedvg2lQhfrwWlivCAgkY3yE1MT6ajthk8Vt49AQ+C4ZTkrGJMpRNTuF06jcLJTyVpGnaoFQ2PiCblShnKM/emYPLeGlh8NltfOG4q9ng+ULC4pnNC/nkAEfTqBGRgvexiz+qtyFtDl/nx5clkW9aJn2T7IHl0cAYFvenoCfSZ8rkqDAaT3FA7s7y3xa0QK9YpDXK/mzsYOzzNvHLxBEGAZ+nfNgtZAyNFnQrsIppa7HEic29f58tmWQnlHenvHukuDlfFjJfbX8qczb7aGfBXDkVSihvqMrUiGRyuHx4suzCZKA== 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=zkxvIwnkYZFIS1Zfelb68GP/oZV0OWXzpR4GQrE2Y3A=; b=iZBKLW2rul2qbb1XQxv5PugXgH9HkppQzWG5tYulLoVIkgnRrOIk8P+ypiytzcyxNUmyrYeo59F0GLy4Y3TSr9PHBqHrkiyJQ/w29TdM8bTu5wf9W+Fl7GwfrWkTC4JlHge8s6daGzPLa+KAAXu+oG1Xko+ZGO55oMczYtEdPXKJSQrkUarPYJumfBx8aLCe1n2JcYjeEvgToExHKu2q9y7BUPumEEKFWhZDy436fGssq5M726wTjv+44ruKmICfCyKIfGiVtUWyBjucJ6wb6dEMjXuK92I5HqPdXRXwe/8S+6qQDzrCNuiGsXyDCh7YgNe1u00TVlFU/9L0EnXKTw== 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=zkxvIwnkYZFIS1Zfelb68GP/oZV0OWXzpR4GQrE2Y3A=; b=Sb6PMmAONLZAFbViqa+C06aVr7glwMTRrIInBSscCUtiAOWShYH+2PtfcuBzGARNJMCDK+5vKbcZrKRgcUrEhA9QxyHWhRpvKZqklBSwPzO7fWU1SUvw3R7KD2+1U+EiBUGP2TmTROTU71JJzWOytvDqQMk+rU0IxHzLk2diMiXXuqGP30foCYvl8l+9OJlsLHAyi8hb+eR2A+OJQivAwI8EPni6A/JZ2Q1tWARYEeGSNNarLz9B2/U64dQkychaH6w+ORjQZ6zJU6G7PG8v3/zRRf5CbJhwbYksXd88HxUbXWstkW9pn0mCdleTPbck72PK5aK+BIOkwAEJs6h+Lw== Received: from SI2PR02CA0007.apcprd02.prod.outlook.com (2603:1096:4:194::23) by TYSPR04MB8127.apcprd04.prod.outlook.com (2603:1096:405:9d::9) 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:12 +0000 Received: from SG1PEPF000082E5.apcprd02.prod.outlook.com (2603:1096:4:194:cafe::bd) by SI2PR02CA0007.outlook.office365.com (2603:1096:4:194::23) 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:11 +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:11 +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 7/9] ARM: dts: aspeed: yosemite4: Change the address of Fan IC on fan boards Date: Thu, 3 Oct 2024 15:42:48 +0800 Message-Id: <20241003074251.3818101-8-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_|TYSPR04MB8127:EE_ X-MS-Office365-Filtering-Correlation-Id: 96ae80ec-d029-4890-26be-08dce37f083b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|7416014|82310400026|36860700013; X-Microsoft-Antispam-Message-Info: 5sAF5nE4lzL/Xy8hUNGc+4U+prCtCCCGEQrqgyzWVDfvoTFSHEwXhxodx2LTxbo1RnUDJS49Kqh47IdnguiUYG2yHJCwq9RGjsryBpfzLiwi3gxaBqcfc5vvPNj/qnldc3uikp0+CypglpTMljm/PLUIwMBYhNBc9yu0/1gC2MDO17KDfiFm91C+BwMlx25mqoST3kmhoTh/Ca7X9Zm1kt+QyVMj9+7d9yjEbS3yX1HnzCp/TAcBVO9wiinwsPRRajNteDcp2RHoQQAKdcVOfe1Q2lJfykIogoCbSdSLMoYrQE9NSTGgFWc45TKZ8A7pmKgMTeOGZy+3U+UmCkop86aPvapKHzl6b9KLGmfxZy4RnRsHVws6sfWm3vPtYM/D8raelhP1I5LK+y2jCFl3tgh28KAA2A171aKi1v1kHvUfqMXucGMJTwd7XfvMATM3u+dSFsaMd0YIvd7YF8CafCe/X6faOj4xMnkRjPyJHQy7Vm3x2eIJZrWSgQ2FNTCdBc9m7raDcV5oK1GAHgvnDI+Xak74m0I0/GUMUHwnCKBBSA38JzygiPAOS9+WpqREs92Mz9RZ3Hur4n/ttw/fUyqegVDDpRAO4n3pkQruL+/+dZ9n8okb8wO6b3K6N7cXpBCc4Gg5pG7L/gRGzoDu3GVK1v8zSRV5xNuT0YEk3Y9hThz8LFudjWfteh9CdIjsFKFmFnhuxscUC1KJTT6RWk+7KRFrYHEnl78RlGCPmF5Hu+McuLTzdGNSYaPAD3ukqGeeAncmb+tGibl4UuAIjBttjGQJ/TsLZW/S/N4g3P1uQ2F2eA/CQ44qpvv464Ijoc1kfXhoZaNgipWBC025IdZYjF0YtJMOmALpK218wp4gPPXEvF8Wff1IdMOPhMPDu9MsqInHooYz9YDC4C4S+RJSl6+PIL7AVt9u38K9xUgBrKsMc5x40VrnWrB53G1IGLszFWbGrg0Rd1yFkXWgxGZQD80EG2NzwAL+WiJOYshTnIClxXMP/p3ophppH61KnqjCYS25KsPLe/H2Lj9TiVM49gClUvbz2wi1uhTdPY5s+1Meq+qvj3h+5dZMdprh61KSckGyDcFJxLwOuJ2Pf5zp+NQULyJ4LicMPsRIAQZr+0vAJ8+dQhJ3AYcri/OCnme7Nn+QA+K/obsmzye5BC6a6F/qKrtFBCuYhpTIevDG87p6dZT9ZVdSM/eRnPn4X7HOFtSVhHGB4nWPBBT8FeqH6LNeZ4vjgzrudada1zBg7TG5PjC4y46JwYD+rhZajGhnOvcu8WqeYWu0oLAowl3IDWoPHTzOCHE06m70HRbsAkGNcHMFfPsfIGdHams6AELPJZOQoBwc3OdjWKg+cQLuCSPXaFqvwzEsJNmKXA2bELBjuMjaFte9zwuIMS0S 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)(376014)(7416014)(82310400026)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2024 07:43:11.1026 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 96ae80ec-d029-4890-26be-08dce37f083b 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: TYSPR04MB8127 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_004320_341775_CFBE05A0 X-CRM114-Status: UNSURE ( 8.95 ) 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 7531ac217c81..6b8fce786963 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1160,9 +1160,9 @@ gpio@22{ #gpio-cells = <2>; }; - pwm@23{ + pwm@2f{ compatible = "maxim,max31790"; - reg = <0x23>; + reg = <0x2f>; }; adc@33 { @@ -1208,9 +1208,9 @@ gpio@22{ #gpio-cells = <2>; }; - pwm@23{ + pwm@2f{ compatible = "maxim,max31790"; - reg = <0x23>; + reg = <0x2f>; }; adc@33 { From patchwork Thu Oct 3 07:42:49 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: 13820750 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 6D45CCF8565 for ; Thu, 3 Oct 2024 07:56:48 +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=mModBgmepEJWWR7Kf4dAi1ExcTyRUyLHFz2AZPi6FTU=; b=sUHgJV1wWMwNqn9Vr/4Z8Jaa/7 92UsKuPwDGtnbabenXOn9K1Xjv2Q9pbtVpK0D5G86lnQwgHax+etEmE9Z46V7fcGWkYYD4FIjfrxg DaBP16Fnujle8s+kEqUdG0q71JrOK+sfg1BNcGWasRlOoEsujK3KQ+7getqulH0XEqbShAyhDfoA2 vH3XBaRww9/1LW7r0pY0/hyEbDf3DXWurkYlRS2KuS9phY2N/yuyJOuFMT/uufElxuELmF6ob1ona cjcic7/JQytGQVZplNRxyl6rxcofUqGhBhQuW+ghuHwttjIdOMR7Gs3Hx1asWBwLBvD9gtyO7LiQT j+uvDFwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swGhR-00000008SrQ-1hlt; Thu, 03 Oct 2024 07:56:37 +0000 Received: from mail-psaapc01on20608.outbound.protection.outlook.com ([2a01:111:f400:feae::608] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swGUe-00000008Q4Y-0iUi for linux-arm-kernel@lists.infradead.org; Thu, 03 Oct 2024 07:43:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KwFBqbr7tR5JfR5NuFHEmGATL7g3GgZF9x5L6uux7TW8mSlMQOW+pIduSVQrKNlfZ1KPcd0MUkiY0mR1j8tD8bBL6Lg6tiF0rL5Lhlumt2JRGmuarXkzxiurWVR8ydHb5wlC6UHNItAfxQj1SUJDAz+GpaUlBHrY4cpXlhJbi6DOCJMnJb98A/BS9NWyktWSaOwvvNwXkXmVK4hgINBhIVY18F2XlbKCxEc+HzeL9uSuMvA307LKd9Fw9YBtAVtXgRwysn6BAXgc6qoOXlT0wAjMQRRU59T6i5sP3GXrbZlxTvi3sTlO+jo+KZnjeJ69p6FhqNmsn22YdkBSABF6ow== 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=mModBgmepEJWWR7Kf4dAi1ExcTyRUyLHFz2AZPi6FTU=; b=GT6/GkM9rS0gEhw/P1xAYjjIhfXSGuR1XAeis3IIpiOXdpfMjhAGKcKw4PHskfKm7voeWzKKj2YPRqe/qU40UXQxRlHehxTmFPuKUNlWm6MxzglMbbSsF3hmQ6Tr0X5fuDPVisQfiMawrdx2nhsZdXkehlihPrurm402B85oAWg5paN49eog3d9cfilHylXQe/vpg27dQyQCBFE7PTEvrv9I0f4J0G5b2SFGZ8/mz1dA2r8nqvjgHfqfOoslcjoO4crAqMSARpNQXh6bo84IH7Eis0EUlB14kXX6taoZuPfdXn3SWHZ248bwiKA5NlhloGedoUhEMrdKMnSHFJvFgg== 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=mModBgmepEJWWR7Kf4dAi1ExcTyRUyLHFz2AZPi6FTU=; b=dq/JvmRHYpOAvbQVE5u4os36PLTtwBPiu0ik52bA2za67okAsxrZUY/a1FD+CQ2leUhQhumJgLpt2+d44n/gwhTfDxRWefLH2acf/+coxEJfBULiOysV5zmqMW5OpbHs8OS8wplTIbla0c7VvfTjYgdPdMwS407wGOYhQ8KIJ6DoLr/sH2NNUbwN6vmKly1gvdo8GQtaZtdakt9udtHtxTBNhuoYe7Xp6CyIemc6C+hLbbsfa7RCdUdx8ji1hcHK92moylmKODeNS9ytsqbhpBYUu6UJvz7GNpCEIwsh0T4dlZQoPuehd63hlVhfuEv33BpubA8vs0oajpyCEKYd5A== Received: from SI2PR02CA0007.apcprd02.prod.outlook.com (2603:1096:4:194::23) by SI2PR04MB5846.apcprd04.prod.outlook.com (2603:1096:4:1e9::9) 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:14 +0000 Received: from SG1PEPF000082E5.apcprd02.prod.outlook.com (2603:1096:4:194:cafe::d4) by SI2PR02CA0007.outlook.office365.com (2603:1096:4:194::23) 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:14 +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:13 +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 8/9] ARM: dts: aspeed: yosemite4: Revise adc128d818 adc mode on Fan Boards Date: Thu, 3 Oct 2024 15:42:49 +0800 Message-Id: <20241003074251.3818101-9-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_|SI2PR04MB5846:EE_ X-MS-Office365-Filtering-Correlation-Id: 609d4b43-1a3f-4276-63dd-08dce37f09dc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|1800799024|376014|36860700013|7416014; X-Microsoft-Antispam-Message-Info: I02Fc9myd/92bc3D5y8o22xq99w8gNKQzqRhuoQTZSeYrFrwl5f2Oy7aKMvObvJANgCOdGKtkLGnSFwNfD2wnneZAgqsY7WvZR17oMzwPv1CrSAABXq1WAtp9vSPGXSHCDDGmW5xzNIrOUarvcv9P1covQgYIncH1flk6l25ZdLEEU1pISuagWZEZYhcQCm7+hqlUPDPctd4Rg13F3wZKUMjYrmj4rS2yve3NDT3RLzmdeO8fBa/STIfcF4VadERFadcJHBvy9c1ibbQV2SiPdRcLLbRL16jdcuvyNaotjazmbxXEksBQsBk64lenFbjU2WF/uH3D7BGyoEWaWFl9u3r8u550lj1rOdcRCs7HzG/KyKzpCqKUnm0hRLPwcZUU5fsUwQB2h/9cWFehnga7D9irCyUSI96SxuVFqFlTgIu9FM35y6fB9w+fZYVK+E6gQbIW+CykPKEILYH7d+AJAN1fBWf3JqY/qx09UvyDJpk583WivSA/CZISUYS6h/JSQcDfIkQzhd6ge+oG1S//OTUMw7/p43UEsFL6w+ZpT62KHfqyl2oMjIUh8X/TgHMhMcOWb/V8MEUPzn7OE0WP9AMJ8Pmo0pWv49xLn6UJjlmVGeRvKNqxcZ5LW24rX2unl7h06nZ/rXWLaQnjhbRT2ZKXadqrx5x//c4CGdTNX3TdiCXOZCViZgbt57NOlDq2XAjq56iDFsHn2hxLBMYw9iil6OR1PhTrlFCbewPiLyzX3MVQtW3l4+j57rynmJAMt41IMo8xPntHDTNQNFdfIbedQqYVLqkeeoDSiN+uwLYN4Sd4bCAgMCKeKq5DbOx++FlzmyQVWkURGgi8hsdckJZvJD0MMpDY83YaxJ4Fk0w7J5L3ZtwO5LNb5ZAYYSnRyjvV82mQArnZHBpRlBr/fmHHk6xZIi7CxfJG0pyHjHs9tOkvf4TyrnamQIn/ODrBvKTh1nadgdX/LCxIsF37uaoAqyhUWf7n/nOBH5j1S+a3koTww8e5MRvl9PxhEVBokhak3SkcMKK/HfLy7oAWeWS8RkcVyIRf7DaxIOMOjCgxbMysG+y8gsF870S/DCzA8R/0JnJeMSloK+mTzHqR2uyneXUSPvSB09YXo5K+hMczwT45vhJ7AATUCx9n2sPMGbzQvVsgtmn6qS9wmSiKBoBG3LZmazbwieq2rKFipTc2x4NV1/wJ44oCJPCzJmjTp1Qkt0QQzT1Fc/dmEphAlhtXL0+H2Kbf/mc7zTTxU9sBbcFekFVVzZ3SDW5Y8dvxAwgjewR1j89MujzFM4tmE0L+N7ub4EPhHdSxALiPF0CM61irmnMJgfaISlIyaEDfGnCI60YIaYjoXs0MqjdCw8qaktftKAd+YlapPNd5W/UCSAmFDF8J8L00ZtZNw1J 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)(1800799024)(376014)(36860700013)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2024 07:43:13.7745 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 609d4b43-1a3f-4276-63dd-08dce37f09dc 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: SI2PR04MB5846 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_004324_252002_E2B2F0D5 X-CRM114-Status: UNSURE ( 9.55 ) 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 6b8fce786963..bc25c11df255 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1145,7 +1145,7 @@ imux30: i2c@0 { adc@1f { compatible = "ti,adc128d818"; reg = <0x1f>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; pwm@20{ @@ -1193,7 +1193,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 Thu Oct 3 07:42:50 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: 13820751 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 97FF2CF8565 for ; Thu, 3 Oct 2024 07:58:02 +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=V8EXqVr6Gzq+ihzDYW3k94hfHuot/FrKhwqin4FkW+g=; b=ubJq+op9rUdLvikw41e2sQv8bD A8ROxpq+rXOV2A+TWCh0+vuqmyw6X7Phg7kflyNLS8ZNJJXoUx+YdtezVImkvB2tzjRniRbFGs8fg clOyQh9CRIWLiXbjDffIYJmCZM6xCAMSTnDQi0rUgfqb2+rmR0yBfkYskn0mx+CZtiaz0tGCuR1Rv LMVusROXvKl/Kc3X9qnI60enVNW9NzzZmAhlWo5/0gXtA3T9+u/M+hEKfNIg+okpCgDGGEULlxCVK BWGFbJo1cEfY5HzpG9dA6PiUq3Rjt80A4D1/8pAtbJt71PQJxZg8sOzr+k8tDA7Ob5Yw2YoJR4es9 LgJeREwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swGif-00000008T1G-0nZh; Thu, 03 Oct 2024 07:57:53 +0000 Received: from mail-tyzapc01on20629.outbound.protection.outlook.com ([2a01:111:f403:2011::629] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swGUi-00000008Q5m-0jYf for linux-arm-kernel@lists.infradead.org; Thu, 03 Oct 2024 07:43:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fKlZeNrKhifSxne3BIsViC+io7+ufREj6T1qQMLpjiOLQl4eFKNy652ElbF3ZU1+CAOwAP0qORQkkThlSXwCNclB9IqoRilMXofgWuhSEMQEic9TJ9uJ60IltVMGP6krOJmQ0Nhgx7Xx0ckxUQTCBK5KWg9LSqt4Orw2/ovIVIcK/GK1Ljsq7jORr6QOHWq4eR9KMQMl7JPe+lJtIZqUGicDOMCqy026JzBLf8gIRfnN0ujBA9TjZzRDOwuBQuUh5mRZiD8kqtWyF94LbnXzjONQTge7gKv4y0fBtcIgMQ4RPFLAuoH1E1XPPXEGVAg74axPcO9En50d1EHEOnr45w== 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=V8EXqVr6Gzq+ihzDYW3k94hfHuot/FrKhwqin4FkW+g=; b=nuxZ2R7QwI+mk7TNuK/q5Zg354LHfhuv8+lTEpx8WcSBF8DAEv1Tq3+dXXa7dkoT9YQpcBerA5OzPyj1asekUCOyER/dFvbld1hPK7rMfsYxLQGnYzSicEqgLDhlxiigxDCtmbuJWp/aKLExy2il1RXmeOPe8ikXFEHUvyR4Fk/Fd6tUxzfy0dohvzitOfSK88TP0z46oAqQwsnqKMuwWniy+57K9Rw8JgXF6/pu1xdmCkUogNQKKDimkZPxaLxKDuNkEAZTTNHs8h+W6t+LRyvirtdMYHwuAW0Sh9s8p41cB4DA/WcP2R6FRc+lfx7+LwpP14YtF1akdnVTSvfH2A== 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=V8EXqVr6Gzq+ihzDYW3k94hfHuot/FrKhwqin4FkW+g=; b=iaGkzbMzywjUelh/cSPfDtdFIpbQN6Q5nBTH/PR66s7lFcqg05ooYiuDECzlFYuF6JgKl0Ej2fpB69/izCUmlfmVSjoPXGHav+CmfM++zdfY4sCa3W3KVXy/sFiTwpi2ko+Hcu1L/1ZqXge/ujLYpG7fgrZFoOQ9LulpE2pts7QEJxPy+NrT+RLyRBeBX5pXYD5djyERvZy5v6NAL3XJqL/evMlf+qG1DPzvy8S4AjRcQCI42kfoIkm1E5hXJdtRQeyOLRAe51/r5hYZyPg6vA52QO0GG48wFnrJucmEtWB0joktXhfY7Iknvlham/laSbztyhoY+jVd1cY2J3FxuA== Received: from SI2PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:194::7) by JH0PR04MB8155.apcprd04.prod.outlook.com (2603:1096:990:a9::7) 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:17 +0000 Received: from SG1PEPF000082E5.apcprd02.prod.outlook.com (2603:1096:4:194:cafe::cf) by SI2PR02CA0012.outlook.office365.com (2603:1096:4:194::7) 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:17 +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:16 +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 9/9] ARM: dts: aspeed: yosemite4: Add i2c-mux for ADC monitor on Spider Board Date: Thu, 3 Oct 2024 15:42:50 +0800 Message-Id: <20241003074251.3818101-10-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_|JH0PR04MB8155:EE_ X-MS-Office365-Filtering-Correlation-Id: fd6e5f69-fe71-4236-670a-08dce37f0b63 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|7416014|376014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: poy4lyke/PXCRrvCcOlH0wOSqjJoXbUnXOCNM8VMixg4VNrrZW2QN+dTP97DXdTt8ZO4/doKKPJu7RYpxxiiuxRasEHjmV+bvFNPXuJPO9Dp+bpGmq7Y8kATp8UaHUmw5/66UgLRjVdLS+HubFdXdZ5/Poj734GuStyIbEZ9Zulf15DpOZ0Nx8qEQ256noGda0dpfhsjqpsBKYxkNSLwbN6cfTrPQnn1IKTxYNsqEWmrixPoYbsPTMUvaSJ3EuzbQZQ27MChAsML+ah/JGLpRFKdTDoc3Nvt40ydmtVtKwNfHrPLBeas/k/ZJwVpCrS8DciRiRE3sa7s6uPqEhKL815wzIv5niPwSIj2vuaf9BRNcSHVoRV7w+hHlBaA2KqB3IuSdnTSHwsw/j/5dvtCYyg58kCEx0XEX2vYZpWxR0sY1vYV5dSqm4kOBWhI/Sh4TKMD9kcGpCcASQGqDzXYEjD+4N9Dk2as34GmhgrDOocB2goWrYCpy5xUwi86U6BIRDISK3N7PlKPmj03OXUUX2/z0QQLS9An21jAMcOJrIjACbU/CNuNo6XpG/FQnrhA7wyvY4MDIdsd8pU2PYslIgjgjEuBnI4JtQVM63zHs4u0fpP+bG2EorTsvEvWln8BBOX18XRGeQUOYVjtvKAp0PDdDEbFDdZSG1aplS1qwQHe/SgCyKjzIYWJeslbchEWdy6ppWnqWY3y4AwQfXFbsbxKJnEwgjcsgRPmA8p1R0MTWxHXg7qZ6BfiOyzmWQA39kH66OO1UbUGL01AJjw+Ds1ugbyNUv+08Qv/TjVSzhNq10fgdjdvd7j+QqcubIVZjR4HJsww+9a/6/edDFl+3zrD9DtbAE7+Jm9G1O3BllbLbJ7ilaA79K0TFNMeJZFpl7zJcus9mneTffgmFL213tWIPqh9JYI+jbuxV+ayrv6UESIVpgUx+f/L59A+5zn7Jh0GnZMoGEqBsCidF/tcLXd/FoyVdhh5uuo3SNy9ZHQI5mUI2SbMLEp7ypXbvnGe+Hr8Q4lumRD35sfE9fM3KWi5NkPKi1uldCUACT+whrMtC5u8Ekslny6Ex8PSY8av6kneq6Qh3EEGAJ2O3lVAN++fcciq1BAKLCskiWOegU0VGcjQ4lKEVEbMHAMIAjRcsInrSJ/HqC1LXZjaHr7oT8NQbsPKs2s7u1yxW55kl7m67CWhojz4mlLid/VPLvfKAqC8YTrOM0lr9O74D59vpjMfSxMMhETVKTWcuEZ5eN2Lc4/yrOlLCCPknKfo2esva0TKnbxKEDaqxQR0//oyiJHuc+xwD/wqaySk2ZOn9WbIjMZVskmIwBf9tA3u0VkV8jVTKXGgj4CBRwaiGUdBdVsVJPgZWNRA3aTUjxFR1mo= 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)(7416014)(376014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2024 07:43:16.1026 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fd6e5f69-fe71-4236-670a-08dce37f0b63 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: JH0PR04MB8155 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_004328_240620_206EF39D X-CRM114-Status: UNSURE ( 9.01 ) 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 bc25c11df255..ab4904cf2c0e 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; }; @@ -1100,29 +1102,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>;