Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp405295iog; Wed, 15 Jun 2022 04:53:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+YHeMZ6jE0Hbnn5UyXn9fzIXd9KTzxMjbftbLTfTb/yOTxrm3aOYFBye1L5PG8iIDcAsp X-Received: by 2002:a65:6e9b:0:b0:3fc:587a:6dcd with SMTP id bm27-20020a656e9b000000b003fc587a6dcdmr8473321pgb.200.1655293991256; Wed, 15 Jun 2022 04:53:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655293991; cv=none; d=google.com; s=arc-20160816; b=JzsEBzQV8YRA8GPXma1f8UdWanF4/LweQOXge0sbq36UA2Yq4nrouGimstdIP9l/Xo b/lCZjeYfA45xZ+4ugM43HDV54qs0orCD/MRCZceLoXsCjQnoYIBNfBtDQUaL57cXyu3 T9Uou8BuKpyJr1FWQkhSdKQKagWXtY10D61ZzpNMVvFCGWCeYmHPlXjsx023tSMBRXhp DZ91lFFINnNJYkGbVED6u/qnwLd2Jue6wY9iohjnkcNM4R8MPCbO77/p140wnbAzlbCb 1stUE9B/47G7onx0OcfqyOPvHtR6OQ1vY80NChQDj7Fj3LHq9NdAuze3c01zzq70cN5i 2VXQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NVB55DEg2bPk+Jun3avPAlytYLNNRhGqMzJbc0Lw+GQ=; b=k+QwNCRwdv0X8d9wPtY69SgA1snpmRzrm0p/ejnZorareGotWDBTwFKs3fNnh2FTSu /Y+vWCMrGPvWuFNkGXQ05OootXJLzh62TKsubtp8bQFWhD9a8Ah3m7k0/QNdGEkIzubr IXmBEwwp5V+EADWsHgqyAIvhm1GgUsoOM1HWItuDppftrzHJ42Vh3FmvgjfL1z6mszKV 4wDmTWaRdG26tkB/J3OAMHpuuc8HlRss5Rto4CVo2dyLYEt9bOuE3//E7TCb982oQBH0 7asaVx4KsVtT3vLReWamTGGHymA482/8YpzrC6AmkPQXDMWDxyNLriZXkWt2CQIM5yjR oRTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MZVLOdCF; 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 g20-20020a62e314000000b0051b79672ca1si14148863pfh.123.2022.06.15.04.52.59; Wed, 15 Jun 2022 04:53:11 -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=MZVLOdCF; 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 S1344098AbiFOLvS (ORCPT + 99 others); Wed, 15 Jun 2022 07:51:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346519AbiFOLuz (ORCPT ); Wed, 15 Jun 2022 07:50:55 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E82E54C403; Wed, 15 Jun 2022 04:50:54 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id s12so22725715ejx.3; Wed, 15 Jun 2022 04:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NVB55DEg2bPk+Jun3avPAlytYLNNRhGqMzJbc0Lw+GQ=; b=MZVLOdCFSGgMG13oaCBG7RstHuIo08+WtxMPHblfkDD/Btj2afR4FoVA9HFEddTdF2 cBGkfcEeIjTRXeGZcBdVuKMqnlQFaPLjixZBNVF3RwuJ9j2VYyYG4yEz+XjGpv56IO2B JxFqHS8oWjmKqbMH+1m2OfNwv/N5p5fvfMi6U4mt2mlh5JgDT2rV/+0qP2codJc7yk+v mkjVAk5PtaZiN7yHfwbXjzQlVQ5UjdVG6Q0/h0ofyOTzT9kIX4XaM0n0mEGrCg/tXJCH cD16MTJu5ACLIDDehaHoDhyzjb4S7Jt+JEKTpDUZIvto7p0uvb0E9OpXkhqfs6Ss56HW 13Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NVB55DEg2bPk+Jun3avPAlytYLNNRhGqMzJbc0Lw+GQ=; b=mUq+Dodo2sK3sD0+BJ+XlYx5is/J/3KtmS9ifCKa2ojhPBpSi3UgY8WzgmGrcF/rSp GMAPTxHy6DNLxLmYxBOPwKIVq5BsI3xsCayXraVT0Q9LoILD9zKJF3Wa4XFzqWPoXfQq k4KAOJW/EmQ0/MQXCIJYUb2PwCiyzuXeMrEE0l6QPxiATDXJO7whrywStF8s/Hot4gW5 lVSlsa63P5dw4MsnRrnetzG99DYRX5XqY675q2Mpqj4astbHLH2WiMJSQPG7h+/YnDow OH6yboi5Z6eiTVYMt3qh5n78Ydmfan5TYSssy8KjeqNP8aro7ZtvGim5vUeH5Gz8Z5jf gZGg== X-Gm-Message-State: AOAM53278Gfa/qa+FF5UVD/9I8J3mXO3s1U+p8njix7dB06eqrvOejmN hsXU6vdCreob1VatGQUwzeE= X-Received: by 2002:a17:907:1ca3:b0:705:5a6c:d113 with SMTP id nb35-20020a1709071ca300b007055a6cd113mr8999375ejc.535.1655293853494; Wed, 15 Jun 2022 04:50:53 -0700 (PDT) Received: from linuxdev2.toradex.int (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id t6-20020a17090616c600b00715a02874acsm4561158ejd.35.2022.06.15.04.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 04:50:53 -0700 (PDT) From: Max Krummenacher To: max.krummenacher@toradex.com Cc: Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 08/18] ARM: dts: imx6q-apalis: move gpio-keys to SoM dtsi Date: Wed, 15 Jun 2022 13:49:56 +0200 Message-Id: <20220615115006.45672-9-max.oss.09@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220615115006.45672-1-max.oss.09@gmail.com> References: <20220615115006.45672-1-max.oss.09@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,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 From: Max Krummenacher Move gpio-keys to module-level device tree given it is standard Apalis functionality. Sort properties alphabetical. Signed-off-by: Max Krummenacher --- (no changes since v1) arch/arm/boot/dts/imx6q-apalis-eval.dts | 14 -------------- arch/arm/boot/dts/imx6q-apalis-ixora.dts | 14 -------------- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 14 ++++++++++++++ 3 files changed, 14 insertions(+), 28 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-apalis-eval.dts b/arch/arm/boot/dts/imx6q-apalis-eval.dts index 5985d1169be1..fdcb740a7a54 100644 --- a/arch/arm/boot/dts/imx6q-apalis-eval.dts +++ b/arch/arm/boot/dts/imx6q-apalis-eval.dts @@ -30,20 +30,6 @@ stdout-path = "serial0:115200n8"; }; - gpio-keys { - compatible = "gpio-keys"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpio_keys>; - - wakeup { - label = "Wake-Up"; - gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; - linux,code = ; - debounce-interval = <10>; - wakeup-source; - }; - }; - reg_pcie_switch: regulator-pcie-switch { compatible = "regulator-fixed"; regulator-name = "pcie_switch"; diff --git a/arch/arm/boot/dts/imx6q-apalis-ixora.dts b/arch/arm/boot/dts/imx6q-apalis-ixora.dts index 6743617ad1c1..e6fc76776b2e 100644 --- a/arch/arm/boot/dts/imx6q-apalis-ixora.dts +++ b/arch/arm/boot/dts/imx6q-apalis-ixora.dts @@ -30,20 +30,6 @@ stdout-path = "serial0:115200n8"; }; - gpio-keys { - compatible = "gpio-keys"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpio_keys>; - - wakeup { - label = "Wake-Up"; - gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; - linux,code = ; - debounce-interval = <10>; - wakeup-source; - }; - }; - leds { compatible = "gpio-leds"; diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6qdl-apalis.dtsi index 3aa66b6d0c88..240783d0901c 100644 --- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi +++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi @@ -29,6 +29,20 @@ status = "disabled"; }; + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_keys>; + + wakeup { + debounce-interval = <10>; + gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; + label = "Wake-Up"; + linux,code = ; + wakeup-source; + }; + }; + lcd_display: disp0 { compatible = "fsl,imx-parallel-display"; #address-cells = <1>; -- 2.20.1