From patchwork Wed Aug 21 09:40:29 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: 13771155 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 50F11C52D7C for ; Wed, 21 Aug 2024 09:54: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=deWOYRp1IarhLB5qRFgI0h1ErIRC5JkaB/gNs5HJuG4=; b=DTOBYMv/bx07KtrvqePhQTOvpK L2/U9IT3rWnEXBG+t0hkSyxP0BKn/4W4Lwjovtx4F2RsBl3AMcaNfYHP75gAtBVkbIeUq4HVyv/tY B4pLvzp8X9dDREIwLsybGXj8HI9Gk8d6fLoRAjiNF2XZKiZjHlTkHao0ZaXchtkponiuniJ0dNm0o i8dnqRt20R5c+6HETBeSYs+mPQucs0XsTGW89F5ppkRUy/sC0J8ZD2VqkvgTVIHw8YU5pBJL9y23a 2Swsy5UKN8EXC6LW+KiHNH+RCpEue697/GlWtrA5uFwt8irzoM8J/nrbZLb2pwWcfjXofLEeHb3H/ 1qg1iqcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgi2X-00000008JdE-2rYx; Wed, 21 Aug 2024 09:54:05 +0000 Received: from mail-psaapc01on20629.outbound.protection.outlook.com ([2a01:111:f400:feae::629] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sghrf-00000008HXs-0cmQ for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2024 09:42:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pPh+3TOUPDs4Hm3oKBib6DF6OuDwHLHrMuh8lxIMrI0Wg+7X3GPZUsI/XT7KTveFnAwitJdv/UV+nUjQEsUccl2DcK/T/cbDY6qGV0rhDmyhhKhpYo7qhkbFgcCUOtyDrct8Cx7kpJf4G3ekYpGRPcG7mBeTylDNK7MZIGKyye/p3SyU9KFthEIt5XGtQVvGZvQBRlG9Yoo1evzqlLvfbVO22jjcJ171bfyuaQd89BZbU3rCpt0w22aYgz3Rl9/8akzSR5uszDhZOeKTGXP1QOHpITT+fiDT1+APICYSDdkV9NiH1pj3FenGuMn+1w06DozMTNjAlhmFbgj5SRq/Rg== 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=deWOYRp1IarhLB5qRFgI0h1ErIRC5JkaB/gNs5HJuG4=; b=i14a6Pb54pBgN7SthFzVfsbZMOBuIDC0dbU+Huu9YWce72J1uzaTBCTstrjhn8dY47gdQfsCV2pku0JKrCUwlvMDYFJzrjvEad3NASBAHYMCq5d2xhaugJzic7eAKiw30paBGLaUTZo1LFdoasUukW++ESqAHCXm6zhceSaLfEh+WEs8Oie89gnK9fj1CxnbxtGPtSNwKNpvW0fFO7il1iqspKXnEiSP+HYVB+S5q2eKHfmkUeThIfChTEeWnP2F7uUZqyc51UnX/IhXykH10+6+a/AIjV7XDZC163SWszVPcf15BQpB/Dul8801Y92WuR0SnOR1AGyK9RkHZCzM4A== 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=deWOYRp1IarhLB5qRFgI0h1ErIRC5JkaB/gNs5HJuG4=; b=GuZLUTV7KOK2V5Ipp6cAcYkL2NhSyr2ID6mRzQ/PoA5GiQ18pkcQeXuufq1JHFawHic1rsd5kp3z4x/+WvUxdsu75D6WsHDZt8+rIAGpSHNbN9sXAIEs+Eerq9DGfhuJybl/KG6MIvMkkT6zoCKWKSGbxaDtX2yt239JgIj9zfJMNjRxl4GMih+tIovV/HnZgLyIICoqemdaASoQcRa/FrUnG9sHgJ8zA8xErXNrpcIthZCygwG0UiSaohTwY/brFvF6ZZ/LxixeJhvhTfOsnfHOkb1fI12f3DEsh0C76qnK4zfeHnI83fKd8IPez1fDNbWCdqpJ7M2uSL9Lp+M5PA== Received: from SI2PR02CA0019.apcprd02.prod.outlook.com (2603:1096:4:195::13) by OSQPR04MB7876.apcprd04.prod.outlook.com (2603:1096:604:29d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.20; Wed, 21 Aug 2024 09:42:43 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:195:cafe::d0) by SI2PR02CA0019.outlook.office365.com (2603:1096:4:195::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.18 via Frontend Transport; Wed, 21 Aug 2024 09:42:43 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7897.11 via Frontend Transport; Wed, 21 Aug 2024 09:42:42 +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 v13 18/29] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Wed, 21 Aug 2024 17:40:29 +0800 Message-Id: <20240821094043.4126132-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240821094043.4126132-1-Delphine_CC_Chiu@wiwynn.com> References: <20240821094043.4126132-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|OSQPR04MB7876:EE_ X-MS-Office365-Filtering-Correlation-Id: 54289a1b-dffc-4fb4-6901-08dcc1c59abf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|7416014|82310400026; X-Microsoft-Antispam-Message-Info: zJFwUYKR0NPT6fsJxmxBu+9vnbqjF2v9///Pc5cbmsaoW/NHMBt2DA2KoqJMNip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7fkxvT1uhowPWz07JmRnFkPYfDjKJiZGVopeTCwcqcMhzmPj4ocmpT23MUun+a7jx7DRBmWdNkBeLZzCBWO2g9iw8QwD68J4KLeqShsNnaewP9H3hOrXfsMTqcky23eGg2eFJF80D9yCsNEJd1IHKoooWHHM6SNv2GBHbIP3I8+rR+zzY/vUOafygqINrGtPJ7pcSrtsGUXzd0lNq4uX3gdaXac4HBjY9iprHmKIFBWGAqTLCF47VCke5ampQL+eeCJX+zPv7Sl8T0EYJnjAW5IO4nqcj7UXOZIoYoWulufgeLxhJIt8dIP6XpuqyvGwRjH 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)(1800799024)(376014)(7416014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2024 09:42:42.2471 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 54289a1b-dffc-4fb4-6901-08dcc1c59abf 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSQPR04MB7876 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240821_024251_215867_B3D36EC9 X-CRM114-Status: UNSURE ( 8.43 ) 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 b46a0b9940e2..7b8a2384d99d 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>; + }; }; }; };