From patchwork Mon Jan 16 11:57:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amelie Delaunay X-Patchwork-Id: 13102949 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 A71D5C54EBE for ; Mon, 16 Jan 2023 11:58:49 +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=OvVZWOCkDZja15NRg4DE+dWVrlKfo9ipfymFkaC7YOI=; b=z4Tje/EZ67yybY KYr7HARu3tcQYVf8tR9IcMpgAP8FEcVZyyGrboxRiyDtv/+54pU29W15/nghZfIk7mKxNk2+DvarT O4FI+2kwuhlndPTQg3IEH8FchCQRz+vrQOMB9pmetfx++b0Cvd3CBwluaPjAUxAj+8AMJDyk4Ix7v E6e97lrKNuaY0cZpIVyORff+GLmBQjfLIIAVqE/P7LDE9UD7Y3k3Hzc0saBZ16yXM2NzEcVg8y+Pr TNy2kN2S/9dm+sdH7Yx4l9wNmZ3iOTF1FGkHLD4orZuBAjENt6GR4sAkn7LxkJO79TRXV5Houfrq6 qPtuLrHp5fZntnTYLWKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHO7e-00A016-Ia; Mon, 16 Jan 2023 11:57:54 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHO7b-009zyH-2O for linux-arm-kernel@lists.infradead.org; Mon, 16 Jan 2023 11:57:52 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30G9sNGs003325; Mon, 16 Jan 2023 12:57:32 +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=EyZ3PoE4TGOG/ISsj6ehj1F8tAU4LB6EsxSJHFnDPjs=; b=u+uWs6eDijNvgD3rsaCe9mb7SnvxxrxpFN6zGjThjoVawvUJnazgJb726yIXHKxLyEBJ y6iii/dZdH614VxjMtgeZtZzIYOOsLD7D3Xwc0VjEWC7vxkhpyH9lrvCV6sKQBW2X2kE 8OeaBmgW+2nLDSMAQ5CWd8BDS1ia3DyqmasSDgxDiZynngnHL/Ez2Ng2OaoqVL/8w2/q 9UAmfPTiI5p8oldIQ+KZIC5ApmSO6f01gMQZpNh0Qh3PKPw+c3VTnooZDA1Kkrn0lSFM k+ch57YIBVaSKDNpOSBs3lWFkwM3QSpGGiJZTUci6xlWEVa/3ZOrfOnKKdOIIVk9v1By 9Q== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3n3jdf1wah-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Jan 2023 12:57:32 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1712510002A; Mon, 16 Jan 2023 12:57:29 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0E324215BF4; Mon, 16 Jan 2023 12:57:29 +0100 (CET) Received: from localhost (10.201.20.208) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.13; Mon, 16 Jan 2023 12:57:28 +0100 From: Amelie Delaunay To: Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue CC: Amelie Delaunay , , , , Subject: [PATCH v2] ARM: dts: stm32: Fix User button on stm32mp135f-dk Date: Mon, 16 Jan 2023 12:57:27 +0100 Message-ID: <20230116115727.1121169-1-amelie.delaunay@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.201.20.208] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-16_09,2023-01-13_02,2022-06-22_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230116_035751_592803_30099D0A X-CRM114-Status: GOOD ( 15.92 ) 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 This patch fixes the following dtbs_check warning on stm32mp135f-dk: arch/arm/boot/dts/stm32mp135f-dk.dtb: gpio-keys: 'user-pa13' does not match any of the regexes: '^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switch))$', 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/input/gpio-keys.yaml It renames user-pa13 node into button-user so that it matches gpio-keys bindings. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp135f-dk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32mp135f-dk.dts index 9ff5a3eaf55b..931877d6ddb9 100644 --- a/arch/arm/boot/dts/stm32mp135f-dk.dts +++ b/arch/arm/boot/dts/stm32mp135f-dk.dts @@ -40,7 +40,7 @@ optee@dd000000 { gpio-keys { compatible = "gpio-keys"; - user-pa13 { + button-user { label = "User-PA13"; linux,code = ; gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;