From patchwork Wed Jan 31 08:41: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: 13539396 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 151B8C47DB3 for ; Wed, 31 Jan 2024 12:16:52 +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=NMKViqP62BhLOD9YZYPoYeHNYAQimvLDryINcIEXrdg=; b=Npo7eAtyg4fgzg 8zUzpu44mZlOSzpR2CRcg3bIhtNqxabeGCrTnfV/EhIxCrNoj2Utfs+k8mz8AjouvDwXpKqIl+CtL AjIFd6AlLDC5yaRCEgSMc3fix1Jn0Xt8gUz7pXNtBQNl+BPlHbVDnR/L/R4WrHaFnhypG4Z1igKZX SvLcm5mLPQje3lIMuvn5NL7ssYNJ1VRsufQz76CvBCxT1ZPNARDdc6rZZMlFh8UKlQgoykoZkQ3eb FKIv4EgHJcUiHnvc7FIJ1n2bkplnP9f013qkTNCbiuxMYGKOxrN3S9vvwDq3qb0MJj5i2HV2ONQw0 o8iIavPhw4Lj9FEq8e0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV9WB-00000003IaD-47DK; Wed, 31 Jan 2024 12:16:39 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6BS-00000002Bsf-2zwW for linux-arm-kernel@bombadil.infradead.org; Wed, 31 Jan 2024 08:43:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=DumxQ+D8dlwSG1bj+6vH9T7UFgzWxQzXTIKRiX+pbqk=; b=a0AN91nuFvKu18sYz6XNBRyiPE j/LM3g+w9LdoJwoWPDOInHT4Yyv3kgdhKMeQDqBnqcgkaJYEJuvm0Q60bdR4k7UgQJnGgYpA72yaN 7u6lKQHi1Q2J+xfrAWqF5DhhX/OM86vwWd5zUQrw0xPZ/gHnZNjBHSrOW5Se+lwaQD77eFTRRlBMA 16yCb2YIbZ9ts6KFKjMmiuTupclMCBP6yt5EylXFR+tKNGm9HvlpQ+vYO5yCX0aIc+Wq7+4RESwUN cudOKosjYNyUBnBzeIQRH3vkSqFi/uygG3cyEV7MiwTnWYqU+UKp3p51MgT5sqZbGRyONBrD+oog+ QPdb6nMA==; Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6BO-00000008pw9-2lCb for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:43:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jL7+SgZUN6R/ASGLSzUJFUOJ5bSTiUd5O4aa09TDk1QMshhNFMIFW4sLbiuxYhJ9MXBArMqIL0ZN54Q5VMp73WxXVsk69xHtb0Lvvdg0ydtchdwy5Lck8MlZLyBdVJjrd3y1FRB3v6w9Lw4CiP5cX+u/WOZWXWZSbU2mEgCgdsN3R3X92TkS0UzpBHMQLvF6/WfxCHkZgRF4/d9hyvkzodkMLECAM2/ltBinnMhlwJN8tCv69esNey9agWHXkOZKNfojqv6V9o4wi84FJmwrY7hLCkV2PSSJFsJGeFoyBmjuYS7L306LA7MC+mJCQgmrlMZ2H1zlPwmAy2Y2PzUXlQ== 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=DumxQ+D8dlwSG1bj+6vH9T7UFgzWxQzXTIKRiX+pbqk=; b=KvAjB6KmadyUNPIM/z8eKr80stU+KWhYhpML7hWXBZEB9K14lqpa1hBJnw247jUU+c/olx8FuPXDvupJz5Uq7yGv81u7Z8jc3thP/QHpUlIEZEjDu9KhZH03pw7kD/svvU5Ea7Cb0HdDp3OQgEyFyPmlJ/zL1ZUfF4dKufKNt63Sq9RGYCC+GbFU+Qoq2J8HLtpsM+l7FhbBxBmvIC/w1mR2g9YJT8at8ojX/SwfkCpEG0zk+mXz/v+R+d2+w+01xSJPpBYKwJlzyksafnny3nA8HUUQFDg+C3Tm98LTqOApmBoittRmYlfsDw7QPhChmWRF5H8Spn2moizBMe0E9g== 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=DumxQ+D8dlwSG1bj+6vH9T7UFgzWxQzXTIKRiX+pbqk=; b=UxwnNSSNld1vGISPFb3DYXYcOLDYYBikC1oJY40g1q2mg+EsMrbSiqx7f3g83XGFHxr0vH6hVItfRA2uW0OJ+fSQusWICv8d4ydHmehsiFFf9PMvumCQbB8tw2BGIaF1pJJqviZck7nZV1ersGI/yy3J/fkHeQbI3f0+8MPrCGDvK/XC09GtrELI9ug7TV/uujr3Xctr7jMczuC13Ev/vNz/Y4Kn+cLWeMKgqej52avmAp9or0d5x1jYMJ1CUMM1H/elAIe9a9F77CUPYgJqYfD0GaimlEqjW7niyG4qY+67fAJuCta5BUSUwXv/AdbvTWKUHtwHfitbzuPyMmYzSg== Received: from SG2P153CA0033.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::20) by KL1PR04MB7345.apcprd04.prod.outlook.com (2603:1096:820:10d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Wed, 31 Jan 2024 08:42:52 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::9b) by SG2P153CA0033.outlook.office365.com (2603:1096:4:c7::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:42:52 +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 HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42:51 +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 v5 18/21] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Wed, 31 Jan 2024 16:41:29 +0800 Message-Id: <20240131084134.328307-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|KL1PR04MB7345:EE_ X-MS-Office365-Filtering-Correlation-Id: ca4d0ace-f93e-445e-0327-08dc22389ce0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ik7RDYGEHzYp+hUOgCKjRxp/A4AGoOGUVFl30sTql7OFEvTfPjupplK246fJSD+/ZFg3Qg6ow3ayZ7UL5QG9gV56LLq3RrAhNxF1gtRF+iL9qOaU8kIzGuR4Lz0n8MiDYm6245Ji2GTAOS4drMTP0F0O19fjYT3P7YiOBNCrvtJYs8uy7yrWLJV9csFgVh/bLO4rQS9ppb+SZdrtk1RBIZ+fkzg1pviovLIuXJ/YhaMhIhHj/8RDmfH9sm5taWv1Df9mQCX9tbBhvfCL9szL8800Frmk5eIjZ6mA3xWHxJTMf63mSWXSp/qW8NM869eQ+d1Ke+foNnc1nXzfRJ6bB6Rthuc46naJ9XWXYSmBuZvSEy1z03e+WU0p0ENtchQjs6AhyqzlmC/iMgW76PbyIJ5H5b+64L12aQFbhJejkFfTwcW/kD5inwlmysFSh2sY/ngw8IAy37DnaRJARapyB4hwAlwfs2PmkEvS0BLsyV+wp1jUGJslHfa+kA8kxtHbLo2q+PBxD8n/vCbTx/Bjt9nT6Wj+943QplUxZEboSXguWrbfik0KguMEhuUSVAMcUKuVWdhgtZSrsUCYPsjIzxwtOMPcnGwhsU6LtqAvJbqGyDd7V64mQMmZ7V8HQxP3BLTWpwWuodUB6XxsitU0W4Fsjbf+1KLt+J3rhokGAfLGmzD+ZosDbNq2sRqgn1nMhYgE+RRRbfylD4IZJqQzQg== 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)(6069001)(4636009)(396003)(376002)(346002)(39860400002)(136003)(230922051799003)(82310400011)(64100799003)(186009)(451199024)(1800799012)(46966006)(36840700001)(9316004)(6486002)(110136005)(36736006)(8936002)(2906002)(86362001)(8676002)(7416002)(5660300002)(4326008)(70586007)(70206006)(316002)(81166007)(36860700001)(356005)(36756003)(82740400003)(6506007)(478600001)(47076005)(6512007)(6666004)(2616005)(41300700001)(336012)(956004)(26005)(1076003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:51.4425 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ca4d0ace-f93e-445e-0327-08dc22389ce0 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7345 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_084259_867030_9EF1F8BD X-CRM114-Status: UNSURE ( 9.50 ) 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 --- Changelog: - v4 - Revise device node name - v2 - Add patch for NIC mctp config --- .../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 7c7c9e85bb92..b9b6fe729cd6 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1273,40 +1273,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>; + }; }; }; };