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 { From patchwork Thu Sep 5 06:35:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13791784 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 150C1CD4F54 for ; Thu, 5 Sep 2024 06:39: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=gRWsJcXoKK/C1/jxWTZE6W5kxtOhOKPldGXNza1kkb8=; b=ms4S7mzR6XjQ+w7Cg8S0NcpqzS MD3CKiFr7Bxaxhyni28c+E6BXFF0jWGd40R2HhslJWPUaVv/UtztCsper6UH0DGjQb3gfkkOBOTBw /caj6XQRzApxKVuh0VvEUDBigfWZiOwXpnWtA9QFx+2CmWpeoRJgll8sYA3QcBFPbwYr3oTrH7cgE 3DkfYLfAZZKOUSP7sTLm+/ngPNWvH21SCwCb+BwkEwrFKIzVvo9EnXIwbOvtgwhXWfp4CSzECBrfn MGW1AflU5d/mk8H7Dv0MkjIrxy+FOe9ylo+xEaHax9BWBE+GMveAihjzzKfr3iIfv3GAL6ajljN7i ocF7WRKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sm69L-00000007D32-3diR; Thu, 05 Sep 2024 06:39:23 +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 1sm66O-00000007CM9-40SI for linux-arm-kernel@lists.infradead.org; Thu, 05 Sep 2024 06:36:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sJhO7mQU7X8b2vYABqOYE22Z77ajNpMAgK6f2GMWLWrxUDZOGcZl3VuptAmiuB+1IkfAXc2wTqIh/HXvpqsdqYhFwpV1QQVgvxJWy4XmDtabKyD6T4AGYGkC4BQAezUjf3aov0bDXrCsLgOFXLYrXGq9Opv6QXuP6yRCkp8uFAeArvgvi0FgnZ4nFaZPB4BZb/cxJkoLcVot/1ZNtdETeeJphvAtMYNdXoa60fypYI3O2qnU5X5KpdzhOtDcZzNjhSDTCJ6djJI/ywOzY/qUJNNo5ETHhYikVnLkGFsyESuFGb0N3dE4JT8d6XWpDID8MA+EAHb63Tz/lB+tX5A5Mg== 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=gRWsJcXoKK/C1/jxWTZE6W5kxtOhOKPldGXNza1kkb8=; b=kXA+Gx1yck+vS7aTWse2N0o2CURIL7htxLpR+ZexXp2RRG9apDURxEfMzrGr2BJ3uM90q1ywmmQXK3eLDWk6ENZl+muNorrtyVPVcvugA+t14BK9x4VxjN010zkgNFgC6oB18N4yEzmVSXMftrB68NFbJn7YSaumXVoa4AksniLpRxT7MtdVu15lS+vd+D/7eUAKQn1Z5pmPXDe1elTSr2QdfXRZVEve//vyfA1Kpxs+TTBVq2bWs+FS3bykaRgCY3/ZoKCCSTqFlgPlNZQEM16A70nERkWBWLJS4QCqI4N9ri6CA6k9odG/i+otyyZ5MmDLw5NvIZi3psEMB9gfxA== 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=gRWsJcXoKK/C1/jxWTZE6W5kxtOhOKPldGXNza1kkb8=; b=Ex7d5Aylh19WuBKYzp4Bbl/nmHNbEE2cL3ESHWAVBp3Szk/kCbWQJqjfk6y/HfxUTb9L7Rvb9jCQJo8zKbSp9WcVRfT5WXF4+shBReBKG6PCQJCIOQE9YsdMbRLouOY5CGLYon7RrefD7iahWaw+uvbU7x8/UZjcwQGxgnbKl1I= 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:10 +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:10 +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 2/2] ARM: dts: aspeed: mtmitchell: Add gpio line names for io expanders Date: Thu, 5 Sep 2024 06:35:21 +0000 Message-ID: <20240905063521.319416-3-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: 413874ed-7eaf-43db-678e-08dccd750739 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: DkWiYZVRB/NOpq8XarvMYKsbxfWiqWfpAQQgvsxQySX/JiUWhG0wFN2I3yznaz60PtLBUQp8iUa5CfA/eiLTNqxbPlX/ZcfBp64GHJxkb0BM73ncxIpOHC79/GffWVwymsgQjfFUXIeGCSd8sqOp99pV+0NeRfwZlrK/R4nzp4UyMn9DvlUtWx4cQaMuW8oe54YMuk+gqRh4GN3eIfxvlWEtlFXK1HiBGxcyiRH+No6+siatjhJQvWS0kjXITMdOcz8TC3qfkRL5Kw6NGakZafQDptmJ/Mg4qwK5PLDeip/FJzR90kbYhOHHDJyjMyUH3OyF+EK+gllDHtnGcFcMoFPeA8yPbZgjukpfpiBIkHYXe53ITutJd9O0NEVeHTiIG7R+U6X6iB+KSJRXtUBcMyUaK27kSYg3d0cTrJ2SKBUx2ExWq7NcF75FAR4us6WgjdTyrqGyngw5oap6liNXJLUcaCYx4c5Q0quw6FJO0Af8l57ENMvG0TH/6WAK41H6bn0899ysJJxsqcU8QksadCHcFWkQPxJmvBFEZgi6uu5ZsepoyJfFwofkPvOmslN4KpXHbzbDCKe2w1M0aBN8sR0XCRbac4Uec+Fbwlpv6vTeZ7UsVMhZjkp0Jd5p/o8Wu9O145z7KbMG8MAavj9AWvz4WYcxxFh0afK30NAPbq8xO45fMeh0c34LUJiKTRCfP2noEZf+rf6amdlPVXaBz8hcppXWTzEWBEFEZwlLffu6vutti8b5NaAauF8adLOx1NPy+9pCD5fPqUPcAA0uUC3HDclM9IlhT15nB4UkbSksDxwkUv2nH/5iXRjduH5AcTq/+KXaxcLsfFWgS7qWWtBG6fWFghd2dzkeRz31JCwMtingBVKCW6qv9cAShcbzYD8bwkjSRi0GxdV4BvNt77WJnWV5DzI8xpbhxT9a1TdGrYj418WoN8vkAwaOpxjkPI3edlvaqmw9JkBI8p047lpvfU/yNOSECp8CxBE5GSWd83gSVuBi2p0I9UzDIw6EzbL/0g3yHOIKWxd0FG2th+S7siQsK6Be+e66DrzZvTqqHZ+cOsjFG40AbpJMevtOak6wx8KLGsd9qJUds6w/JX0IhKkY+pB9ObICzH0Mmow7cPQy9en6iZe15N90mJZ4QKoLvHT2HuUPSIqdDhmxGeWXJ6CPKxGnvEp962aTtfdzXH10b+7Z507eIsRdA8ShGxpoPnfqSZXoZqzdLeohDmvOCh8jHV7f6LhzHTcvCey9o6vABOBpgp50Ro3XrUqbFdb67ydPUQaBwzcgIwnp+IsRvwy5D5r/lcRAqBR78jiP8LHx/5ZSsAIrnfoCWNp48ivtWFigV7xDNLc04lABkcHQagcDNKnGK4ZbUSsEOhjMYrSQfgSjiwAKw9bolMdlEDmQS1XGOozCEpPd71roIPXhOL5Gjtxlqosz/4CKGe8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT: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: EhsxPEankaWn4xpUQ/ZZpCISssxdNQSDi5LtwgDoJgN10bJ23OoLGLaE0lWcZPOcMOxM/finq6ZM3vzNmEJ0F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dqORe4WAXH64fC9PhfjXxCrXFU+mOLnJsaCHQcIvfctg0u+Y5trhMR0s9P+KwGZiZlYQ6BBxxGiM0lNhRRLodULgXjWVrJmn98oN6jrtNHJiZwl0peXdcLLIIeTRN0hQguICostVWUFDj5Ykd3HIna/LDaOCREOZYvqGiNd7uxj+fgH3WpGUR8Mr28L7OMzZRqoziIYFPn7nqDbaZCaiE2LrT6oolXLpVArPNYRe4l2ZIRIHYCsGe2qd5RaPgeLG8kyrbDqqU2PUFMGmA2EjNUt6s1SPM1CDq66m9H2DW7ZKqJtvO+pNly/5+besJ7NoGm1ga9Yi4vDEGmxXfThdfnvvcihZ/anLCqVmp9dqv/H1fW8YM+ZgPC6lKlS5ItL1G3pZb6/b5ZLsn7fRUSVyQAC4gc6sbqaO6K+kPz0WS9kBgx8zrNEmoUB6XxyKqhEcZBX9YTmcOYFAV32/hQHQ3MiE= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 413874ed-7eaf-43db-678e-08dccd750739 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:10.0615 (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: HYzV7avWyWVWi0SE7Ifok9tK/jCbj2qyqyJazxB1aexuQwPys52cZlVdYomAuP70sZi3zbpQHEtj2BpTT2mu58+LMH43ixSqOVJ0P/CNdsYk3YF7iT41D+yaTnXcFfHt X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR01MB8079 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240904_233631_213680_BB1145D5 X-CRM114-Status: UNSURE ( 9.48 ) 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 below gpio line names to io expanders for more platform features. - ext-vref-sel - presence-hdd-bp5-n - presence-hdd-bp6-n - bmc-ocp0-en-n - bmc-ocp1-en-n - bmc-riser-en-n - gpi0, gpi1 Signed-off-by: Chanh Nguyen --- arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 da181f9ae820..2b336aa0146d 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -677,6 +677,12 @@ gpio@77 { #size-cells = <0>; #gpio-cells = <2>; + gpio-line-names = + "ext-vref-sel","","presence-hdd-bp5-n","presence-hdd-bp6-n", + "","bmc-riser-en-n","bmc-ocp1-en-n","bmc-ocp0-en-n", + "","","","", + "","","",""; + bmc-ocp0-en-hog { gpio-hog; gpios = <7 GPIO_ACTIVE_LOW>; @@ -968,7 +974,7 @@ gpio_expander1: gpio-expander@22 { "fan-fault","psu-fault", "","", "","", - "","", + "gpi0","gpi1", "","", "","", "","",