From patchwork Tue Mar 12 06:15:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine_CC_Chiu/WYHQ/Wiwynn X-Patchwork-Id: 1910820 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=i092d4no; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Tv3NQ55stz1yWt for ; Tue, 12 Mar 2024 17:17:58 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=i092d4no; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Tv3NQ42kmz3d3W for ; Tue, 12 Mar 2024 17:17:58 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=i092d4no; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=wiwynn.com (client-ip=2a01:111:f400:feab::626; helo=apc01-sg2-obe.outbound.protection.outlook.com; envelope-from=delphine_cc_chiu@wiwynn.com; receiver=lists.ozlabs.org) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on20626.outbound.protection.outlook.com [IPv6:2a01:111:f400:feab::626]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Tv3Mh0VrNz3dBn for ; Tue, 12 Mar 2024 17:17:19 +1100 (AEDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a1rCtQIuLz7qmHBXVwwZQZIOa/D6hcnQpJHgvE2hzQDebsimpG2Uo1WcK5Nt7Q3I+Wm9jBXAeTaF5kARSa75nImRXSaWKzyqkPmIip4QyFFx3xZtCUF92r7IPCaJE5wXdogjfJxZgdjvABJWP9oLuKpFqmNaynme7Ff902PMmNMj/GCrtwKaPQZHG872GhmGBwrk6BJcupfhb7y+A+APe+NYZkv5BTyfXoFvEYUFqq/f/EvhCleDIbDuDSHDjQoe/AF/Apklw9AGaJMIOdnojvpcjD0wy4gJ1z2Ll0M0xj182aROfvnSI0DOeHDL3aBcpsay4/1FttSQrvMZoaIavw== 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=4BEb0VNkebzyX9KOOyt4sO2RQFyCihySzIUwiU7dv8c=; b=E2fjEs54L6RGs9e1uUTKbGSiOiOBnHWyf5u5BA7Mzw+34gUVclIL7Hl2VCXAmG0k20va+3r+nk+6gY0XqjdJVwDLLOf9PWU/Vdv9HjkVCUCKVMTKLM9+WFSGHqPCQnIRbq57YeIe5PjYuuWU1R3zvpuvlebqznPDGlN3P5bhq2Ycc2yWBlgx/4OUfykLK1w1v5fk/0QwjxmtLmtqozbhkmGbTnUcUKoxLsFqZF98vNDP9o5hrjPAap2kjKzQWIVDhkQ8CIF0VVg65OUBPuUWYkmjc89jNSE9tjG+7IbXgxbnZd7p5ywUhrp05+AHRlSEC+iR0+BCVOqFgPlJkDObhg== 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=4BEb0VNkebzyX9KOOyt4sO2RQFyCihySzIUwiU7dv8c=; b=i092d4nojSAPx+HZ7+/WZ+zmIsrZ2ZLqZKk18ixxIqGM7j122zbCH5iuPrompGty7VApV2GxUL1WHgYSMFVeMp5m0QebFF0SDbgfc6UTDAKiJTO9Ug29e2XMMUA3a3AhMmRCoZBbhb334Yhx4tJl3c2Itm+7fP0zgwjxVtslS9tovjsX9586iaHB0b8MwV6JAZYXPTI8/z7ZwHkHewKL+ttnYcsQWiOJzUnH7F+DGTo2y/B9MgK/ZCdqnaqVD3x+syJb+5R6QVQTN0tsBG2fdRSTyE/3ChPYZu4usBF14qdC2Cjtn47mIK9kEdb+xPcJLUlLjNB8OFXL2oPXLFGzHQ== Received: from PS1PR01CA0022.apcprd01.prod.exchangelabs.com (2603:1096:300:75::34) by JH0PR04MB7087.apcprd04.prod.outlook.com (2603:1096:990:32::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Tue, 12 Mar 2024 06:17:01 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::18) by PS1PR01CA0022.outlook.office365.com (2603:1096:300:75::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35 via Frontend Transport; Tue, 12 Mar 2024 06:17: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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:17:01 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Subject: [PATCH v6 18/22] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Tue, 12 Mar 2024 14:15:50 +0800 Message-Id: <20240312061556.496605-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|JH0PR04MB7087:EE_ X-MS-Office365-Filtering-Correlation-Id: a2985b23-a947-473c-9fe5-08dc425c07c1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7hKuFwm9HDvEeyX6HTCaf/IsTgP4k+rSIdTcgnXzjDDmreKJkjnYRBtTiy5GdURMmTK1YxF9/FqBxcQbuhGXqhdsM2GJpDtYLiSfCspi6Ogdt/iEtT5a1G8aAlj19A6P94gEdHf9uIlcIO5qsMZtUwG3JIy41rcBwZgbr36+nYhe1wJU9f3e6g4CZxyZ3g3XprFvZo9LtweHhShIsEGDIn/lbaXuRk7Qkw2LN0F4PHANUndQJDMVXkggiqWCk2agx0y+pRUyfVg8iX7TvNbRSpoIo6B97t2uWvIjTajTZMqx3OR/l9GDpBCFi95WC5gCFtwKdpcXNNWJKocLckVhyqcGnSdBXu0kLJ5FUauxxVPSNBp6dpGrOiNfOfXXybKNR1xq4PrOo/HHHxAkP2xw0AhZeJV9dxYCnVks5CtmiCq6AmHU/DpumEeyz8KebdXoVEM66hQHHGTqpAMim4jleD8ZxyVNeWDf6bN3SFdjzCfKqX1nY7q/Eu/n8Cwt200kWXmpMAAwtpYcm62LTqo+rFZkzpoG1KsUYPt3u6kTLBtnHB4O8Fc97hd2GVAKvtsLcpsaGm8TApdhF5zvI+MVRxCps/v1S65eAfeGOVIFzFiDVnTH2+xjfGS2ADumuOXTLKyGRYE4KkMAan2B9PFopDfwuM4erAY87tOAxCbiIt3N8rouuN2vAwezDrQc3VwU2zGK33BAnOxuSSx11UFKLS12uFcL+qMmACzFNcDhnuZZCBlGjO40Xh/QQ7Hy12qV 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)(36860700004)(82310400014)(376005)(1800799015)(7416005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:17:01.2134 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a2985b23-a947-473c-9fe5-08dc425c07c1 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7087 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Delphine CC Chiu , linux-kernel@vger.kernel.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" add mctp config for NIC Signed-off-by: Delphine CC Chiu --- Changelog: - v4 - Revise device node name - v2 - Add patch for NIC mctp config --- .../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 ba7db2693277..06f22562b381 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>; + }; }; }; };