From patchwork Thu Oct 5 03:55:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13409782 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 4702FE936F9 for ; Thu, 5 Oct 2023 03:56:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=lg+KZi1LWt5PPFhCsbhuZQBbFvK95/0JPTy8ah7SKuw=; b=wg81nzS5JDQmUs R2/40dMcus5ucG0ZCLhWMbMBQgoIVVNaZ4rO+k3Yg8B4BEd7LhX3VVaqzdUMNtP+GRnFWtD7dxcu2 6NresLUE7aPsi4vYFrNPsQWMzSIo2jvGgjupj7TBbHq6rotVXYwvsPLqn5s5E07QNKGsc4AiBdzjT EIW2xGStB9kTEFZe3KuclG1OGkS89Ag0MuQE8b4XFbNkrf1uBndwbIVUXPqLObmNuB5t+5TyriEoK F0Q7cC3riwPa6M53HdzX05VsiM9gfSgCvANp0Zte6I5yZVy+idQMldAnY7cuGTjlX6g0ZdLRX33iy qZFXXhCi886WeopBNMUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qoFTD-001LMa-33; Thu, 05 Oct 2023 03:56:15 +0000 Received: from mail-dm6nam12on20713.outbound.protection.outlook.com ([2a01:111:f400:fe59::713] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qoFT8-001LIX-1y for linux-arm-kernel@lists.infradead.org; Thu, 05 Oct 2023 03:56:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MOAJS1g530kjtnIU81bWERyJOxzCO1LoPMOb8rQ+6F7rFBdSEUWLKRseStf14ZLrOpUENP0qujX8Y4jDwSHCCKlU/0MSvW70wdsjPEgdgQxkEY+kKM3v22TLIiP6JC2YEC+uGs1R4Oncwljov6FdsWXDN6adfvcwfM12YVrPryP+2HbhGRq+66bhdDybEExP5I4peT47bOt7jlPqti8kSE2OK0Y7LGbb0QHILsU4q59+kfrXk+RsMWuYmIzbqMK6BOMPhMb/aFeqbLI/MURm3o/XgA3tDHm6ej3KGIYO9x+CwF17C/FV+OaHHtXQLLI565FBtDP/jv2yAc191pA+3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=e8NbKW+afFd5BIlOfUO9CN82XK58ZXuR/m2S1+hxk3I=; b=enTrBhQBuhXECxKsDeMjfr6LkPQegG7LsbroN4kPII+OihrCsWuqkBnCbrz/iR9d7XykrC7zpZKdCU7beI3zzmHnKaZ31jwP1nFAP5MCUcf0g915PId0X/JOtPFrOO9B+fd8WBAf3qgTI0Z06DTFSK2+UYGK7Yc9kORXTz0GoQ4GH9wY6RrpSdQ59ZOEh5bLPExcvMltZ9QtPjb4s/6U7uWz7zEy7rjYvn/3MdT9yJKruOHGYHNDjBO85+bz3DQ96dME+MdN36p0mLoc6SAoBwcdWt0wLagSZuutWgwdQzmvy1ergAZkzM6MlK5zJjaSZUqzVpgyKdJHxpOg0akqIw== 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=e8NbKW+afFd5BIlOfUO9CN82XK58ZXuR/m2S1+hxk3I=; b=Y25FkCYiQg615TZa9avwSvOnz5h5quoL880wiv0L+pXUNqAHom5dF5ZCYi/xy4j8v91lnMFCtb+Cd6dGnP4gZI+QJReHOS0KJZ2S7QRiUWrHS32pPJIfQJNKJJRkxjYov0SRCuhGF4FFyzPT8NAr5nu15O/53PA/fyRtTFNFnt0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) by BL1PR01MB7649.prod.exchangelabs.com (2603:10b6:208:394::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.25; Thu, 5 Oct 2023 03:56:04 +0000 Received: from DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9]) by DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9%4]) with mapi id 15.20.6838.033; Thu, 5 Oct 2023 03:56:03 +0000 From: Chanh Nguyen To: OpenBMC Maillist , 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 Cc: Chanh Nguyen Subject: [PATCH 1/7] ARM: dts: aspeed: mtjade, mtmitchell: Update gpio-line-names Date: Thu, 5 Oct 2023 10:55:19 +0700 Message-Id: <20231005035525.19036-2-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231005035525.19036-1-chanh@os.amperecomputing.com> References: <20231005035525.19036-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SGXP274CA0016.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::28) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|BL1PR01MB7649:EE_ X-MS-Office365-Filtering-Correlation-Id: 91c5531d-ccef-4183-9201-08dbc556fecf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 22kRoacU9Kl6za9gzr1hJPusDKWICfMdo+Y068z3n+tXA2kLh2bELU3kAqGBAMqO7IYS+8yY4Lf+3B1K+5cCawVVJBCWagA9d3Y/qAJ9r+tocc2wmCB0iYfnZVzbmbaftm03k7c4ZTWg6WQKvxDPlYwXWPcA3aD71S6iS4W3sFD7mHJV0m517UHG59p/BVOKk18p1hhaUsXGQX3gEASFYpXgc/RnHGknhd0q+pjV4N16NshAMLp0kuytsn2T9yeyobvxkc3rOWn/GeKK2167euZyIGlAv27HRWQwQQ8Qs9G2VnAIIE83uNzPerOdNmIjsOTHlvDVB5doyv5B6uQDv7Z84L2aNSqNX0Fbu6ZTWZ93qox4OKnNtc0v3ZnWDV4x04kybUwlXwGKz45cH5WwmQ6Iwn0CypVTxFQ0EG8ygQWggDtl+wcz/g+Ld28qu3DlW4FGKGpBlop0LBBLKnVUKOzH3geQ9GfMY+ichFOzfqnzdutPqqF3r3O9vJWgcvtzHmjr0OQeXRz1gfxkSzLqj6HuFIsJq0AhY5ZbffnpHnSG0OrmnnsdsR9V/JkfMLaTFF1ThxjsHHQWH8Oz0JNq5EXadp1MJlAiGZVjYgpqO8RWif7ylLLuzw77p9mRYTtUtUnSY0whtvIlJlvOzoM1dA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR01MB8010.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(376002)(39850400004)(396003)(346002)(366004)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(84970400001)(38350700002)(38100700002)(6666004)(478600001)(83380400001)(6512007)(921005)(6486002)(6506007)(52116002)(7416002)(15650500001)(86362001)(8676002)(4326008)(8936002)(5660300002)(26005)(316002)(41300700001)(66946007)(66556008)(66476007)(2906002)(110136005)(1076003)(107886003)(2616005)(449214003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2L39HRUMTjvIwVg58IEeZlzaE70jzoRU9FTKzqOdsl3O05Z5E8+rTWnxp9zkFlikTP2KB0yTw4VxIqS8ehgZZvJLIjNFxx4s2J7FK8qt1oG9RFH7xuC0jp5X2Qqz8UGMR+CJtl50L8RJgXd7HxK6+mWwONncvVOytsTXcv8f7QPeL8mMyYBJMMi4XaBrtJyua5f4YX6cZjk04Ci/t//RnbBecSZRIdWRzLbz1QNQawMGkD2NrRP5jJgZfAGz816wmYRpgua8J2l2P0QHe+5cTC0bCIATRODk/Ulwp1TR6qrOHC7qcX4DVHVGfg5pdhuGTOQ+IJUB7hlyknG4wrJpipJ8l4jUjK8GJRA0QJgqvK6snjdDlFqMhFqLypPuhkxcl/z98RfroPnoguRDvjzyn7zyEunyWoJIGKgGhl6FSYTlfwTqQCa8M/PohuCo5D4MtmsM3OQlFml7YXTPqaEv0MyPFAQM0E7cszLNE4NNNLVA26Palf+s4DCIStGYyYNHeFVHR1UuKLmTwtiWoVkPGP8O7oPFQIXAoNCUOwVNl7g/bbxCeSmDSOyXtgztjyZBQYLauP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orOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91c5531d-ccef-4183-9201-08dbc556fecf X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2023 03:56:03.8925 (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: sk3/yaBzXFIuDHpVPXT7rJ4TqpE2iTOm+CTGzS/yN34j2FnFvLp592EkmdLLpu41qkJ+7HNWgzIkoKf3mL6wrOKUN1OtIALa90nxYcPd3OfvoRrZb7jfFMO8sJ8Wc80d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7649 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231004_205610_660361_0C2AB3D3 X-CRM114-Status: UNSURE ( 8.30 ) 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 Update GPIO line-name to follow naming convention specified at github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md Signed-off-by: Chanh Nguyen Reviewed-by: Joel Stanley --- .../dts/aspeed/aspeed-bmc-ampere-mtjade.dts | 42 +++++++++---------- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 6 +-- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts index 0a51d2e32fab..e57efcc8522a 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts @@ -760,30 +760,30 @@ &gpio { gpio-line-names = - /*A0-A7*/ "","","","S0_BMC_SPECIAL_BOOT","","","","", - /*B0-B7*/ "BMC_SELECT_EEPROM","","","", - "POWER_BUTTON","","","", + /*A0-A7*/ "","","","host0-special-boot","","","","", + /*B0-B7*/ "i2c-backup-sel","","","", + "power-button","","","", /*C0-C7*/ "","","","","","","","", /*D0-D7*/ "","","","","","","","", /*E0-E7*/ "","","","","","","","", - /*F0-F7*/ "","","BMC_SYS_PSON_L","S0_DDR_SAVE","PGOOD", - "S1_DDR_SAVE","","", - /*G0-G7*/ "host0-ready","SHD_REQ_L","","S0_OVERTEMP_L","","", + /*F0-F7*/ "","","power-chassis-control","s0-ddr-save","power-chassis-good", + "s1-ddr-save","","", + /*G0-G7*/ "host0-ready","host0-shd-req-n","","s0-overtemp-n","","", "","", - /*H0-H7*/ "","","","","PSU1_VIN_GOOD","PSU2_VIN_GOOD","","", - /*I0-I7*/ "PSU1_PRESENT","PSU2_PRESENT","S1_BMC_SPECIAL_BOOT", - "","","","","", - /*J0-J7*/ "S0_HIGHTEMP_L","S0_FAULT_L","S0_SCP_AUTH_FAIL_L","", + /*H0-H7*/ "","","","","ps0-vin-good","ps1-vin-good","","", + /*I0-I7*/ "presence-ps0","presence-ps1","s1-special-boot", + "","","","","", + /*J0-J7*/ "s0-hightemp-n","s0-fault-alert","s0-sys-auth-failure-n","", "","","","", /*K0-K7*/ "","","","","","","","", - /*L0-L7*/ "","","","BMC_SYSRESET_L","SPI_AUTH_FAIL_L","","","", + /*L0-L7*/ "","","","host0-sysreset-n","s0-spi-auth-fail-n","","","", /*M0-M7*/ "","","","","","","","", /*N0-N7*/ "","","","","","","","", /*O0-O7*/ "","","","","","","","", /*P0-P7*/ "","","","","","","","", - /*Q0-Q7*/ "","","","","","UID_BUTTON","","", - /*R0-R7*/ "","","BMC_EXT_HIGHTEMP_L","OCP_AUX_PWREN", - "OCP_MAIN_PWREN","RESET_BUTTON","","", + /*Q0-Q7*/ "","","","","","identify-button","","", + /*R0-R7*/ "","","ext-hightemp-n","", + "ocp-main-pwren","reset-button","","", /*S0-S7*/ "","","","","rtc-battery-voltage-read-enable","","","", /*T0-T7*/ "","","","","","","","", /*U0-U7*/ "","","","","","","","", @@ -791,18 +791,18 @@ /*W0-W7*/ "","","","","","","","", /*X0-X7*/ "","","","","","","","", /*Y0-Y7*/ "","","","","","","","", - /*Z0-Z7*/ "S0_BMC_PLIMIT","S1_FAULT_L","S1_FW_BOOT_OK","","", - "S1_SCP_AUTH_FAIL_L","S1_OVERTEMP_L","", + /*Z0-Z7*/ "s0-plimit","s1-fault-alert","s1-fw-boot-ok","","", + "s1-sys-auth-failure-n","s1-overtemp-n","", /*AA0-AA7*/ "","","","","","","","", - /*AB0-AB7*/ "S1_HIGHTEMP_L","S1_BMC_PLIMIT","S0_BMC_DDR_ADDR", - "S1_BMC_DDR_ADR","","","","", - /*AC0-AC7*/ "SYS_PWR_GD","","","","","BMC_READY","SLAVE_PRESENT_L", - "BMC_OCP_PG"; + /*AB0-AB7*/ "s1-hightemp-n","s1-plimit","s0-ddr-addr", + "s1-ddr-addr","","","","", + /*AC0-AC7*/ "sys-pwr-gd","","","","","","presence-cpu1", + "ocp-pgood"; i2c4-o-en-hog { gpio-hog; gpios = ; output-high; - line-name = "BMC_I2C4_O_EN"; + line-name = "i2c4-o-en"; }; }; 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 0715cb9ab30c..2f571b43106d 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -599,17 +599,17 @@ /*Q0-Q7*/ "","","","","","","","", /*R0-R7*/ "","","","","","","","", /*S0-S7*/ "","","identify-button","led-identify", - "s1-ddr-save","spi-nor-access","sys-pgood","presence-cpu1", + "s1-ddr-save","spi-nor-access","host0-ready","presence-cpu1", /*T0-T7*/ "","","","","","","","", /*U0-U7*/ "","","","","","","","", /*V0-V7*/ "s0-hightemp-n","s0-fault-alert","s0-sys-auth-failure-n", - "host0-reboot-ack-n","host0-ready","host0-shd-req-n", + "host0-reboot-ack-n","s0-fw-boot-ok","host0-shd-req-n", "host0-shd-ack-n","s0-overtemp-n", /*W0-W7*/ "","ocp-main-pwren","ocp-pgood","", "bmc-ok","bmc-ready","spi0-program-sel","spi0-backup-sel", /*X0-X7*/ "i2c-backup-sel","s1-fault-alert","s1-fw-boot-ok", "s1-hightemp-n","s0-spi-auth-fail-n","s1-sys-auth-failure-n", - "s1-overtemp-n","s1-spi-auth-fail-n", + "s1-overtemp-n","cpld-s1-spi-auth-fail-n", /*Y0-Y7*/ "","","","","","","","host0-special-boot", /*Z0-Z7*/ "reset-button","ps0-pgood","ps1-pgood","","","","","";