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 X-Patchwork-Id: 13589555 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 8F196C54E58 for ; Tue, 12 Mar 2024 06:18:35 +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=iP7n0NfNS2PQfeEci69C0nZr5+wpBwtFakqDnLVN7Eg=; b=aS791+qZpnZwlA ZafuYfo/i9Qaz6HcpenEBJbY5lOeA2QgIjSrHzQeeTfWmUuxE9C0fA4DGGQ4CjA/2TK9EAUZQ+AVR cu/httN9GchCdQwwUmpikYFm5gjTL8WGTfigHLK7HV4XRMQ8z7ZbaraprlbsFkQlsQN+Dl1aVJFrD C2hZ/iuu+MBAHnzXh7MmoyZW+CHt19Olju2/fErz2IXkHv2lxRcdr/rSCnPcc6TZWsNuDwhoAgi8z 5yETw+IZRSwV9mje5fSlI2wwZO0/A63ePgJ78a0e7ABz2HbpbneKDyzG5zMuxRM8c1zI2rCIFHhu4 pU0TL4n6Tjyi4b/3KFXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvSx-00000004XpM-15AM; Tue, 12 Mar 2024 06:18:23 +0000 Received: from mail-sgaapc01on20605.outbound.protection.outlook.com ([2a01:111:f400:feab::605] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRk-00000004WxD-3Cue for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:17:17 +0000 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 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231709_364856_1EFB4FF2 X-CRM114-Status: UNSURE ( 8.46 ) 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 --- 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>; + }; }; }; };