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: 44093 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1158485wrn; Mon, 16 Jan 2023 04:12:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXsah+klM6hGCzl9c1o8IinJcILyhMZDG/haIuvHyZKRO8dMwBcEexon97s52HFyvK2Uqis/ X-Received: by 2002:a05:6a20:12d1:b0:b5:4928:3ab9 with SMTP id v17-20020a056a2012d100b000b549283ab9mr54068752pzg.35.1673871137443; Mon, 16 Jan 2023 04:12:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673871137; cv=none; d=google.com; s=arc-20160816; b=HqI3pOV2Au1h00HbGr/UtMO0OT/HHwsAYK9DxT7gFj0EvmL/tezC+oyg3DEfmoaFOD U7qh0p2ZGf3wdwAEH2qznShitzP4FvGXGSSwmMCsLxqcVeiA62v7YDZEUePo2RgJ3lI3 cMLfUU1sEEDP/Zn/Q8EXmwZHYB5guDhMcKftAVf6xjmIAcMgMzu/J7RVU2gooxfY7RTA CqRx6cc9YghdN/19tl0emahs0n7qKZvxwdXP1CNXdIbXAg2DiNUOIyt/nBNkE7K+zHjr 9OPimGmMbR3v+6rmz2cA5dFeplfocFbwWNQ8ydYcMTnaxDf37lFaZMCAShDvjJr20GOd 0fdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=EyZ3PoE4TGOG/ISsj6ehj1F8tAU4LB6EsxSJHFnDPjs=; b=WzXOMW/qNGum2LLTyen5nrk+LEXlcUEcw+/kg8sA/5chse77HUCfoEuEbvHcYgPmJV zDeKhZrGNemp91PDbL9ZKo2Khzl88f0UApxwgAOXb60MtzOk8UINFsyuoelcWWgfrTmF 1KbmQo3XYj+WXrBVFHG1g4uVj+9h8BdV4Q6vW4K3fAJahpdUFzCQ6dkilFEDFVvVLe9O HHw2cnWaEEMIE9q1kqOSHcgxaUTmsl4t+JiBS6rKl3983Ql9mNOghILQfdRZqzbVkWib GNLQcT5lpOQ8nLDc0LYFMssaZ8xiKnkTm03aH+YwY+AHK7epibS8ZHWzq5iDS8v6tlzC oFAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=u+uWs6eD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s73-20020a632c4c000000b00477e813f416si30297957pgs.718.2023.01.16.04.12.05; Mon, 16 Jan 2023 04:12:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=u+uWs6eD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230072AbjAPL6P (ORCPT + 99 others); Mon, 16 Jan 2023 06:58:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbjAPL54 (ORCPT ); Mon, 16 Jan 2023 06:57:56 -0500 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4CAA1CAF7; Mon, 16 Jan 2023 03:57:54 -0800 (PST) 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-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755181102126956179?= X-GMAIL-MSGID: =?utf-8?q?1755181102126956179?= 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)>;