From patchwork Thu Mar 28 08:01:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 13608153 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 2FE9DC54E64 for ; Thu, 28 Mar 2024 08:02:23 +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=rihnVXqiFCm+fnOE5tAGerYo/RpdbE3+ntACvJT5kcc=; b=MjUbaXYTYcmoBi MplcRzB6qH440ZmOGK9iQnw6nHAIGGdSLG3EQPZ/GdvGJ+RfXj+fFyw3s6Ta1peUWfxgqiIRcNWFf W7t3Ol9C9MVQg8aSyPHHyywedq1kM/eYDeBVZhJeNDG/8PUzJDLhHgc/riltNYSgUqwH7ybDTXdFm b/XlOzb3vaiE2Hg7dKU6OEacgXCW8Uq30Ty9QjSHT/lq9R2yPAGCOivAzOgI672aagZhvyoKJfPaB Jj54q8LqVvW/imPsPvnZW8GzSXk4LWjCMf4frVjkHrZiEbjDVBymYLiie7UFAlWCQTLhb9N3SnbfH ePhpO03NNzPP7KoanP7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpki4-0000000CzWP-2Lkn; Thu, 28 Mar 2024 08:02:04 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpkhz-0000000CzSt-2C7U for linux-arm-kernel@lists.infradead.org; Thu, 28 Mar 2024 08:02:03 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42S20cbJ007927; Thu, 28 Mar 2024 09:01:40 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=selector1; bh=B3k9NYQ +W0JovX05lxSOFMRWz6YTKcx+T4goM/utJYs=; b=fUZYtRXWdHKLTsnBLtLfC41 A9d0Z0pqU+WM2pMGPSPYfObG2u0azWHtiu9+Wx+1t2YjW776IKo3CRM5i6msA6aZ RWxncsIv76TmXIqnPMB+lpC6C/8VcIzvp4Qkyi0M/CUuoJGYswEgzc+bNP+R6xqj wgSe02V9961lRcB8VTHXQZbEI/oDkBafNxHu4Hb2m64s6mR7WaF2ePUGU5KAGNKR rtqCap8RKiCExXxXeG83oQS4Jwr19KxNbYOvYwJiWByDkEIV89BAPeGtNOW2Kyh8 sLrToKtVrmEp4DqB8LRfaVKu5F7Qz1PYDe17+Ima4dGF2nvPpbiAafGtykBPocA= = Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3x1pugrc0b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Mar 2024 09:01:40 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 4E9E440044; Thu, 28 Mar 2024 09:01:36 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 238F0210743; Thu, 28 Mar 2024 09:01:11 +0100 (CET) Received: from localhost (10.201.20.71) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 28 Mar 2024 09:01:10 +0100 From: To: , Krzysztof Kozlowski , CC: , , , , Patrice Chotard Subject: [PATCH v1] ARM: dts: stm32: Update button on stm32mp135f-dk Date: Thu, 28 Mar 2024 09:01:05 +0100 Message-ID: <20240328080105.3910099-1-patrice.chotard@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.201.20.71] X-ClientProxiedBy: SAFCAS1NODE2.st.com (10.75.90.13) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-28_07,2024-03-27_01,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240328_010200_015964_EA01B889 X-CRM114-Status: GOOD ( 10.95 ) 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 From: Patrice Chotard On schematics, 2 buttons are available on stm32mp135-dk board: _ button "user1" connected to GPIOA14 _ button "user2" connected to GPIOA13 Reflect that on device tree. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/st/stm32mp135f-dk.dts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts index 52171214a308..f7e03bc7eccb 100644 --- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts +++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts @@ -48,9 +48,15 @@ optee@dd000000 { gpio-keys { compatible = "gpio-keys"; - button-user { - label = "User-PA13"; + button-user-1 { + label = "User-1"; linux,code = ; + gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; + }; + + button-user-2 { + label = "User-2"; + linux,code = ; gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; }; };