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: 1981097 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=TmYZWsbY; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WzqQM56y3z1yfv for ; Thu, 5 Sep 2024 16:36:43 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WzqQ81XRDz3cXK for ; Thu, 5 Sep 2024 16:36:32 +1000 (AEST) X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; arc=pass smtp.remote-ip="2a01:111:f403:c111::5" arc.chain=microsoft.com ARC-Seal: i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725518186; cv=pass; b=cvj3foLqrgjFgImzlePw2Rs0z7ySkp4RHKNHnFw+yp7pmZ7MYk5F2SIkM3Gx0YGd8iuqGp6MX6BB/vVXvWIk5II8A96LxAZs31KfcAr3kV0Vu3zny0YG74t0v/iwQqJ999eJNWT/GkNOx+sgOiomG2cgsGbzn79vOU1r+PKdj4y4m4/yLA9g5C7n9M6kkKwvLv4qwZoImqZ1xmPAxhpm9VdCK+OZeAvkvU7LImD9VUIlErTA5VNvY01DLiwqU1gGNL2icnoVqPc9OXb3c1P9oi4c3DvwUAeLuHM9myc0t6EmXbDGD0P9d02RpX9V7QFtsRlMk28qExH9T3yMqixKHQ== ARC-Message-Signature: i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725518186; c=relaxed/relaxed; bh=2JrZ4dq+nY71EBw43LLUzo7swY5JU3vAdHSQmbRFCXE=; h=ARC-Authentication-Results:DKIM-Signature:From:To:Cc:Subject:Date: Message-ID:In-Reply-To:References:Content-Type:MIME-Version; b=VTgipvZON+iwW+jE6aLZYaAIvmytO60ebuAkR7Z8aF6pL53G05mhMpxjSD9BsEIAmVvh8DeXCZu1zgSYIA/4+2cGKEE5ono0daIkvjp3U437HHICnffayHQ4hCqHbKlgVwgxxL5kqfs4ZpnQrAGTq9Gsf2imJUg+XKpbFi+wj69rN+aX9Urim0NF//v1WN1xRluDK2DK5RnOmNuTwTco01yBrQ9gmQ+qqrMBQUdaALaRWmKlkV63VtkFPyK+Tj6npW6M5GiM5h0EnSbFNSVSmiaTBfPYW+D2klyczwZ7p0zl9m75xHwlrOFzKNg5sUDb5S0ixTuaY4SqH86/q8W/vw== ARC-Authentication-Results: i=2; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=TmYZWsbY; dkim-atps=neutral; spf=pass (client-ip=2a01:111:f403:c111::5; helo=dm1pr04cu001.outbound.protection.outlook.com; envelope-from=chanh@os.amperecomputing.com; receiver=lists.ozlabs.org) smtp.mailfrom=os.amperecomputing.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=TmYZWsbY; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=os.amperecomputing.com (client-ip=2a01:111:f403:c111::5; helo=dm1pr04cu001.outbound.protection.outlook.com; envelope-from=chanh@os.amperecomputing.com; receiver=lists.ozlabs.org) Received: from DM1PR04CU001.outbound.protection.outlook.com (mail-centralusazlp170100005.outbound.protection.outlook.com [IPv6:2a01:111:f403:c111::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4WzqQ16WZKz2yn2; Thu, 5 Sep 2024 16:36:25 +1000 (AEST) 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 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+GUX9P9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1vfmyK7HeWW2p8kLUTdPNeKBJw9o4b0oV710diCpWyP8K7sIEkNTJGzl6jmrkju9xRqQU0V1Du9RapPK3Nw= 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: 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-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chanh Nguyen , Thang Nguyen , Phong Vo , Khanh Pham , Quan Nguyen Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" 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: 1981099 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=Ex7d5Ayl; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WzqQb6zLMz1yfv for ; Thu, 5 Sep 2024 16:36:55 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WzqQC4LDZz3dT5 for ; Thu, 5 Sep 2024 16:36:35 +1000 (AEST) X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; arc=pass smtp.remote-ip="2a01:111:f403:c111::5" arc.chain=microsoft.com ARC-Seal: i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725518186; cv=pass; b=BCt+y92gPTTXCrjfmgOKCn5pasXwaEwvuuAX1hdzToli0WYV+HRPpZyL5zQotGbCnDI4f+y2gqYeMnkMV/tPxCKdVigUuvMJt+zFTHAJe0lmLiiUPJanJo1LaQguQHYU5GzzcDfyQQ+E8MDbM9cUEkTnQrIr87uLVQk7MAzIj8f9HEQ6YNTYtnJvjbjdNhunYf68T5nI9yv7bL042TxAJdV+fHT4fZDgFkab2jdcPLVBKZ43CG40mLSaf7N0bqYwlTDWCT6MoxO7lxCbozEYBn1R4ZKFjwfvoIfA6D8zl6dTrQ+GfofjuBn+tVCL8tvzV9DJcND2HzwFrjJdH6uH2w== ARC-Message-Signature: i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725518186; c=relaxed/relaxed; bh=gRWsJcXoKK/C1/jxWTZE6W5kxtOhOKPldGXNza1kkb8=; h=ARC-Authentication-Results:DKIM-Signature:From:To:Cc:Subject:Date: Message-ID:In-Reply-To:References:Content-Type:MIME-Version; b=mFqOu5SVg9f1BQxva6kro203IGoI2OXMu7m3JWSHlv6zdMhDkWVxeKFYrui0k35iZsLZNgngD68qtZUAvcIadLTZ/XreFxXb6rqd2gKRdhwf9MvWLXQUAnFCQTwD0Oec3h9X13D4mbdfIj0hde5YXMHgEnTHA5smKrMwhcx90E7SyssBSAzLNmt0a1X+Zwcdr+kkZ0ZzGLsRzP/iDHPdgFQJ3mzYI+xvPXddktrhBqjznvwzhxkF96e4R1QnyV8+0l3OwfbHGMh8+vidQX1g7+MAxM540Xpb6MSussroYp3hrrmFJ5AlTlOSIeRP0QdlXHPwjOtQuh7ongNkYLv/NQ== ARC-Authentication-Results: i=2; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=Ex7d5Ayl; dkim-atps=neutral; spf=pass (client-ip=2a01:111:f403:c111::5; helo=dm1pr04cu001.outbound.protection.outlook.com; envelope-from=chanh@os.amperecomputing.com; receiver=lists.ozlabs.org) smtp.mailfrom=os.amperecomputing.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=Ex7d5Ayl; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=os.amperecomputing.com (client-ip=2a01:111:f403:c111::5; helo=dm1pr04cu001.outbound.protection.outlook.com; envelope-from=chanh@os.amperecomputing.com; receiver=lists.ozlabs.org) Received: from DM1PR04CU001.outbound.protection.outlook.com (mail-centralusazlp170100005.outbound.protection.outlook.com [IPv6:2a01:111:f403:c111::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4WzqQ22jnvz2ysf; Thu, 5 Sep 2024 16:36:26 +1000 (AEST) 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 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+KSJRXtUBcMyUaK27k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;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/finq6ZM3vzNmEJ0Fy4D96jOZ4ULslZcIOibeyM5O1MBBFg0ZZEYEZ6Ns8ZQFAALWLNm5FY4kRQOSJmYsCr2WBOmu0/Gqa+1LsTd0oGxMcixi0tQx5rdw4Uo63IYtquBLtrkXOSxg3mhn1stEN1CaLHFYA+nBc1/lj+pM91/JSR7uwztlOGKrIA/bYiLQC7xDPYRcYM+DPKH20wANpF1CY5CoNhvi/p4NBnSvCu6LazsOrY2yf+nfaMhSdbdjKx+civQXxPST9tEyumJTAPpIarCT7Kywfgi2TIxlXMoPiilKHoVvNZUR3rCzUvRn96Y4g3Fve515nc5pNriRM4qQtDLOVBf79pwWGKbKgN/rib/GHuPE/dSjxQq/13Wjn2B8gA92xXnwliDjqHzPlKf2HWS3UWKaXWEjKbgy2CcYuJhCcgoMxmKae09WcsqnkbM6jXfVfKggKigwcIDUgiI12KqtJWwOuA8z3mlcQVd+ioj86q54hegAKKBwKE9Kk8cNLgfiyf57OjC+b5vCxP/uaK/Cjv1VHXkX9i0t83whKXGFsu8xdkZg3cwTocFta2Nq4s73JyQRCuFn738ECnYg8eCFKTiX7W1yMCw0QIWpeMG2Ew248XDcEij3o2V7QwT85eVFKt4w6aWJsHLiDMgBh9UvuDbTV+rbyw/IWMm2bDwWCnIrhiOIc91tgP/9m93Uz1nryqVnK9bjj2MvpJhT4Jt7SljQuZmVwYySMjbmX5JP3kf2AkgO6lcAGo7/URymdtUNlxgEWq7ov94hbtiFuxM//483Czxl2BLumttObxrE3inQuUkhncO5lXQikMtZT7M5xzylhuGE3Lc41NLHH5BzLfVhuiztFM01He6qCC15YHYeAvl3MVkal6hjh0bIU4dUNfZPELExmSZXb2ZLFqQ+/SBATBJM3lhENotQ6QOMs9QUQv/tEkvQ+SPQ7vSCdcU33vc0KIEIcVBrYvp4kjRsQAB6jBuTi+Cd7jY54MruO1WmkixYQ8GOBrBGYgXybksN3Cax8F4By6kJLQ3MtgEMqIfCuN/5MHvRKLzsiCrG6TfHZmXSpII4S7S0fYRKzg0eHWttnEzNQsdqORe4WAXH64fC9PhfjXxCrXFU+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-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chanh Nguyen , Thang Nguyen , Phong Vo , Khanh Pham , Quan Nguyen Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" 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", "","", "","", "","",