From patchwork Thu May 23 08:03:23 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: 13671400 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 449BDC25B79 for ; Thu, 23 May 2024 08:06:24 +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=4ostU3iOHkicgl2deozrrcRUMDjKiksjjcs+kYT4QwM=; b=ur6msChcFKgV4L mv+W0TIrjPnblmej2Yaoz02qodVW6qTlrsGQvxgdCYY5aPr27o2NK42/Chm2n93xwUCKNHD2GjYH1 b2fhRWbBgMyEnwpOH5hGvbPIFUyh4PXceo6p+MHmPiFS4EkbrezVVQA1Mz+PLD5oi8K/HylGlNpEO lHOCw9Ox4gEA4oMPABNMgq9vt6woeH8n+DTR7UmNbHIlrM+57/EGk+K00rVVtK5zep781+TRCnWYr cp1IVo6FCmT6CZQzOAMPQVI/kT1wcxFdgqMi6rmxdI6wfYxGSsNcHbodsZAT3Wdwy7mETR/G1ON7s KgDTTkzPvZKLwW4wjbTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Si-00000005S9Y-03IP; Thu, 23 May 2024 08:06:08 +0000 Received: from mail-eastasiaazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c400::] helo=HK2PR02CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Rk-00000005RRj-0eMj for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:05:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Su15oM1H6/e9WLyjPlxU2PitYlzkKE2dYe1q8sV5WMb/bM4G6EonZeA7DAmNX93/w42H9o/B5RRSkCffrfJqrWputI4i82OcVhogrxeiQ/ZP348G/SCjji84+xikKuCpxKqpYM7ft8tt9MoK1XxI/t9ScIO8W6K5L+hJyR2SUAZl8F5dIpzk3feSLE7viSOMaNkGcqS2dvIA6fljAFVDX/8IFPsMqyVoGCuBRx15MBwCaHFVqBQMG9HPTdk141EOHBKfluYW9GT8JLKdJNA/SmG/AsOMLJeYLYe7Xv+oOPoLTcHhqS90kI6KF5CnrzVJ88YA1nAgMWsM2NgUIkBOiA== 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=OCk/FN5YJ2MIyShqrrWVewhuRo1PY8fwv2OVT6ms+3V06awFrYM8G9NwAfYPpV7lyKWMlpD5C+6Ub+cA1jFAkcVRoTld5XnvmMCX37sqsxp4NYUTvGAA6NpKJQlJkUcLVS3UUzcLerMX8qZQtuAI56dcg3j1rdJuPN449VJMZF2KyRSYd2dKh850fQHWlCMY/1pMKGQ079MxRs85BKWvgTf+NVsWmYlkHsev5heuue8/E9JQWpsqQh6ClC2x3FZClKWvnNPpON0rAaLOlIod4WzeiRAwwaHrWqdbeXXerU3UvlROLgxggGx/yZNbtyPAzmgewsSZoe0/GW6IxlCyRg== 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=mtJtzaHa4A1Gm89Axy3J1/MQLvsd2hZt7sysYowBjNuWUP4jY3/nUA/bmErNBlK3OUbK5OBEygGWQztxYTK/TAaRKhQ71GUaGDgz0ffRqGPxY8KG58cgdGoD9mRuRwwvVuyjyoQtWxq9TvIUTLcXnV4neVku8UyFbJ4vx9gtsl90Wq3zaek7JZrIOOf5qcW22GtOIAG/FQijIEz+WWvi4XxKsLCea0utXnUftfFmcNtYdzO/2A7WrNj1fCcIE8765JOkorZN4Gb6y5d8zMbal+Bf+7SBKB94tUUQ+MnOeEPch+9fZk+Cmwz0wMTGaq+H2IlhTlHoXMi3e87ZS6Is0A== Received: from SG2PR04CA0158.apcprd04.prod.outlook.com (2603:1096:4::20) by TYSPR04MB8338.apcprd04.prod.outlook.com (2603:1096:405:bd::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.36; Thu, 23 May 2024 08:04:56 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::18) by SG2PR04CA0158.outlook.office365.com (2603:1096:4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04:55 +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.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04:55 +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 v8 18/23] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Thu, 23 May 2024 16:03:23 +0800 Message-Id: <20240523080330.1860074-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|TYSPR04MB8338:EE_ X-MS-Office365-Filtering-Correlation-Id: 04b767b3-d6ad-4b5b-ea58-08dc7aff08a1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|36860700004|376005|7416005|82310400017; X-Microsoft-Antispam-Message-Info: l8iRdh12BtPcVugd/6dsvHNJSnSecpkc4VmFBfJexgYFoysA4NJgFksZZO7ktdCzMW9EG0/8cZne1b0ypI7m3fSac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T1hX5p48aFHUi2AA5+8Zoi6NpK0MEbdVGNlftzc6CAgVwfXQa56V02FrstZzxaCil6I5n3UWkUOukLuugxzfHzmQiN7SUwIkiGI5S3U5lv8EkPrSis1M47W5nC973V1PzZ/i0xtI3BVPd10YbcdzT9065cl3ZZ4YXSEpXm76Pre+mQrRyknp4z0Ej3OUiEmxyFExKh8QWr1kfHgDiShuY+9qOYixCZ5IGLWNdl8A02ehKDjVMcnA6 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)(1800799015)(36860700004)(376005)(7416005)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:55.3127 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 04b767b3-d6ad-4b5b-ea58-08dc7aff08a1 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: TYSPR04MB8338 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010508_268163_84FD3989 X-CRM114-Status: UNSURE ( 7.73 ) 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>; + }; }; }; };