From patchwork Thu Sep 15 08:08:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quan Nguyen X-Patchwork-Id: 12977007 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 6AF39ECAAA1 for ; Thu, 15 Sep 2022 08:10:41 +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: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:In-Reply-To:References: List-Owner; bh=w51PIT1Sm/e4asLONtpLapMK0oP9MzTkTa8Lw3odd1E=; b=koAgC5YCamFZxS 6vNtMLOSKkQnCUwsQe/Li0ssHuINet9F5fUZqg5zYtgsnxJdkEeF3QCqBMIMNaJjk+WDRDqZKN1zw dneoM9GAcggrT5OsKa6nvHO9fjcAUZIA9si08qEYKna82Ys9PHMgkB6cepJa/SkQ8yZu1mHtElTUq G7us9B7iHMeZMg/f+mrElHqEOazv4G4e1eopIxoLx9OWSI8PhY1pM0Szfjxl+bq52Q2FaJXlzo81M GNhEMInPLSIjusw8v+nBSsGE3Uwu8lu6HHDJhInjS8qXK7CbS+mgVB6rFcM2xRWCE7Ras2mp8tTkv k0MG37Mkfw1fTUAbgZUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYjvj-003L2X-IY; Thu, 15 Sep 2022 08:09:04 +0000 Received: from mail-bn1nam07on2104.outbound.protection.outlook.com ([40.107.212.104] helo=NAM02-BN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYjve-003Ky8-PA for linux-arm-kernel@lists.infradead.org; Thu, 15 Sep 2022 08:09:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G3MhUnRJW5HlyTbcPewpsTBvbpTtUr7UnQfWVVo22mYt8RXbZzkMshJwnnMbI/odRGmtSZfivg6sjcwTGSkNupxze3oZLNoPfJTqxj+pAmRsE5cKTudKKUbgE5Rwr8v6xUda5bwsN8SpHYyYdE/ykJ3UvQqQI/98ibjbgBl/831XjfBf364CnmQUhxKXaiHCcrj9v9rV1VaD66z+RnxELArA8hg3dgLa3UZbO04HVYtj4dS/75AYl3pAbE+IpVgxQEcKIxbRsMrdviOEvhhjpPkJCbG2HlO3k6WhJitKwnY07TFz70YRU6+/sPjR+WAU8SuXKhI57VU/bOsng2WioA== 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=gwDtrbXnF/HBvWWEXc8oIMUoljMs18vjbVOMCvk9H1M=; b=j1Rn5bRmDkckxOLLzJOxH9zKnQNtla9Sxh1j8qOQ9Kn+FWb+1aAVYVio5HS6R38gq5b+T58dPcxJGL01lrFqdC/bEtjUvzODhnIxZf49wbmSPwWCn1z0AKL1hQTOresgd/oNsi5R+JlAoPipcDQ3SYuEz2ZQzuLQn0orVRmHyl6tW3Rhv/5nSwwn/qRaD11TNWE/k+t+Wo+p20ukanadk810/kdBqu75ZoAVnfnuCeDZzwB/H3kbf5Zv7g+MTuNem53WifncZD9C8OnEkM1IgXAPU25o7tvv18f419Y1SWcfMRshZ8lt/CsJcDpKrnPBTJMtR2lekq0mCyxuaN5q/A== 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=gwDtrbXnF/HBvWWEXc8oIMUoljMs18vjbVOMCvk9H1M=; b=HfDckRdpDYEk5i50zdxvBhu/VEjIAbYGWO4w/sQKhJhOqtCoxS450CFFdYnFDtiZNqlMCda2fRKgEof6rWknvJ1m6gdmAtPa47mJtVaNnWqltsQYL0rVxcU00fTS0+IOaFtP9LQDKTnajOu/ZH6sa9BUkKef79OJYjE+QDA+7ro= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) by MN2PR01MB5919.prod.exchangelabs.com (2603:10b6:208:188::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.15; Thu, 15 Sep 2022 08:08:50 +0000 Received: from SJ0PR01MB7282.prod.exchangelabs.com ([fe80::48f7:ac49:a2f8:614e]) by SJ0PR01MB7282.prod.exchangelabs.com ([fe80::48f7:ac49:a2f8:614e%5]) with mapi id 15.20.5612.022; Thu, 15 Sep 2022 08:08:50 +0000 From: Quan Nguyen To: Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , openbmc@lists.ozlabs.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Open Source Submission Cc: quan@os.amperecomputing.com, Phong Vo , Thang Nguyen Subject: [PATCH] ARM: dts: aspeed: mtjade: Remove gpio-keys entries Date: Thu, 15 Sep 2022 15:08:28 +0700 Message-Id: <20220915080828.2894070-1-quan@os.amperecomputing.com> X-Mailer: git-send-email 2.35.1 X-ClientProxiedBy: SG2PR06CA0218.apcprd06.prod.outlook.com (2603:1096:4:68::26) To SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR01MB7282:EE_|MN2PR01MB5919:EE_ X-MS-Office365-Filtering-Correlation-Id: feb58148-2643-448e-1ae4-08da96f1856f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fnRBP3b7JWRjcuZ4QSpSOjxR9l7uGeqhRA358ZXjXE3xYoAyLpSwq3ccGCTHHeWsyanNNuCxReyTAOjj83DatBP9mwcxFRPr6VQnFqJ/Rs0orEZhalq565bpfAPidvGcSVXLjqESyBWv/4J+a0UJcAxqkLtE90KL2KSonwIuQD11MLrF02zY1kHnYGISjjM/Q16aM7Y/baIXMxewr4DqpY5ch9SoullSpgKGVtcBnNOzXQgtqpN5EKDH5BMAFEhW2k4pjQPPmJXS5tfSNSFI0J7Vq/ShIi6S9ytLndal+RnBdlLWjPUqoxWOBGJTVgaw/9asZ9Rbp+wVE8i8sTk+jqLb9HvEt7UOjZd1Klc43Go3Fqowpg5UBBcqV+Oof7FZ3rSI21jkg0ZfUtAOJhEHAGFdKcGP/xVpYY7Bjfc3uXFTcit3nUpNYz+GBez4djgacKf4ZonXyAIrr5L0PrdSeXt4+SfMzElAgz9w4AovnSLdpGl1FQe+TKwNDXxd6+AsRNN919+GOfg3cJUubhBtMhP8SrZEQg4ho6xh0KeIcnvSLxDWNZeqdgpVe5p78PvbM+oexoVGjUdLSuYlZIAyyTws538lkSBPBPM1ghouEO/KazHBikSr2FhcRy8Z+K5kSTE7jKGDXmvSwCgl/A9B/+WRkc8Rwnp8l/qqChKVeeynUiQ7i4T8avaMCqzrQHauDTk34J69DRLFcZoqr4eNBXs+IR0Rx3qMvcSc6CXksdUtZF+4sedrZgT6o/cIoEKrYf/EuW21XG5Hfkhv2tYATKqbMoBUx/2yote0pgrYzT4= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR01MB7282.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(39850400004)(366004)(376002)(136003)(346002)(451199015)(8676002)(4326008)(5660300002)(66476007)(8936002)(66556008)(66946007)(54906003)(110136005)(1076003)(2616005)(316002)(86362001)(6486002)(38350700002)(2906002)(478600001)(38100700002)(83380400001)(921005)(186003)(41300700001)(6506007)(6512007)(6666004)(26005)(107886003)(52116002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lzM7tKjja2OefCPrOwqYDsgpsmIISAezf7ba3O1j+loWlrynN8clx1c+xh3d58Ux+UzspxFv0eTf/6Itm8Kcba5w12qGb13VnZS29kqiN/IsJDm6CHEvIrSw/m3KwKIcOygWGExKK2WWpCvmhR1XWwTFPxol3KAqOhZ3WqDSNWD4I4m3D0GLFkvjFIisxbCZu6fesMnWKFxldeTRJBg3KAYP8JSiF4tm4ZjY8JYfqMJ6txbIp0teyVpJ41jsZFHEnz4xBTHtENXrZOV2dagQ8KAirV5eSPPG462NleRiH2vstvni6PqqQ1VV/QhOQtIoAow3leXviqnt9QYn5Vb2rICODdk3nS4Zo+VQP0wUnOkqymSsfz2kI0pQjh6/o78Piz+Geh+p8cjOvpLX2KkQymFQJUdHR1U/Y8sdS1qTG+RDw2zcflXk/JSIwNx1xQNiWarXXNqT+6I8u0BaLEOra3mpG4bbqBltfnmNXlTd4FdyLLVuRbA/TOPoIzlPKRpn9Z+Ia5Z0V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M+RCbRx3VxJrFhzZkGc9XU2/uw1VyyPwLEF/3f0vjHE1OGcco= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: feb58148-2643-448e-1ae4-08da96f1856f X-MS-Exchange-CrossTenant-AuthSource: SJ0PR01MB7282.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2022 08:08:50.3156 (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: oKij1w1APx26v4sMgPOmYcpcX4wXdL6BdbS7bzVFuLitzqSkfwiGRIgVdSLyAtdi617heKoF5AphOKoUAwGzCsl0FbNSX3zlj7B7r3107PY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR01MB5919 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220915_010859_157048_4ED85D60 X-CRM114-Status: UNSURE ( 7.90 ) 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 Remove the gpio-keys entries from the Ampere's Mt. Jade BMC device tree. The user space applications are going to change from using libevdev to libgpiod. Signed-off-by: Quan Nguyen --- .../arm/boot/dts/aspeed-bmc-ampere-mtjade.dts | 95 ------------------- 1 file changed, 95 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts index 82a6f14a45f0..d127cbcc7998 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts @@ -97,101 +97,6 @@ identify { }; }; - gpio-keys { - compatible = "gpio-keys"; - - event-shutdown-ack { - label = "SHUTDOWN_ACK"; - gpios = <&gpio ASPEED_GPIO(G, 2) GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - event-reboot-ack { - label = "REBOOT_ACK"; - gpios = <&gpio ASPEED_GPIO(J, 3) GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - event-s0-overtemp { - label = "S0_OVERTEMP"; - gpios = <&gpio ASPEED_GPIO(G, 3) GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - event-s0-hightemp { - label = "S0_HIGHTEMP"; - gpios = <&gpio ASPEED_GPIO(J, 0) GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - event-s0-cpu-fault { - label = "S0_CPU_FAULT"; - gpios = <&gpio ASPEED_GPIO(J, 1) GPIO_ACTIVE_HIGH>; - linux,code = ; - }; - - event-s0-scp-auth-fail { - label = "S0_SCP_AUTH_FAIL"; - gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - event-s1-scp-auth-fail { - label = "S1_SCP_AUTH_FAIL"; - gpios = <&gpio ASPEED_GPIO(Z, 5) GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - event-s1-overtemp { - label = "S1_OVERTEMP"; - gpios = <&gpio ASPEED_GPIO(Z, 6) GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - event-s1-hightemp { - label = "S1_HIGHTEMP"; - gpios = <&gpio ASPEED_GPIO(AB, 0) GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - event-s1-cpu-fault { - label = "S1_CPU_FAULT"; - gpios = <&gpio ASPEED_GPIO(Z, 1) GPIO_ACTIVE_HIGH>; - linux,code = ; - }; - - event-id { - label = "ID_BUTTON"; - gpios = <&gpio ASPEED_GPIO(Q, 5) GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - event-psu1-vin-good { - label = "PSU1_VIN_GOOD"; - gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - event-psu2-vin-good { - label = "PSU2_VIN_GOOD"; - gpios = <&gpio ASPEED_GPIO(H, 5) GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - event-psu1-present { - label = "PSU1_PRESENT"; - gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - event-psu2-present { - label = "PSU2_PRESENT"; - gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - }; - gpioA0mux: mux-controller { compatible = "gpio-mux"; #mux-control-cells = <0>;