From patchwork Tue Jul 23 09:22:59 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: 13739783 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 28D43C3DA49 for ; Tue, 23 Jul 2024 09:31:17 +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=FF3rSDegZ/xCOaSVyAbq4mv8Ba 9g0Pe2tLbss0QSdYmp9dyMl3F7Gaz21IDKDqSKhP1hhb4gZ0RcGex0p6p26ht/w24RPf089nH9szM HibNHTMtDBgknVY2Qr85iRScvpqRWmsUTJn9qSzA4Eb8B5umRXyDwRIsDq8+4TaeI3OGD7Ver9W64 JKkNeIlXVszIqdquz1TULJNqy1uFqqSMQ77Nv9BOO4gb1MCr56ehscqIGDduC5S8ukwd7uAztsJG8 /akWFP+zm3qBz7jG/b1IRsYCual7vp1qE9c71cwkKDpraLGfaYyTIeJtqdkqOXxVzyPENDyBVjC5z 5fJrSalA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWBrN-0000000C10s-3NPw; Tue, 23 Jul 2024 09:31:05 +0000 Received: from mail-sgaapc01on20628.outbound.protection.outlook.com ([2a01:111:f400:feab::628] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWBl5-0000000ByJb-2McC for linux-arm-kernel@lists.infradead.org; Tue, 23 Jul 2024 09:24:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GwgNTiKsU/AXpLQ8M9iQlcL/phYM2TSIP88MzoRKKbTpmyICf/RuIB5EXL+xKbQ3qFLLA/QAXcw5xr+SNaM989h3CemUCdawwnkyMkOq5R9toWpVbMjoZGh4rpwgfsmugcIOUUudjIXXPHKCzqPjze+mA9wIeTlUajZSPOiLyYNUVV00Mh4Kgdd/JAUN/5OSka9tA+SfpSc+gz/C40Dmdliogft4KhG/Y0jihZHE56h5JK8nWvxAuY6pL9x+O9Dgg83Z8PFxwimarvSJl2DVZOoiauagfZg1SubOOFJNJ8W2soa1JjtP8hXTZ39e7GI5cLKoJFxDf8GbnYhu48rI1Q== 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=PU9viYZccI8rEzadN95d0cxKWzHuQSDj8dN3mNL339j89OmBJK7XVu6Y+hBL3+Dcy32G5EbZC7347CPpZTvQEAkdvbc6tjHgJZB3d4zlv+EZP0wJRkT6NVzCBnKRNwtxuAvO/8LyuR1AcrmHVx/LyOSlpLvHZgvagG9dInuYWv2TwFMERvbARbPafPZMkrN036K0cLdJ/9P8CArBjcgFqh6RrbFDE7w12kvtYiOnLANfPDcG+/W28jcNhVnNF/pwEUvdDc0Edd40KTupw+uR9UKqRRlutQAhPeE9vn4oxJJOs4AK0nK5gDSNRdyJhf0dQq6doxdfkaxf/I7/Z29IHQ== 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=etAlQHyYNmmoiW3AnUKY56SZWeaSy5kXQLvJ7/dTbJvAM848W9iNRwZCGgtMGjpu7BZ05vtkbYAQEyf3pjvNqmWzQAPNBiMCM+A/ZIHtsLlieYbOihbztawmbjop1hKdWvDIRPFk4gwh3aGdUPDQ66JKuBMpfpFufeu7EudCWBqLnjH4RtHpRNNNyjI3khb48kSKRZtPxntK379QSUyXMlyRnUWlBCvY1ouVcVshFs8aAhAje7HfeRhzFObzvBGI48vemSjblQPaGiNACCqJRdGrdOFVex6LmcETuwEFDZPqbwtcK2hlWhcC/R5UC/fTjphcz5ZMiYar24bnQeQVwQ== Received: from PS1PR01CA0005.apcprd01.prod.exchangelabs.com (2603:1096:300:75::17) by SEYPR04MB7138.apcprd04.prod.outlook.com (2603:1096:101:169::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.16; Tue, 23 Jul 2024 09:24:23 +0000 Received: from HK3PEPF00000221.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::a8) by PS1PR01CA0005.outlook.office365.com (2603:1096:300:75::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.20 via Frontend Transport; Tue, 23 Jul 2024 09:24:23 +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; Tue, 23 Jul 2024 09:24:22 +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 v11 18/27] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Tue, 23 Jul 2024 17:22:59 +0800 Message-Id: <20240723092310.3565410-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240723092310.3565410-1-Delphine_CC_Chiu@wiwynn.com> References: <20240723092310.3565410-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000221:EE_|SEYPR04MB7138:EE_ X-MS-Office365-Filtering-Correlation-Id: 70ed04b4-5902-407b-dfd6-08dcaaf93d55 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|36860700013|376014|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: ZohlssJK3UFUJObRPTiKHvmmeFBRAv1/nCZG46kBmP4YyPMApRUgUFAyOaPWm2boOwmCijMuyL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0/lql643n/9XMhFzjXdnWMzgpYWiyE1syn5qmcefkU4VqcC232GmXdArEu3vdkX89fPztV3WDY5P/CBkI1uBVdtFgD9u+JO3WhLBKBXptsqcLawuWg2vEPUkFsxpH/39UCdB/eIHbOVcNM8pWqb7WeDJ3K7/TOVM1aXdXO2HFlClkb2eIDANQQCx6KSFn0AEMjxpiMnlgM/kZ4LLQmtvmIVrOIv2QdBEBpZa9qYb/xULLcPQXXJTpVkZxgM0W/NLgCBvgLyt3ROBb88wmUfrGd+PE/InSxaAJ4bKymPlZQ8p6kMBGN7+j1lhac8 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)(7416014)(36860700013)(376014)(1800799024)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2024 09:24:22.9571 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 70ed04b4-5902-407b-dfd6-08dcaaf93d55 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: SEYPR04MB7138 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240723_022435_635123_ED60937C X-CRM114-Status: UNSURE ( 7.19 ) 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>; + }; }; }; };