From patchwork Wed Jan 11 10:07:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amelie Delaunay X-Patchwork-Id: 13096357 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 470D0C6379F for ; Wed, 11 Jan 2023 10:08: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: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=xbhx2soIzH70g7yWjXwahrYllTM/kwjc1dMbgPavrK8=; b=sQZNOMmBjgBO7c /QSXK0kStMLR0oJRACXJ+hi6Bi7XMq4tS2F4NkMnBZjVeexoG2lLGj8mnOC/Gj4DiSGYI5zwo+UzC XRzm+d73IVUd2fkkl7Qu81LB58iNqgKDw/CHcmhPbV/bZMjmKmmz5fD1978GZRtUQXCdKAUB/w6Af PiYFQigBWV0zt0iKCoAeISLTb+IAgTw2+YaATNEjAphenCRzQQhNTVlC85GcHnnUyZv7NE8znAmXW tbhZyeCjXoDtvyli9WzvJsF6+Q4byu8Zpswv1V3iG8BNVK0vXYHk4WC1HsXcpECyTkvtbeTgH9wQK SVYxHUuSzPWDmx+3Isqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFY1K-00AhEg-1r; Wed, 11 Jan 2023 10:07:46 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFY1F-00AhCT-SO for linux-arm-kernel@lists.infradead.org; Wed, 11 Jan 2023 10:07:43 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30B8DtMt019024; Wed, 11 Jan 2023 11:07:26 +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=jo1cHBaQF7snkoZzn/q0uMWY3xh//s/Aq57kIL+l6J4=; b=Y+Q1XuFLJ7NZhxVMAS4w38zvpxyi1zcAcvOpYje6R+HL3MEVO56Zi1deoIPGEd0qY5uB pTHbkSuFgVoyL+5TVhaF22k+62OKGi24z0UGRClWsMiDegxxY4wPiNRooWZPhw89ICOT CT505wi2K/n069RydInyCeg0swAfUYUXYEeSGq89LmYo9TryO+w5T8M894wGVei7S/Cj 8RWa2XEdavuNVpdBzrFY62xNVpOth0uFcMPmXtvd8X49P0xAuxNBgoJRy9DAPKQ/RRpj edPz6/28q7p0/vf6HXxPtuqUZkQ+xrp5XnLHkX1VPk29sB3gbophHjHt1OWJxQ/Hr1Mr dw== 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 3n1k5rtvq8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jan 2023 11:07:26 +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 4E91310002A; Wed, 11 Jan 2023 11:07:26 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 48521214D2B; Wed, 11 Jan 2023 11:07:26 +0100 (CET) Received: from localhost (10.252.6.49) 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; Wed, 11 Jan 2023 11:07:26 +0100 From: Amelie Delaunay To: Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue , Fabien Dessenne CC: Amelie Delaunay , , , , Subject: [PATCH] ARM: dts: Fix User button on stm32mp135f-dk Date: Wed, 11 Jan 2023 11:07:25 +0100 Message-ID: <20230111100725.463136-1-amelie.delaunay@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.252.6.49] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) 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.545,FMLib:17.11.122.1 definitions=2023-01-11_04,2023-01-11_01,2022-06-22_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230111_020742_453930_EEB1FC5A X-CRM114-Status: GOOD ( 16.63 ) 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. Fixes: 57012d79fefd ("ARM: dts: stm32: add UserPA13 button on stm32mp135f-dk") 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)>;