From patchwork Wed Jun 26 09:07:34 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: 13712462 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 EE381C27C4F for ; Wed, 26 Jun 2024 09:10:44 +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=O16c89fsxykpLXkgqq5cnVpUTCPvI9O9YW+Dewzjs4c=; b=YVrR4Ci54YaiAwZuAOvpoe9FAT Bk2FYmjkQUnjOb/3u56zXfpdEP9aiDvlZsHdQURihIvy48l+pMVio/uwDqfZ/KT2SI+owpFsE6A2n 4VHp9Vy2ZoiRcVDXDTAoiPC1Cs5PSjNCXFGj/eDxFCUYpbeX/oYVUfMRgwOh0VVf1i8xngfTpaSVO Q0vItWlYY20mWiBg0oqUVtRJH6QHhUdZ1dA8AH/7zmoF8xAsXsFpD5riT9ADNndQkqioWf0kqCD55 JINZtpxESieAa/Wan+BkQgu4fAd78itNSZsUy6VsaslJBUrgs3LLtraIWNkOdmARQ/pj8/iBJTq2x POZY0lcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMOfe-000000064Ow-1Xm4; Wed, 26 Jun 2024 09:10:30 +0000 Received: from mail-tyzapc01on20601.outbound.protection.outlook.com ([2a01:111:f403:2011::601] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMOeO-000000063bN-00qW for linux-arm-kernel@lists.infradead.org; Wed, 26 Jun 2024 09:09:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EayDvDPp/dmwfuOIoDLNv/jy5sv/bwT7Pcr+hp2qAcvlKgt4B/NRpbXw6obokgE+KSuxhTBRYppWnZ5VOU5HVVHOKcVc2OtBCx2tS+LAx5ddA0+yIORhP4baubBDgleiC5FCUpag0xHPXTbfGCr86bPmaldl4t79PQYgn++pr8fd85XB3foFXL0gz+9rwsZL2GNe0ngLInPrpZhSoB0LQNN9BJt4YuvQoTaIj6yOYJQVKHYUO4TJe/Zl7AfVQBttx4guDD4cfnbLThPaOCQ8aECf7js+l5k1GEcsDPqX7JvS9/6d/NYZnt4MpVFWYnyt6Fohu8bgqPNQPwpdtjBb1Q== 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=O16c89fsxykpLXkgqq5cnVpUTCPvI9O9YW+Dewzjs4c=; b=TMFcEVhTwvwc3DbSj117scEIS2OvBN6kQ0p2RLO8F9duheNJKrIeWZhVXOGAlMfHYWfF5s2+is5s0aA8NsCSZkWJeLMGJ5CE6HQ0OVwQvPOKIxXNoFEHyjiPfaS60Klmy3XYPzkBZPIEAcEJ8XQtXUCZhmeQGOMoVBuEGFqMcSVzAFz8T3FAzdm1jpGoiIMElUIym/gzG7IMrGqv02vlKftMt0hGaBUZoQDLDJ0XIpJu5HlyNO1xPC20mamlEFVjAeSMUBcm1K7uXUMLfk3uwROHy4YiYQEkPdqCPCgqleQ6AMGDgspv6cw/9Hq9QSgUKahWNiFTiFRdlwSDNQqnXQ== 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=O16c89fsxykpLXkgqq5cnVpUTCPvI9O9YW+Dewzjs4c=; b=Hzhq94JISiO2of3cb/2LoeIBLSXUud2IjOpg3POwR0UNferCISIoNnTJyA+ziKu13koC9hezLzRkGF9aFGU4o9X5DQstTCVv/+nP2eGzz52/jHjoklZhnMpoakqFlpt7RWnMP+3c3BnQlzwGHnTqsjoweojm9mjDJUsdBrfiOynFuWNQEm1SL8C0NsMFou/rqe3awYNHc+SQ8D75/KxDBFwpzMDH9zm+OQzZGMSlLhVwSjLe3nfXyPso8DzYtQGb3cA1hxJHgu3QvfEThHNxIAVa+Y+ktr1L46fmp/FbicWD2VIg0DVRT4dFWDSV5gjA3Ea74hyiPLH4oXTX0UFoNA== Received: from PS2PR04CA0020.apcprd04.prod.outlook.com (2603:1096:300:55::32) by KL1PR0401MB6307.apcprd04.prod.outlook.com (2603:1096:820:b9::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.20; Wed, 26 Jun 2024 09:09:01 +0000 Received: from HK2PEPF00006FB4.apcprd02.prod.outlook.com (2603:1096:300:55:cafe::27) by PS2PR04CA0020.outlook.office365.com (2603:1096:300:55::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.22 via Frontend Transport; Wed, 26 Jun 2024 09:09:00 +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 HK2PEPF00006FB4.mail.protection.outlook.com (10.167.8.10) with Microsoft SMTP Server id 15.20.7677.15 via Frontend Transport; Wed, 26 Jun 2024 09:09:00 +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 v9 18/26] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Wed, 26 Jun 2024 17:07:34 +0800 Message-Id: <20240626090744.174351-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240626090744.174351-1-Delphine_CC_Chiu@wiwynn.com> References: <20240626090744.174351-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB4:EE_|KL1PR0401MB6307:EE_ X-MS-Office365-Filtering-Correlation-Id: d791f2a0-ebb6-4e15-4c7e-08dc95bf9e4d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230038|1800799022|82310400024|36860700011|7416012|376012; X-Microsoft-Antispam-Message-Info: 4PxnfW30qgPyuaS4g3w0AqTKu0e9d17j8eyWkwaMjATccWSrvcP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tELmWcF+Pwtd57O46W5dJXruBO6NdgrMmR90EEi9bNzpJYkxfTx1AUPGydcr+ONZRd0Db8EHIq0QT6FT5tLPIY/X0NM9xPGOEeezxUpos+bIiCt63HDW0HwytGWYt3O62DUXGMZbcPPDKawCnaZNcqGUz7u3vEjuG15YJt2395K+Gsz6i8upcS4fndqQkEsquRQGOGhwBOEGlXYX2quKOCq212RkXZt8vKIqemfP1XXfZHm2Yvxuz+tBu0tC+jMlgkh1Wrianj051f7a13eQcqLbPom7PAcAUCy2g1d4FCUZe+a9c7/vwoFKzjutcpRMXBLcD3QI/ej7OFGmh5MqFeI 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:(13230038)(1800799022)(82310400024)(36860700011)(7416012)(376012);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2024 09:09:00.4738 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d791f2a0-ebb6-4e15-4c7e-08dc95bf9e4d 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: HK2PEPF00006FB4.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0401MB6307 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240626_020912_190908_FD68E8B4 X-CRM114-Status: UNSURE ( 7.39 ) 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 59615a6958ec..83c9d76f5a11 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1281,40 +1281,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>; + }; }; }; };