From patchwork Fri Sep 20 07:04:49 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: 13808156 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 CFE71CF58DD for ; Fri, 20 Sep 2024 07:08:44 +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=Ak/A7LiKceYzH/Ibf+ojUHPoKN59wU2gqDAJjVq66R4=; b=GWxbT1pKlV/qZ+AGWdUyDSy++0 i8pC+D/QYUacbWL4ayUvYLm6hew+o3oqyB8gSwXo7RE0CMrQq076ItUE3ikKtZneb8cwJW7aie+6g A0Q2o3lV/UQSCBV47PgU3apQjVjfS5KRmmYht9HdExcEaYaz937mPZ8Qw6XfAwkzf83TMWl5U4Pce 0l8nMSjsA3Nwk0C+GKnIqz3RqAf1BRu3CTBkaFu0eH8ITRyFKEGJF98wv8UU+SAqQDo5s2Q2bU13i fdCSB5LRF2X0Pk8i7LxwwyEgapB+kt6vwb0+twY3mfJ103K4jxGI2lOoedwowTAX0GTr0Axzt3Nbf dOrV7GJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1srXkn-0000000BbEa-160O; Fri, 20 Sep 2024 07:08:33 +0000 Received: from mail-eastasiaazlp170110002.outbound.protection.outlook.com ([2a01:111:f403:c400::2] helo=HK3PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1srXhX-0000000Bajw-3rld for linux-arm-kernel@lists.infradead.org; Fri, 20 Sep 2024 07:05:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XQhzeGkdqNCGuzwoXmRaxLkRUkkDan60nsmQNkUkBaj+SPTGsV584/CJSpdnZaZ7wOt2SyVYxAGLEvVZULbl2aCEn49KFdPlAHjaRQVrGfx8RzyDiB2GR8oLefqx23hi/nx9R/5Z99ePa9WGpFKBH3W7SFrT146ZbvfPlUrpGDF/qNzKbVxQajqxXbsyKvSFNW1/UoUssjaLinrxD0NcOnrl7GCWcD1JXnfyqAPwHWF9leLP5qEq4/FtNqX9XJan4tc/u56j0alrwixLFRgpQaXh/b2VgOUnluLzuEDG/stxhyzeHyRXBm5+qi10vCArUmZ+uafoM/M9k+q6rpexrg== 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=Ak/A7LiKceYzH/Ibf+ojUHPoKN59wU2gqDAJjVq66R4=; b=Mqli3K1d1ym/7FKLwwCuyA/iwYAGqlFMbib0KvHu410O/mthUkqcg4ir/eOhlVNpg6mlzliqbEbafNjGMtSRGUm102PyivSPIq996WPWUmtSpiTGc8BIa2ahZWX6s8r7qEAA1FnPvNP04Fc1GChTjkpn5vkC1YkcaSb5/dJ7ka2o8xE8BlOGhjtTHnHENlHB7iu46kGrCaF4lccJO1i0zF/paBGReibUuEaqvgwgyuvY3gEZFNwddbdI6PM+3CsvafCdkeEG9pv54NYD15QtiqKox9d/J0xHFTAuKYGthBTX5siPY6tKSrSrE+sDbGMlQ4YMdeKRNjGZF8JAgqFt+A== 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=Ak/A7LiKceYzH/Ibf+ojUHPoKN59wU2gqDAJjVq66R4=; b=RVTgfh74g8BpVo/DH8+h+Iy/+LYchTg1b29j3MxV9dgPM6Fya3wLkfcRYdnzPGhuiyUqRcIAfQh6XONkbGX6VfBik3mPqARLpsgIIx8AXv+DAL3t5hTak+zSFJtQJXAlcpkwbXCgOrZpVsoD0rvjtcdoLBO07SafvGC60lKLGNS7GFeqmLmK0wcinaUx7wK8em+ET+35C9PL1dXD6vSPARZI+BlIa8YEw4czKpX59SsE7HQf5ln9uU5Olw3N7oiV7fRZFCn90VcziNMaIEIA9roA38BVrVte5SZIQhRRUEAsQtbGYllZL17vitY+AvgVRXO/8pVbscUA9+aewFAY7g== Received: from SG2PR02CA0103.apcprd02.prod.outlook.com (2603:1096:4:92::19) by SG2PR04MB5913.apcprd04.prod.outlook.com (2603:1096:4:1d0::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.18; Fri, 20 Sep 2024 07:05:00 +0000 Received: from SG1PEPF000082E3.apcprd02.prod.outlook.com (2603:1096:4:92:cafe::74) by SG2PR02CA0103.outlook.office365.com (2603:1096:4:92::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.25 via Frontend Transport; Fri, 20 Sep 2024 07:05:00 +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 SG1PEPF000082E3.mail.protection.outlook.com (10.167.240.6) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Fri, 20 Sep 2024 07:04:59 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Ricky CX Wu , 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 v19 2/2] ARM: dts: aspeed: yosemite4: add mctp config and sensors for NIC Date: Fri, 20 Sep 2024 15:04:49 +0800 Message-Id: <20240920070449.3871705-3-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240920070449.3871705-1-Delphine_CC_Chiu@wiwynn.com> References: <20240920070449.3871705-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG1PEPF000082E3:EE_|SG2PR04MB5913:EE_ X-MS-Office365-Filtering-Correlation-Id: 89d0dfe3-717e-48e5-d74c-08dcd9428ade X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|82310400026|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: uqjXxOzQghD9h3cdYloxgc8UOBcjtox7kZafgGUHIM1tQRgYJlkNzCnr6TeiA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9r+FZRZY6tTPeTI29lKZin/8N4aXU376yht2TVGr3lgfwKUV0KNNQY3ZAVLThl4FJAyGPfKh1ZSYJxHyzYZnLojT1GsUMIyYyfdLeUtxGVyVy2w5EkhHIqmMgtLqhnnmVqaPatGegl6XLl00JyW9YMgSnzuJufHbA3fSanWivIbtBC0flvzi57JDaS6CnNN4D/TdSs/rqbzkXOR/prz+hhe3EPb47FDj3DEx6q0KWMmDrr+1tB5Z4hNshcsk6BGDnoVF/TO0QfEjcRTCmcBjL96gI0t8Zohmqp3YVuqRwsaInNnPWexUzEyjFV5lqpYUMeQlwlwa8LzWXv/kj 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)(376014)(82310400026)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2024 07:04:59.3977 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 89d0dfe3-717e-48e5-d74c-08dcd9428ade 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: SG1PEPF000082E3.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB5913 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240920_000512_005726_C59E6A73 X-CRM114-Status: UNSURE ( 9.13 ) 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 From: Ricky CX Wu - Add MCTP config for NIC and remove the unnecessary MCTP config on bus 15. - Add eeprom for NIC. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 30 +++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) 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 6b4efb5fbd83..621e4e970790 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -937,7 +937,6 @@ &i2c15 { #address-cells = <1>; #size-cells = <0>; status = "okay"; - mctp-controller; multi-master; bus-frequency = <400000>; @@ -951,46 +950,73 @@ i2c-mux@72 { reg = <0x72>; #address-cells = <1>; #size-cells = <0>; - i2c-mux-idle-disconnect; imux24: i2c@0 { reg = <0>; #address-cells = <1>; #size-cells = <0>; + mctp-controller; + temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux25: i2c@1 { reg = <1>; #address-cells = <1>; #size-cells = <0>; + mctp-controller; + temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux26: i2c@2 { reg = <2>; #address-cells = <1>; #size-cells = <0>; + mctp-controller; + temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux27: i2c@3 { reg = <3>; #address-cells = <1>; #size-cells = <0>; + mctp-controller; + temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; }; };