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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 82733C43334 for ; Mon, 27 Jun 2022 08:45:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id 54751C341CD; Mon, 27 Jun 2022 08:45:08 +0000 (UTC) Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 7B37AC341C8 for ; Mon, 27 Jun 2022 08:45:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 7B37AC341C8 Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f46.google.com with SMTP id cw10so17628351ejb.3 for ; Mon, 27 Jun 2022 01:45:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language :from:to:cc:references:in-reply-to:content-transfer-encoding; bh=NGASEu1UuSCF/KBZiD+Xxr1++0cQqP/bZ9atPVdxcAE=; b=zwOiD2QKTBHyIkb8zfy5wq7S5Mww4LyKRvCXX8L0AZh2gXCJhELBJ8f0A/XkDSVso8 L7FBqCQ1oH/jJ7cFNnDxOLM/sxfKCUrrkCofLhaw/momIYZMHhEHZpJOHEGUvzLRPMh4 rqABqqzgmYQTAm8yw7R/n9Gp1l3nYBMiMTmNfrZEKRXHZTTnQcnweoEk611FTXs1sScD bvalF3SeBbnDxo1XZ1qikeONNl6gzZMDT5bG46uL+RNIiPovs1XXqW+jtfcH05Uy5ReG T8MCvFHPt4EpHEJr1g0CDlWrQK1ioh748xirTzj8Kbs2i655NcUaO0jeW/cPQxhpyMJi brBw== 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:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=NGASEu1UuSCF/KBZiD+Xxr1++0cQqP/bZ9atPVdxcAE=; b=4t3z6kr+7T7779JE8/QW7qW1fU+lkO9L2nuFJsiU0sXFnbvJ39pyeGqgXdzjwqIDai 0G9KvFbxsZu93wb6ZJTeUMuIdCGh6pZQ33wFQ87jC6HFaq7G9JXV37LLtP9gRMzTve3Q bGFI34vM9ugfxJEkyiEg2el224XSe9J/7YNXyh4kYnMWpwe/NLbDyZFtzb5kUvPPLMF7 0swnXNCe4jobMNVSG7Wu9O2rI1SjGJ52hppOGeOPEXmcLG0EJL0aMU/CnGyw2g5SMo4W L+scvw0bXgv9/HPkW0rojMuH59rNdK6T+UByCza1N1igQyYbYkGDmEVdGs5xHfbnFC6r 7sYA== X-Gm-Message-State: AJIora/T5clxpml4IehQbNmhCfjjeLsCPlphCt4mxMA6+30t/kz2petJ XJHeSmLRZAXENoin+j2ftV0V6w== X-Google-Smtp-Source: AGRyM1v5eWfRK0YQoqHluU652Yu0VL9rjqD1R4mOxvp/6i3wbLE6ekpCxsFI+Ofij4URWX6raZwyEA== X-Received: by 2002:a17:906:8315:b0:726:38da:f0f with SMTP id j21-20020a170906831500b0072638da0f0fmr11685646ejx.462.1656319505768; Mon, 27 Jun 2022 01:45:05 -0700 (PDT) Received: from [192.168.0.247] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id g18-20020a170906595200b006f3ef214e20sm4685683ejr.134.2022.06.27.01.45.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Jun 2022 01:45:05 -0700 (PDT) Message-ID: <724bca0f-2474-0aba-35df-6733bb5597d3@linaro.org> Date: Mon, 27 Jun 2022 10:45:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v3 19/40] arm64: dts: tegra: align gpio-key node names with dtschema Content-Language: en-US From: Krzysztof Kozlowski To: Thierry Reding List-Id: Cc: arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson , Rob Herring , Krzysztof Kozlowski , Jonathan Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220616005224.18391-1-krzysztof.kozlowski@linaro.org> <20220616005333.18491-19-krzysztof.kozlowski@linaro.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 24/06/2022 18:09, Krzysztof Kozlowski wrote: > On 24/06/2022 18:08, Thierry Reding wrote: >> On Wed, Jun 15, 2022 at 05:53:12PM -0700, Krzysztof Kozlowski wrote: >> [...] >>> diff --git a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts >>> index f16acb4cabaa..62d58221ad3c 100644 >>> --- a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts >>> +++ b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts >>> @@ -1030,7 +1030,7 @@ clk32k_in: clock-32k { >>> gpio-keys { >>> compatible = "gpio-keys"; >>> >>> - lid { >>> + switch-lid { >>> label = "Lid"; >>> gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>; >>> linux,input-type = <5>; >>> @@ -1039,7 +1039,7 @@ lid { >>> wakeup-source; >>> }; >>> >>> - power { >>> + switch-power { >> >> This one is actually a key. >> >> [...] >>> diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts >>> index a263d51882ee..8494c7b2961b 100644 >>> --- a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts >>> +++ b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts >> [...] >>> @@ -1772,7 +1772,7 @@ lid { >>> wakeup-source; >>> }; >>> >>> - tablet_mode { >>> + key-tablet-mode { >>> label = "Tablet Mode"; >>> gpios = <&gpio TEGRA_GPIO(Z, 2) GPIO_ACTIVE_HIGH>; >>> linux,input-type = ; >> >> And this one more like a switch since it's triggered by a magnet, as far >> as I understand. >> >> No need to resend, I can fix these up when I apply. Just let me know if >> you have any objections to me making those changes. > > Sounds good, thanks for catching these. Hi Thierry, To be more explicit - no objects for taking these, please apply. Best regards, Krzysztof