From patchwork Thu Sep 5 06:35:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13791783 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 AABEDCD4F54 for ; Thu, 5 Sep 2024 06:38:34 +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:MIME-Version:Content-Type: Content-Transfer-Encoding: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=2JrZ4dq+nY71EBw43LLUzo7swY5JU3vAdHSQmbRFCXE=; b=SFp9EJEZPvwOvruzccy2GEmDtK z0pEkcObIBvpxcCJIj0MbJphCR0Gnn9qGizfGhGa/2FRQQ9mU9F2yD0Pu70kRn9ymP6NnDhc35iwe xejF9hhjLUjYZfSWGhouKX5IqLqtPXgU2z9EohHhsm5m27lj3c9AcVjK/ah5ja/r+ROLy9XcMqzlO LWvTsWNUc4pfKRdAYfxyZa+7QAYLcFkMtDwf8zIRvoBekpKrBf739xE2OlW7af4BYHkQ73fEMnqfO b6xflewa4p2BBcEXA1igcFdtFmiFNb9AZ/G1qwN3qZ8FhJWBRfXLbRJF6ClZ9dnQzm90inJMhDFFi ZAVb1VCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sm68Q-00000007Csx-1SDM; Thu, 05 Sep 2024 06:38:26 +0000 Received: from mail-eastusazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c101::] helo=BL2PR02CU003.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sm66H-00000007CM9-22Nu for linux-arm-kernel@lists.infradead.org; Thu, 05 Sep 2024 06:36:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kKtgrU7kKtuwYjgT8IjAsiLfX+/JzbrWxgPN7z7qMaKzocNsoPmPrRSG9lgw759a6YNNbwV3DZ+Q4W59IyGIpGGZWtQ0oqDZRomCMHqVSbr719IBvqUuhID1VRVB11sIxvBTf9+LMyCpF+mqViXAjytR7MiLwY6r3s0Fg4ofv6J4U5JjN4vuN8ONyzXqUNakRAWTaqCTpaWrvdzcQZHC3UaK4S7JozSM18tBWNLHXjzEVM4cU0soaO1ed1LwTBSfUDL7q2xGZsjZvKNP9m/KRhIYlrU0jETPYTyNCnE6+d3G2aPh2b4pAW/DLLRSUVpdk6PrjYfQ9j6Q5Xf2qQiEiA== 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=2JrZ4dq+nY71EBw43LLUzo7swY5JU3vAdHSQmbRFCXE=; b=mJgO3LpL9BcmCAMWt25Z6m+sjdLTdvAh4fXWCFyVb/x9BtDuVl5QTFVhJRSfNe6X7/9mhVwkbW6W+VKT++3cDl6LpSrSmcd0XG9dEvn53mneZ/S0zE6zaPlgkeFKaqY1khbwuEwEWiCoehm7VmylM1XrLpAEusqUJvlSdRb1TlxOpDYZs/L7NQZyYG4M4zy3BE7BQXITsRJgs9NcqQASIflyEAkeboYJa9JxjHlk0XDpl2bCiVhJ8OnpzXByhjd1Mgrp7uMd/jHbfEEzZzjB110PAalU2EzuiRY8KtkRwUeWd5flt5SqMYRUp/dyfryPQIXsMXXRReVbaiqtE9TMPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2JrZ4dq+nY71EBw43LLUzo7swY5JU3vAdHSQmbRFCXE=; b=TmYZWsbYT4Zzg2hUMYu9VuyQ9g+WHWDWZ7PgGFsRF2qQfjQ3D/h/HfLZmPIRVz1+Z6a6h48f/tdOkJGgJzQSS5ylfpBFJgb3h0zS4mrof2wWOoO9Q4hUdhu3S2lmYY5+fIDTK/2upMClRN/r5SxPh2AmdKGvAGUBeAIM+9YWz/E= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by SJ2PR01MB8079.prod.exchangelabs.com (2603:10b6:a03:4f5::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25; Thu, 5 Sep 2024 06:36:02 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7918.024; Thu, 5 Sep 2024 06:36:01 +0000 From: Chanh Nguyen To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, OpenBMC Maillist , Open Source Submission Cc: Phong Vo , Thang Nguyen , Quan Nguyen , Khanh Pham , Chanh Nguyen Subject: [PATCH 1/2] ARM: dts: aspeed: mtmitchell: Add I2C FAN controllers Date: Thu, 5 Sep 2024 06:35:20 +0000 Message-ID: <20240905063521.319416-2-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240905063521.319416-1-chanh@os.amperecomputing.com> References: <20240905063521.319416-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SG2PR01CA0129.apcprd01.prod.exchangelabs.com (2603:1096:4:40::33) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|SJ2PR01MB8079:EE_ X-MS-Office365-Filtering-Correlation-Id: 51165051-f70a-48b4-6437-08dccd7501f8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|52116014|1800799024|7416014|38350700014|921020; X-Microsoft-Antispam-Message-Info: 3ANaER134hCSVUR/6N8lwZSuyyCPNozRinqs+MBUhKyQz6MkeL17dFxtErM29wrWBvwmxF8Pk54i06zGfRKTmD1VUO4glyTagm+u2bHh2Kx4HP1XAYmid652XEcaYP0MJzXl/fuGGLE3MQq/As205FzI5UDnK7DSyuxwogu3d63JUym2MmWcXtGtlVSe+R7kxgkftIIvTCOPRox6RvcdSzb8EaGhldX9cNHJe0/Rl2twysLpRkRvnQKlvpO3P+BBmGCc5k6BaGsy4XOdBnif+GUX9P9sRWV0ZtsmtMftYDMqpRv4xKpjLSE6UmhuP+hjRjn52hNFWdilOG/DHLAJX1ynHNx6Vpu33p9cJym2XmoUclHv82K9QdqA/My2RbscDReD8hvMQKY9qPjzrkhgHuijXGSYzB2SLt1bxORXVj9HxzQJsU3k83rym8m1ABY8B8BqOXmficQYaJxxFUHJg7D0xNzE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T:NONE;SFS:(13230040)(366016)(376014)(52116014)(1800799024)(7416014)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Pt0/+76L6HVc0Rgr5fsaFuf9L85T/C3XHzCNo7Bux9DaYjRQS+V9waYiJaCnYyYUp/z2CdlDX6H85Il1A8TxhJeLG0TxVS7W1tFpxiRP4M/FOwkcEAweh7435PRqVrZCz7FDcSe2A95WskFK0xbCxS13nbodPJ4j37fVYId7F3d6nJJXCJZNp5l1j0l1jSJgEUswDGThyRt7bnmzP5VteXF8CVAXagGl80+M/hWcBNmY6E9QHC3etPwf6CvJuYXyryaEJQr40tjZx/CSAkGXBPinhu1qdWmtPb7G0WJeCssKvgaDvGWSzZFZUYt5IdYiMNYSvpjqOuef9DXyQH9g0d7UonvXOsXxjDsM+GxB3riCD9blcvnDpxq+aHEv03bZHOrGdkB1h/zvykMuUI5uxYFTJZjUk8L1k11nFF1YK3q3LGf2FARjvXc/JH/aXkSBFU6lXOQAnj8Ur5QAuPNTAx3uz9rCm3kozz4DMfHsvhqr4kqnjQStkRwUIccsa7CAX25nlaNoo6hcib88rnFyUxCBMlyPcmJoO7H4pvLukTH2LncG5m7GATrQbZbXlYEZzEXLv8WeqxPTH2+uARjUrugP9XacHtNNVys654RUunAsg9upIRfBrfc4k3Jq0HyGJ1fZeKRSeZLPjh4FLfvEgm75Agx1HTGOwTa0FvgsWb+7J/S1E4K1a4ei+BIParL2QTNwX6EYQ87YTprL7v4RLAFhD0CTPDX1o1RLssz/mFo8fR+SN8Uamzzgyw8vQw7XsNRBQzUzGC8hoxAretpvBxY7a914G2tLJoq2Xi2SH97cPUHjKWIRYOaGkMk/eLOYvAUrwvwhtZ6YrQuTaX8LMSAH6V1wdeqW377aYdLgZqj3sqmFSkEcjoIfVRXsSQbxFIaxYKnQOmM2I1XE6drQHHPvwYetWJ4cpPsMoIiw3+2A5z+l3Jl+lyqdXVpk22pSyNXCLlGBeBbeET/8HozigNZLDRg5PBuP22W9g2OILu5CCEaqTGNwDOfpBBEwV5gQuQfV4q9HJSb/uB0kOIeUMdryvLnXyzmCKDwb3MHEZSev4U1rdnJJ3Ygja+52E/L4fTC9ZXIZ9xK7LiU2iy7bVrZlAbpTZzDy8+ud5oOMbbB8L2yLJGel2P0bcfZLSUGhUkZ1u6PpctMXlqtWG/r3RUwv8uVGpanrfWPHnoYUCZIKOm8b40iQvuCklbisTO9Ai8jMOOpXBo0pgDolQS5a3Wt4iHfh1yJXDLtxV05En2uIl8iURffGbLDMwBuQJXjH/WNOTkoi+asIHLExMGGpBoUi+EEy/ELvIOzAZMnSj+QPKz9CiCs4nREdyntp4e3M02jD+dIh0p13cmR1QsPaGaYGtmdremVq7iw/j+zaY34zutaxKZtAaPaL+6c9jNh+MoVTRuNbzGbeqx4+bc5jvr4CTUCm0PlRap5sayvnl5neQ8G6XUqugp7kvtW8Zjbq9HMN1pJT+IuhoXNvQn51AJ/ZdQsE69SUqCgeQvq+JqfspEHNM4iB0PCZ1twj7y20BMe+3hyTVtr8RhmnCcZZP6yEwrt8/GmtiE2QsN3QGjEN5FeJwRq90Ymdx8gGmFL08bWki4LP8lgYyTDi28s2w9QoSbeE5m4fAe8KY6ykP1w= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51165051-f70a-48b4-6437-08dccd7501f8 X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Sep 2024 06:36:01.2403 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: uITgdOLA6BInoa+hbHisN3u8vqRJUa5ENXzMXfH4+N77yC2t/8grYkhxKa6x7N9+wOkwV4JmUbNBwFf3T+sNY4JQux5B/B0Wa9RXQSWX1cKfSPA5jJgUxRRvwX7aWJFM X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR01MB8079 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240904_233613_800601_59A95C57 X-CRM114-Status: UNSURE ( 8.85 ) 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 the MAX31790 nodes as i2c fan controllers. Signed-off-by: Chanh Nguyen --- .../boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index 0295f5adcfbc..da181f9ae820 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -684,6 +684,16 @@ bmc-ocp0-en-hog { line-name = "bmc-ocp0-en-n"; }; }; + + fan-controller0@20 { + compatible = "maxim,max31790"; + reg = <0x20>; + }; + + fan-controller1@2f { + compatible = "maxim,max31790"; + reg = <0x2f>; + }; }; &i2c9 {