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/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-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", "","", "","", "","",