From patchwork Fri Jul 19 05:58:47 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: 13736894 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 CE8A4C3DA5D for ; Fri, 19 Jul 2024 06:06:12 +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=eMQMCGooe/SllMBUgeylnwBUs+ ZzYPDpHKk3zNJymsCvdswxSNzhm4Nb8p1l2XnTk3MGj+vbL2YF63QiLjev+20lewUyOwR2D/SJYyk gF4j3elxMk6n4B1CDt01zZqzg/1F7SP5XfssE+imlmOl1Wo4ROkhto/GS3mwEQO5gz4dSGMWjKoak PHx2nNr3Cxm/lofwRSAp0EL5Db0lS2hFXMCR4GHIXUO/hNdykqvft6c50vyE/XKAZ/8SBXhL4C80u gnb0SSevT1twzzu4Ytzt4W4kZ58TxjFFKEfRVhy5SxCce4s2RXq+TL5Firv13372Hw1741zPLPylg +Yc9mRFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUgkk-00000001kHb-3idm; Fri, 19 Jul 2024 06:06:02 +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 1sUgfW-00000001i7l-3LuI for linux-arm-kernel@lists.infradead.org; Fri, 19 Jul 2024 06:00:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hZFgwkmKvzrvW9OdUCVC7UDxofpcZZO6VjVsnZDQcVpdZb6FAkV3/e7lUzpo6rKmySduYDa35GKtmnT2r65l4Axaoff37jBvopXCWNSEKdwX9ab4rs5knEMTZ6U239gasQtHT/PPmKY540uWEkXeRQMpej2Rn20Nvb0K2M7V4rbosN6I++I80JeewaVcoCTq9d83efH6YUP7RcY5cS9KM8azbRfDMFfHqe/xyrdktIqTUdTYoomh9hIZgkJHer+Q8hEW+B+8JBv9rRStf0+bElPdRmaqzg3pDCQuuwzHgC5MmSrZQl8iecqslJydl45hJColpKH0aHInjpXHQEjzlQ== 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=O16c89fsxykpLXkgqq5cnVpUTCPvI9O9YW+Dewzjs4c=; b=curbIA4TwSLa+za7ZtTgBFGw8dZePBaTysePdmeh4h9bX9qyYqOBn8Xten+OvvKBhmDItplZaC6tDitikfKVpI49WjElJLFUtvd2zSCkE01cmtC9W/LFwes0X44S91T8HtIcZ1RTD92g8Imj7j7j50eHKLOkEQMi7CYLJxg7iT8BTvFRk/edNgC3DGGE00J1y6/ZwTnhDRgLagXQ0qbd+0QdqeZyp+3gi+BQly9TGYpINkTAgxhkWOCQOE6AWRCCRabZQP+HGdpIj+GQjo5TBD3ouipLVQlJGz7xAUyhSc9Mzp22KhVIsiXQoLyzoKTvU78IF7J4SJ+/POUHczzIUQ== 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=xRstw9lQ2bl0+RLEC8bgQHwQB4remJA381Tos08n8+CMkRyZhjcx2Ryle2EGikwQAfY1CPfP6JcEVQjSZAmKRQxUWVYbto0wGS8Fr7EB9mnljKbLwfVwx+T0Sf7ZK/jrlaAplPNW2YHa39SmseNp3AuMD8pq7SLDHU6qyy/WpgZuWTuwtSWmlyDXfTY6yQOZCtobMg2HDc7eTmdOo385nOLwWzk1Bqmnfy+awQQz+hjTa8EUvTIT5a33BEJCDjBM6yqvVbtVysr/k5ky8VfbcUqKhMcpiuRj++0rOZUeM4MdK9ciejkdQUAMnw3bsXqZ+nQbS0F0kvRcCfuJ4M8RZw== Received: from KL1PR0401CA0022.apcprd04.prod.outlook.com (2603:1096:820:e::9) by TYSPR04MB7445.apcprd04.prod.outlook.com (2603:1096:400:46c::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.6; Fri, 19 Jul 2024 06:00:29 +0000 Received: from HK3PEPF00000221.apcprd03.prod.outlook.com (2603:1096:820:e:cafe::94) by KL1PR0401CA0022.outlook.office365.com (2603:1096:820:e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.18 via Frontend Transport; Fri, 19 Jul 2024 06:00:29 +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 HK3PEPF00000221.mail.protection.outlook.com (10.167.8.43) with Microsoft SMTP Server id 15.20.7784.11 via Frontend Transport; Fri, 19 Jul 2024 06:00:28 +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 v10 18/27] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Fri, 19 Jul 2024 13:58:47 +0800 Message-Id: <20240719055859.4166887-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240719055859.4166887-1-Delphine_CC_Chiu@wiwynn.com> References: <20240719055859.4166887-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000221:EE_|TYSPR04MB7445:EE_ X-MS-Office365-Filtering-Correlation-Id: eebe68f9-e2de-4deb-2a77-08dca7b81774 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|82310400026|36860700013|34020700016|7416014; X-Microsoft-Antispam-Message-Info: huw6mk0DBlMRKUdwPvNUJLdUpPEd0jSv2rOKtCrXcfHEvQ/enWeygSBTe3Hy9UhaDzPymENdJYCapQ5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W1nz2a2bsB780pXrynft4KRvi1HnsnvxaGEvUhX4Xa4aA92XnFRHLqGaAVJ/WWs+dIr/Aqg9VdbO+R+0MNqfhwQIBXRj5NL5gdkGkLLAAeVfim31jJSgxCvuIXxawNTmgYJ3ZkNAwndpfggQuZql3X4N/BwV0g7FWWtk0QA76rgl70RcNyZKIpNUhQG5Qd4U/ybvGEB8UPhXF+ViIOt+2zJtSuwW4RgxK+RobfxWVMWLr7g3iD+bP9X5SEIvC0zPDSdVxmOBMTFI0D74gB1S360I3ZwIeX2PMg51RHeHZkqLuSsM+fVb8R0QGt 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)(376014)(1800799024)(82310400026)(36860700013)(34020700016)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2024 06:00:28.6421 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eebe68f9-e2de-4deb-2a77-08dca7b81774 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: HK3PEPF00000221.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB7445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240718_230038_865137_4442496F X-CRM114-Status: UNSURE ( 7.56 ) 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>; + }; }; }; };