From patchwork Thu Mar 21 02:12:30 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: 13598326 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 D0383C54E58 for ; Thu, 21 Mar 2024 02:15:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=5gSxmkb6iw85xAexGXeqckhTyhWVMj8pvMKyMgxt3JI=; b=U0ZuE28R13/hka RAP0d9yZzYzixM0ZDqxdYz4opfsZgknYczbcZefILNjyGjxO5FbF2OESkElH72qz6AbzEBBE7e/EA MubWuqGnhdzyvcm/rWwx77IxHNBIjuWP4swOknrX3IMy2IfEmZMxl/EDU5euG03n0WlJQUknLfrIK 7BvAl/CjlvAlzVk+/jqNxPWelze/pAzeZ6DSkA7B/dagksZFRrIt2e/pxFvLDxfJ1ihbvhIVp43qH GSs7B5Bkf5cS7n30gxulJOhtUyMg4q1FElmwciI735WsHZYSweyUdJWaLZSK4ySk4ioc7/dDieLtp 9dZhiJRVlrj5iUQVYbGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rn7xF-00000001Xah-40Hi; Thu, 21 Mar 2024 02:14:53 +0000 Received: from mail-sgaapc01on2060b.outbound.protection.outlook.com ([2a01:111:f400:feab::60b] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rn7w6-00000001WnA-0mjd for linux-arm-kernel@lists.infradead.org; Thu, 21 Mar 2024 02:13:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q9DvkKzhCZm63paaaNn+6Dk7wjAGDId4vF6QDY92fwQRQtEhIrj94xfqEc8YFumJ0x9dR8zLRl+dR8hryE5qQEDBVEmMFqhN95TskXoCTbj70hz9sSET8b0BTUrpO1h0R6M/QOoHgZRrahoqoFPyuPsOSL1mHlXr2diTx70TaL9lHYrgA7AnPfmHADjEjjnbItanoT0NIxDi9qRAfL3SGS0eQZkXpt03Z+ie/CHmL3oy+zFe4X9xcEpFb+ItGl8uhZ6EqVxEO3VFk0BpyT5GLyGQe4MQJ00SxFNICMCgKUUZLS3ph7glLpnLrSZ4lQ1vG5OYEmUnrejZoFQQKz2R2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=R9YPN4+GKhRVOD+PVplTunx/K5X+lj3LHdrFGWn0TtE=; b=lyx6Ns4zOE1HgC9bZf9mieLRRxXBDpp3IquOqotsB/C3+wdoDaBP0QL1OWsDrWa3sZpUc5czUvMoxdLFx3Mi2X57frtn0J0mI/tbhlaqnzMc2YdX5/0BIEAokzPffy5n63lufR7hXBhmqxVxpXjZAk95HbG48WguK6crt2bYJiCPHBuFJk/TfQjuRmg6NSYcTeRunQ2k3SJ/O3v0sVMQBvL8gZ5IXT7qg7PF2/mf+PQsM7dtaA7+8SvGbubK4t3mqFXJASaiBJrsgJlFdHuQkFLB+jAv4+ko+Ppytp9G4Y173luPfltOkgMv1TqjXbkBkymuflOOjucyhkOUkMLt9Q== 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=R9YPN4+GKhRVOD+PVplTunx/K5X+lj3LHdrFGWn0TtE=; b=EgpFbO1K5AF0NVEpbrcTnTW9QrIc97kQoTQLp1jq1wP20YG5aQb5wYWyzE3K8Y6gaVrbFlTyJ71VIK9ypP7tDF6Q1WW147/sKmLScnRFEHAv5fVF6YHFnpCg5Lt6OeWHcDsbe1xkj3BuXNF8n0tpm1zHcNO8DmdiWcR6+QANFfh1m3ZQJn0dByRfTMOI5s2EFtfOZd0dnaYq+xHRolVMfTlqBl0FDHR0bXs2dJW+kXbVWL4bPYh9aQLBEdss+GG5kjKJaOVS3vVgkrMdTiVEXhyMSE+wrEVc6H3Migpzt6WO/HHxdqz7gQXEtvuiORAfUph4iLo5BwBB2Cs+j7+QSw== Received: from PU1PR01CA0020.apcprd01.prod.exchangelabs.com (2603:1096:803:15::32) by SEYPR04MB7040.apcprd04.prod.outlook.com (2603:1096:101:171::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.28; Thu, 21 Mar 2024 02:13:33 +0000 Received: from HK3PEPF0000021F.apcprd03.prod.outlook.com (2603:1096:803:15:cafe::a9) by PU1PR01CA0020.outlook.office365.com (2603:1096:803:15::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.27 via Frontend Transport; Thu, 21 Mar 2024 02:13:33 +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 HK3PEPF0000021F.mail.protection.outlook.com (10.167.8.41) with Microsoft SMTP Server id 15.20.7409.10 via Frontend Transport; Thu, 21 Mar 2024 02:13:32 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: 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 v7 18/22] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Thu, 21 Mar 2024 10:12:30 +0800 Message-Id: <20240321021236.1823693-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240321021236.1823693-1-Delphine_CC_Chiu@wiwynn.com> References: <20240321021236.1823693-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021F:EE_|SEYPR04MB7040:EE_ X-MS-Office365-Filtering-Correlation-Id: c0d9dfdc-6866-4af1-aa56-08dc494c8236 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4v6Pfl9T08ed2m/kgyBDkLs6U6/WDsnq2lGqODcycP6LCcLgfY1/KE7s63Fa2afjsl6NNv5Vf5rnXLQuXQ0v0VoCt+9bDWycg2lWMrDF2ZFK1j1AtFpfKb0RcwB1Q3t+FXML6dgFAh0ZaUVTF/xe+efsAUicMRBxg7wIxjwzCHpkzqQUTEjzyJwNZ6RoJk13qxnOUS5Up6lBygZovXREpqpjchwGFrbCT+l/k7i7kGwMxa4QeIqUcZVEpjF445ap8abr8EYxAlh+54Mki5rSqNO9p91Qa5O4AWG8U1i/Qst3W0c6oek5cXXv+MSJOPcf7oOzeRxVnkAgN+RE+dLMD+934oWlVO3tlMiR3w02zunfurqKCUsIY5HKEEmSWEXr925VulNb3tWOMmCl72nekH1mY73gYHmk31ekniXmxK2er6erdWfJPpbrVLUlO0stzuYpWV3OLqzBIFliiQ1gXIOA777T1NhaNlJjltFv1C6jYHQiA885RhuairmClqeMH0lj5/xWMsK2JFJmkKPzMEPP/CoGXWNSJACOj5EXREXeY/2pL4mSlAtvVv9L/AOQslp0yMZVC9KSssJksKrkkA/BN9hgexR4cWbeY+ELGTsudeAFDEDi26vh3GEIrOQ0Adb6IPafUnpo8pzW/lbGyzOIeQ+/36TeN8EhMghpMcvjos8c5sO03OlkJ5wsPtIywDOx0B74sHxuFZsO9giP6WQ0Gf3quVyKyp5bpdT7ogQjPCLgFLOtUU2o9N7LmemT 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:(13230031)(376005)(82310400014)(7416005)(36860700004)(1800799015);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2024 02:13:32.8543 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c0d9dfdc-6866-4af1-aa56-08dc494c8236 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: HK3PEPF0000021F.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB7040 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240320_191342_589860_A003CA1E X-CRM114-Status: UNSURE ( 7.98 ) 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 add mctp config for NIC Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 24 +++++++++++++++++++ 1 file changed, 24 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 e0ca0f7b65ea..0d2f0c589944 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1273,40 +1273,64 @@ imux24: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; }; imux25: i2c@1 { #address-cells = <1>; #size-cells = <0>; reg = <1>; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; }; imux26: i2c@2 { #address-cells = <1>; #size-cells = <0>; reg = <2>; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; }; imux27: i2c@3 { #address-cells = <1>; #size-cells = <0>; reg = <3>; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; }; }; };