Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2924453rwb; Mon, 15 Aug 2022 14:09:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR5mVy/CMvgtARmTJ43Vq3jpFmT/E2pDIo0zSNyM1b9xbqK616gg/JYGPnEKJapIG/a/dutb X-Received: by 2002:a17:907:9688:b0:730:f098:86d0 with SMTP id hd8-20020a170907968800b00730f09886d0mr11392667ejc.60.1660597765746; Mon, 15 Aug 2022 14:09:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660597765; cv=none; d=google.com; s=arc-20160816; b=ztUNiLPNP2pYMCIWaQ5ow6Llr2h5ovqMbMz/vz+0sulfkho4zCABc0kEAM69LITG2W eWJ4aPGu0FphyOJG3Cxrbdg9iAu7yEyBoNgOgSrxJZG4BLltXk6CroE0scaR4YekBXeS 5bcxKn3A6/T9ll90qYW8yCzvbIvuiH2/X4L3JJ3Nlq7p/O6t7wBtWrRPdAgio0qIDsvx Gk6GQN0/DDnbJ0xpbvgz4KyzStp4T3HeyWg0atPIbbdw1VmpY05FUd+hw3fvC8WUQ8qX 2qFbBzd9A5Lf4r154+wCCELWVZwu5kNR5VelMGetqUsBjY4ntM6E8iz2RMMDMqzze6vX Mt5w== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+YuzikwPNN/UFSwFyqEcP6Vr7hOjtmOjVOZauTDP3OY=; b=p5r9qEIHMwNfQ8RhDHjAY+eRyBDJs7m6hXvIu4ulVySpFUZeiO+2HSTQOn2IRGN3Q+ v6/A9oXsNFJ9iKo+lDw5WNIwmDFQiV+t/s+z7YJsttna5FGE8ji9bfOE1DDkeSJU6gZz Z5YjbH3uyRJv06QxvfmqCl5ePs4uWudjwRusvVOv6Nz7tnAKr8Fy+bBQ/4FwB/p8HlMu lM3cisC7lIgbxbmPamtNIJJgUmrCQjzFbLfM5pxAz74WSYkf6lxl4uKSziOTR9+/Q5Tk rV9MeUDoCsZlqqjgfL6qugBScMBPgkVwltfezU7BtQFka37nyqHecgOshM5amCFzgxFo NUOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aGuRQudk; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f20-20020a056402355400b00440e91f3123si9695393edd.37.2022.08.15.14.08.59; Mon, 15 Aug 2022 14:09:25 -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=@linuxfoundation.org header.s=korg header.b=aGuRQudk; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345442AbiHOUhL (ORCPT + 99 others); Mon, 15 Aug 2022 16:37:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348212AbiHOUcQ (ORCPT ); Mon, 15 Aug 2022 16:32:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B33D1DE84; Mon, 15 Aug 2022 12:05:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A167D612A0; Mon, 15 Aug 2022 19:05:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39C6BC433D6; Mon, 15 Aug 2022 19:05:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590326; bh=fYTU3xAkuYp+4+IwVoxMutIUJZyFE1eNTQZJ3+lhDbo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aGuRQudkWTYkRJJNrn7rvmsXGA+u7z4CyHO6SKW/wn/tMHjTFVLEwoND3eyowNIbO V07WtAEyOorhyKT3ovLbRERog7M2KrSYGEMbU0Prth+qrVGqDRCdugSPhNUdfn9dX3 0osvhTMJN5/0js4oarHyoMQAiWp/GTg6zLr5Tx2I= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Krzysztof Kozlowski , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.18 0224/1095] ARM: dts: qcom: msm8974-lge-nexus5: move gpio-keys out of soc Date: Mon, 15 Aug 2022 19:53:43 +0200 Message-Id: <20220815180438.967772592@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Krzysztof Kozlowski [ Upstream commit d3eff0e174e5feecb8f45cf630a30f47f02f921c ] The GPIO keys are not part of SoC and they should be defined inside of the root node. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220401201035.189106-5-krzysztof.kozlowski@linaro.org Signed-off-by: Sasha Levin --- .../qcom-msm8974-lge-nexus5-hammerhead.dts | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts index 069136170198..6d5fb60e798f 100644 --- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts +++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts @@ -19,6 +19,27 @@ chosen { stdout-path = "serial0:115200n8"; }; + gpio-keys { + compatible = "gpio-keys"; + + pinctrl-names = "default"; + pinctrl-0 = <&gpio_keys_pin_a>; + + volume-up { + label = "volume_up"; + gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>; + linux,input-type = <1>; + linux,code = ; + }; + + volume-down { + label = "volume_down"; + gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>; + linux,input-type = <1>; + linux,code = ; + }; + }; + smd { rpm { rpm_requests { @@ -448,27 +469,6 @@ bcrmf@1 { }; }; - gpio-keys { - compatible = "gpio-keys"; - - pinctrl-names = "default"; - pinctrl-0 = <&gpio_keys_pin_a>; - - volume-up { - label = "volume_up"; - gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>; - linux,input-type = <1>; - linux,code = ; - }; - - volume-down { - label = "volume_down"; - gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>; - linux,input-type = <1>; - linux,code = ; - }; - }; - serial@f9960000 { status = "okay"; -- 2.35.1