Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp303645iog; Fri, 17 Jun 2022 04:04:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sLNij1FgD9xn0VnNFEHL3mlesMoEZxNZ8pevWyQyexLlKuBAPe4TZ36e6AY6Fu3nhm+pKm X-Received: by 2002:a63:3445:0:b0:40b:5ac1:d05f with SMTP id b66-20020a633445000000b0040b5ac1d05fmr2735290pga.456.1655463859869; Fri, 17 Jun 2022 04:04:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655463859; cv=none; d=google.com; s=arc-20160816; b=x5YlBkbyU83ftPYFSHf26uMJUVxK6ne/N2PEKC6eyubT/m1AE1lYFuVV22LDtXpzyO VG5CiHAhHDZHaluHNccdNGKf44s6EMUoi3KMn3fgjYjNnRfomyuyQeYgNeM9UiHkAb+/ U1P2GZuA/jLfm6xqVQfWjmwttk3+Hh7CyZyWHsw2SE68ggR8c/LcN2ncHoDdgDVyplMu QCoF/03rU7xAZzJ61hIwQQH6qfNvGK/YEQi/aac/yTxo1bAAe/P+fmwGg0ShciCUW6eB FcPq44GjgH5o1MPX6F9aB0LAXoDP7fD+kRlwKAe5xj38C2Ns1eyPKdE25kqcXZ8UjTWl vrsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=otzMXO+UzjAVntuNvFzmToiaj0Xvl10WTmF2X1x20Gs=; b=cSnxzNqtW33xdNwsXKgBISMtC8vBCGR8rC+ttNy0hcwiD61Oe45A5GS8e+emxFqds2 TqsLknMr+/f4jruIJCDLNcJEH/+WeKldAx4eAZQFaBVmH/EL67W625J6I4+0Et+2aBVT AiH6uDc2BvdHrD0EvT33ClMsIU1Wyvjna/9uKphorzaQCbl4qsM/q+HKPr79h90SdvEz dAp3F03XjqAm8gKF7h9g1pehskIRdU4Vf0URsGTXflv/jelc7zqbs2CK20Q3gS+np1M4 33ABBUWKbkYNmC/qthKH/4fRsPRAiRiD/be10+TLmytiawlZU+XKSC+dfmXeaVkz9h2i R+Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="NbYG0/lt"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e5-20020a17090a280500b001d984c76f9asi5277133pjd.127.2022.06.17.04.03.52; Fri, 17 Jun 2022 04:04:19 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b="NbYG0/lt"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382005AbiFQKoi (ORCPT + 99 others); Fri, 17 Jun 2022 06:44:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381958AbiFQKoh (ORCPT ); Fri, 17 Jun 2022 06:44:37 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DF456B0A9; Fri, 17 Jun 2022 03:44:36 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id hj18so7385748ejb.0; Fri, 17 Jun 2022 03:44:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=otzMXO+UzjAVntuNvFzmToiaj0Xvl10WTmF2X1x20Gs=; b=NbYG0/ltrsRmRfUcWflVhrJw27NKwjWAIJLlH+BtGanROc2UkceKeROAUsMGYNWAYm uwjxjB4sww9rCvxZbMcmzK7/o+ko5hPycRmwL9Z41FT2agzVwgKMgk1bJZjOhg7IMdfH Erxa5b6ZPlPWptAUQ0GTIFYhFm7r5RO2nMOry269LSBYPA3G/CgBzAvadEGWF8wDHfPR IWysUmq0Jnp2S2O9LKnUd9akvLGUdYQOkjkyqzRZXnjMe4/4PuNyQfz0AeY//YMvqjz/ wlPEWG3jjFg1wxOH2SA3BA0ladlyO8vWZH4kEiXJsrKgFRux5hSNtg4XX8z0Ysl1aCPd xEEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=otzMXO+UzjAVntuNvFzmToiaj0Xvl10WTmF2X1x20Gs=; b=ytRJC8BM69peWevUmlz8wa9HXE+sHcqbZJzvHPKt7U+8OW0JRlAJM79hPZgLB+NF2s hEt9M7x9YT4c9DmRDK4VcWsztKJZCJyZUQGJkhLqpVswJm+LlacQNpcD9t7jl01L1nZi kHDaYWxfin2IR8eyX92wWjVHthorJZkbRteaX3uFiaXEji/ecbymCPnIu4jsuE/DZEiF e/zujuEYEdOrWAahJm+Ed/grBsjxUlcocOmi/W1njTSYrxr3AK++GFGS7qjzccVYQ+l9 Na3HoBl3gSF8/ewQiH7m5j9WwCZYpwZ6kqnTpkRKvp+tTR3r2ztZshbjws6dkQrxjY4S 7ImA== X-Gm-Message-State: AJIora/0QoEEOAuGp6Zvfa0Ui78cgNSS9t/B3S7Sm7yfV75mw5qI5Hl3 PQ4zMUZzOuccu7HkqPAVf0s= X-Received: by 2002:a17:906:2cc8:b0:6fd:d8d8:b8f3 with SMTP id r8-20020a1709062cc800b006fdd8d8b8f3mr8655303ejr.384.1655462674583; Fri, 17 Jun 2022 03:44:34 -0700 (PDT) Received: from [192.168.0.24] (80.174.78.229.dyn.user.ono.com. [80.174.78.229]) by smtp.gmail.com with ESMTPSA id y3-20020a056402358300b0042dc25fdf5bsm3632843edc.29.2022.06.17.03.44.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Jun 2022 03:44:33 -0700 (PDT) Message-ID: Date: Fri, 17 Jun 2022 12:44:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v3 18/40] ARM: dts: mediatek: align gpio-key node names with dtschema Content-Language: en-US To: Krzysztof Kozlowski , arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220616005224.18391-1-krzysztof.kozlowski@linaro.org> <20220616005333.18491-18-krzysztof.kozlowski@linaro.org> From: Matthias Brugger In-Reply-To: <20220616005333.18491-18-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 16/06/2022 02:53, Krzysztof Kozlowski wrote: > The node names should be generic and DT schema expects certain pattern > (e.g. with key/button/switch). > > Signed-off-by: Krzysztof Kozlowski Applied, thanks! > --- > arch/arm/boot/dts/mt7623a-rfb-emmc.dts | 4 ++-- > arch/arm/boot/dts/mt7623a-rfb-nand.dts | 4 ++-- > arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 4 ++-- > arch/arm/boot/dts/mt7623n-rfb-emmc.dts | 4 ++-- > arch/arm/boot/dts/mt7629-rfb.dts | 4 ++-- > 5 files changed, 10 insertions(+), 10 deletions(-) > > diff --git a/arch/arm/boot/dts/mt7623a-rfb-emmc.dts b/arch/arm/boot/dts/mt7623a-rfb-emmc.dts > index 13c86936d1c8..e8b4b6d30d19 100644 > --- a/arch/arm/boot/dts/mt7623a-rfb-emmc.dts > +++ b/arch/arm/boot/dts/mt7623a-rfb-emmc.dts > @@ -45,13 +45,13 @@ gpio-keys { > pinctrl-names = "default"; > pinctrl-0 = <&key_pins_a>; > > - factory { > + button-factory { > label = "factory"; > linux,code = ; > gpios = <&pio 256 GPIO_ACTIVE_LOW>; > }; > > - wps { > + button-wps { > label = "wps"; > linux,code = ; > gpios = <&pio 257 GPIO_ACTIVE_HIGH>; > diff --git a/arch/arm/boot/dts/mt7623a-rfb-nand.dts b/arch/arm/boot/dts/mt7623a-rfb-nand.dts > index 88d8f0b2f4c2..61f5da68d4b0 100644 > --- a/arch/arm/boot/dts/mt7623a-rfb-nand.dts > +++ b/arch/arm/boot/dts/mt7623a-rfb-nand.dts > @@ -45,13 +45,13 @@ gpio-keys { > pinctrl-names = "default"; > pinctrl-0 = <&key_pins_a>; > > - factory { > + button-factory { > label = "factory"; > linux,code = ; > gpios = <&pio 256 GPIO_ACTIVE_LOW>; > }; > > - wps { > + button-wps { > label = "wps"; > linux,code = ; > gpios = <&pio 257 GPIO_ACTIVE_HIGH>; > diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > index 027c1b0c6a98..5008115d2494 100644 > --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > @@ -91,13 +91,13 @@ gpio-keys { > pinctrl-names = "default"; > pinctrl-0 = <&key_pins_a>; > > - factory { > + button-factory { > label = "factory"; > linux,code = ; > gpios = <&pio 256 GPIO_ACTIVE_LOW>; > }; > > - wps { > + button-wps { > label = "wps"; > linux,code = ; > gpios = <&pio 257 GPIO_ACTIVE_HIGH>; > diff --git a/arch/arm/boot/dts/mt7623n-rfb-emmc.dts b/arch/arm/boot/dts/mt7623n-rfb-emmc.dts > index 1b9b9a8145a7..bf67a8e9be59 100644 > --- a/arch/arm/boot/dts/mt7623n-rfb-emmc.dts > +++ b/arch/arm/boot/dts/mt7623n-rfb-emmc.dts > @@ -60,13 +60,13 @@ gpio-keys { > pinctrl-names = "default"; > pinctrl-0 = <&key_pins_a>; > > - factory { > + button-factory { > label = "factory"; > linux,code = ; > gpios = <&pio 256 GPIO_ACTIVE_LOW>; > }; > > - wps { > + button-wps { > label = "wps"; > linux,code = ; > gpios = <&pio 257 GPIO_ACTIVE_HIGH>; > diff --git a/arch/arm/boot/dts/mt7629-rfb.dts b/arch/arm/boot/dts/mt7629-rfb.dts > index eb536cbebd9b..84e14bee7235 100644 > --- a/arch/arm/boot/dts/mt7629-rfb.dts > +++ b/arch/arm/boot/dts/mt7629-rfb.dts > @@ -23,13 +23,13 @@ chosen { > gpio-keys { > compatible = "gpio-keys"; > > - reset { > + button-reset { > label = "factory"; > linux,code = ; > gpios = <&pio 60 GPIO_ACTIVE_LOW>; > }; > > - wps { > + button-wps { > label = "wps"; > linux,code = ; > gpios = <&pio 58 GPIO_ACTIVE_LOW>;