From patchwork Tue Feb 8 12:32:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 540918 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54AEBC4332F for ; Tue, 8 Feb 2022 13:15:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244504AbiBHNPh (ORCPT ); Tue, 8 Feb 2022 08:15:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357469AbiBHMdE (ORCPT ); Tue, 8 Feb 2022 07:33:04 -0500 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A228C03FEC0 for ; Tue, 8 Feb 2022 04:33:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1644323583; x=1675859583; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AY6SYNjlHV2b3rym8FoLVWU69XCEuKj8e2duhPew9iw=; b=plU2iwV5Po4pYwdUltvtnqAAIftwx4PNjdkU997133T1Ad1woQwu2zy3 kbjkXtX+K8MDidhDmqXLQ9AwVQe/p2WZFnIaCh7ea6ySVnSKNi1VnGBOi HfBHuTqQwuqHtbMCDx8vKE138N170xTjR7R7ASwMorpY7k82Z1HXfah+l HnFy+ML+AnsMfTV1huemN7z7R8QzRzYq19YZIiTELR0tkYhsgReBtvjSX T5wxqPPogAtF0BIXUg9hwfrDdop/XH0l2RQHVgYKn2GgLMglx7QTfKTCP xV4yfywIlvCMRlchQ2gHxfzjJ/3/p8LGQGCC65NndoXnx0+vOb7Zt1Ro5 g==; X-IronPort-AV: E=Sophos;i="5.88,352,1635199200"; d="scan'208";a="21960353" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 08 Feb 2022 13:32:58 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 08 Feb 2022 13:32:58 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 08 Feb 2022 13:32:58 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1644323578; x=1675859578; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AY6SYNjlHV2b3rym8FoLVWU69XCEuKj8e2duhPew9iw=; b=iG/pl3QqCj7zt9XXLO7sG9SV1UQCqxAsQcS3kgu2zUhChxt6FJ+HztHq hmTlCr79C+vjxiYlyxsHCd/pJPQQBbXUxumsH06qbALv9FzVYUlwu3fHX gVj11/NySnwDS2BvBUbTz3NvrQA5wFqBhqND6FYgIJvFeDLkHAos+9kM9 FdgDvjDxW20qe6HWBN9CEkVUca+6q+fuK105Y1TvauV3aBBLFNDSxg1xQ l0+v1bKhFciX3iezILI0aXFp1hyQxiJAkj/9fDH7+NUlnPdDsQXvoGkw6 gIFE9Bx0GtzFbojcYTmMKSlEV574Y4Vdk8XSfaSrWATmS19Kk/Z2yog68 g==; X-IronPort-AV: E=Sophos;i="5.88,352,1635199200"; d="scan'208";a="21960351" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 08 Feb 2022 13:32:58 +0100 Received: from steina-w.tq-net.de (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 584C7280078; Tue, 8 Feb 2022 13:32:58 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Matthias Schiffer , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/5] ARM: dts: imx6qdl: tqma6: Mark gpio-buttons as wakeup-source Date: Tue, 8 Feb 2022 13:32:46 +0100 Message-Id: <20220208123248.821826-3-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220208123248.821826-1-alexander.stein@ew.tq-group.com> References: <20220208123248.821826-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org They are connected directly to CPU, so they can be used as wakeup source. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/imx6qdl-mba6.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-mba6.dtsi b/arch/arm/boot/dts/imx6qdl-mba6.dtsi index 8f6e1dd82ee4..1b6943802642 100644 --- a/arch/arm/boot/dts/imx6qdl-mba6.dtsi +++ b/arch/arm/boot/dts/imx6qdl-mba6.dtsi @@ -40,18 +40,21 @@ button1 { label = "s6"; linux,code = ; gpios = <&gpio7 13 GPIO_ACTIVE_LOW>; + wakeup-source; }; button2 { label = "s7"; linux,code = ; gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + wakeup-source; }; button3 { label = "s8"; linux,code = ; gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; + wakeup-source; }; }; From patchwork Tue Feb 8 12:32:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 540920 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F5E2C433EF for ; Tue, 8 Feb 2022 13:15:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238907AbiBHNPg (ORCPT ); Tue, 8 Feb 2022 08:15:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357472AbiBHMdE (ORCPT ); Tue, 8 Feb 2022 07:33:04 -0500 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92B81C03FECA for ; Tue, 8 Feb 2022 04:33:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1644323583; x=1675859583; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NRWsqzaY92Lb6j4GflAsJbKP6ejm31/ajdXV0loIdS0=; b=XuRYjSRbLBjTFe7N2urMfafvTVTpIj7cLW8aniwA6m6m5Tmnj0h8g+5S 0tvaKGBVgqcGZjTCF/S5of7rrUpifnl6G5BMAdTSPIDXzXYTd09Vcd/2V VGDz4QW6eM878iJgVwbSRH1nz0eif3W/NB1Hm3m+uYhPKD0CKZl/yjSSG G2SvkE0mDWDVUEtOnEGgq2+K4KMcbC0LlF4kBpYvj4634zP++2ZgCWKz5 IA8NHlKeI3DirN1ll/awTpBYWLiLj67mqvfYmWQGfr7Avv1TUEXdBUNNp hixPIrY+3PtDu3n0En6jjPrCJ8AecHaZO4S1U7LbbfpZBqiSRAumepr+n A==; X-IronPort-AV: E=Sophos;i="5.88,352,1635199200"; d="scan'208";a="21960355" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 08 Feb 2022 13:32:58 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 08 Feb 2022 13:32:58 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 08 Feb 2022 13:32:58 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1644323578; x=1675859578; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NRWsqzaY92Lb6j4GflAsJbKP6ejm31/ajdXV0loIdS0=; b=NAjhxqMMW+A27MrdUyUilfpWuxTBATSTU4Ol8lzcToNK8KdRMbemGSGh oM5kNrtm0lTdi6YOXx/rmejkD0U9O4aU7iVXsV85j3j8fD7Q4kUlcWRgD QU6RlgEQy4yxxOBbdrfOeqP9LCkMRMBC/l1VY/bVi4GzOp23gGhFZpMIp cak7H48zKpVCoFZ7wBf0qdRgg/JyANG54D9qDiEPAEIf/TAiZL4wLzq4S iYIAkHdhXToVGq3V6y3PPghsE+JSzcZmvfo3FN+XRN/TThtN7j5EF9tOV 7MueuplYoXOoZdpRPb8oNZXbr8O5kI4k11zFw61XO1lXhbWnEp1/2dsCV g==; X-IronPort-AV: E=Sophos;i="5.88,352,1635199200"; d="scan'208";a="21960354" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 08 Feb 2022 13:32:58 +0100 Received: from steina-w.tq-net.de (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 8C9F2280065; Tue, 8 Feb 2022 13:32:58 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Matthias Schiffer , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/5] ARM: dts: imx6qdl: tqma6: Remove obsolete comment Date: Tue, 8 Feb 2022 13:32:47 +0100 Message-Id: <20220208123248.821826-4-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220208123248.821826-1-alexander.stein@ew.tq-group.com> References: <20220208123248.821826-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This comment is not valid anymore. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/imx6qdl-mba6.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl-mba6.dtsi b/arch/arm/boot/dts/imx6qdl-mba6.dtsi index 1b6943802642..9aacc1a62189 100644 --- a/arch/arm/boot/dts/imx6qdl-mba6.dtsi +++ b/arch/arm/boot/dts/imx6qdl-mba6.dtsi @@ -396,7 +396,6 @@ MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0xb099 /* LED V16 */ pinctrl_hog: hoggrp { fsl,pins = < - /* LCD.CONTRAST -> Rev 0100 only, not used on Rev.0200*/ MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x0001b099 MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x0001b099 From patchwork Tue Feb 8 12:32:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 540919 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51957C433EF for ; Tue, 8 Feb 2022 13:15:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245603AbiBHNPj (ORCPT ); Tue, 8 Feb 2022 08:15:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357503AbiBHMdF (ORCPT ); Tue, 8 Feb 2022 07:33:05 -0500 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA2ABC03FEC0 for ; Tue, 8 Feb 2022 04:33:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1644323584; x=1675859584; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vF8dUDxBLg/KOBc9PRSd0SMrgfYJLbgm+N3PEriXxXg=; b=CiOp0PSyIHdm+152HQafrkk7xQ1vU34w4cs0/G63MTtrbK7gD8KSLeJg jL3GLXkNLrNwtmPrwR1yyfcrAAqPU2D0X0clh9n6/e6e41xLxWKSfCZuu 66iqbZRwTi8+AFddECrkGqKBpCqXNMlC3XC0XHH5Owp01k/gA/h+4KzeF X7ZDw6AGcNK+K9BxNok2TyeQXtFE+ERUCr+FFFBZ6iBakREiN3gGWED9h XJWznff0j6c41ddGRWlPxpGovhxX+KhOajLIFPum+jUq9F9sJT879YWvy 0lUOS8SgYuVzfWf69L48mkExj6/Q5uDpF1vusn6mRkCrRoS4hcq2n3eK2 g==; X-IronPort-AV: E=Sophos;i="5.88,352,1635199200"; d="scan'208";a="21960357" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 08 Feb 2022 13:32:59 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 08 Feb 2022 13:32:59 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 08 Feb 2022 13:32:59 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1644323579; x=1675859579; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vF8dUDxBLg/KOBc9PRSd0SMrgfYJLbgm+N3PEriXxXg=; b=iptnQOEPq+X+36ozhw2m7ykG1Fy327s1c+b+QbAgAEBBPzJI/bYTXcVW PPmO7XZn/LM2kUuj2OnuHBlJEcinvj3GUimgm91e/gIJgMsbbVN1/WQJg 9pi4kWoDEwfMmeeGCUaSgNeHyFpiLAA6Q+fATNGMOJZf43WNqdRYnGsCE lubjBj+vkNpXAlg4kUAg1HmoG8lKnuVq5XzjI9H80UR1fmeNtsdTQVLdh Nu//EizNDHvrnmQh4LYtpZTj4RpixTR6D7RwmOY6Dpv2Gek+PChVka2jN R46CwMOwwVXCF8bZtdUPY1CadeFGmfDyORVZgwECTNMtjn3STch4M7hVz A==; X-IronPort-AV: E=Sophos;i="5.88,352,1635199200"; d="scan'208";a="21960356" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 08 Feb 2022 13:32:59 +0100 Received: from steina-w.tq-net.de (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id C2F1328007C; Tue, 8 Feb 2022 13:32:58 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Matthias Schiffer , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 5/5] ARM: dts: imx6qdl-mba6: Move pinmux to regulator node Date: Tue, 8 Feb 2022 13:32:48 +0100 Message-Id: <20220208123248.821826-5-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220208123248.821826-1-alexander.stein@ew.tq-group.com> References: <20220208123248.821826-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org GPIO2_IO00 is used by reg_pcie, move the pinmuxing to this node as well. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/imx6qdl-mba6.dtsi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-mba6.dtsi b/arch/arm/boot/dts/imx6qdl-mba6.dtsi index 9aacc1a62189..f4dca20669d6 100644 --- a/arch/arm/boot/dts/imx6qdl-mba6.dtsi +++ b/arch/arm/boot/dts/imx6qdl-mba6.dtsi @@ -86,6 +86,8 @@ reg_mba6_3p3v: regulator-mba6-3p3v { reg_pcie: regulator-pcie { compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_regpcie>; regulator-name = "supply-pcie"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; @@ -436,8 +438,6 @@ pinctrl_pcie: pciegrp { MX6QDL_PAD_SD4_DAT3__GPIO2_IO11 0x001b0f0 /* #PCIE.WAKE */ MX6QDL_PAD_NANDF_CLE__GPIO6_IO07 0x001b0f0 /* #PCIE.RST */ MX6QDL_PAD_NANDF_CS0__GPIO6_IO11 0x001b0f0 /* #PCIE.DIS */ - /* HYS = 1, DSE = 110, PUE+PKE, SPEED = HIGH (11)*/ - MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x00130f0 /* PCIE.PWR_EN */ >; }; @@ -462,6 +462,13 @@ MX6QDL_PAD_SD4_DAT2__PWM4_OUT 0x00003050 >; }; + pinctrl_regpcie: regpciegrp { + fsl,pins = < + /* HYS = 1, DSE = 110, PUE+PKE, SPEED = HIGH (11)*/ + MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x00130f0 /* PCIE.PWR_EN */ + >; + }; + pinctrl_uart2: uart2grp { fsl,pins = < MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b099