Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4431035pxb; Mon, 21 Feb 2022 21:24:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxvQWCiSmAMF1pxT09huwkICMTga9B3Wl7QIWGzTkuBfWCt2TVJpGVc1xWFaOtFhb5nvaR1 X-Received: by 2002:a05:6a00:1d0c:b0:4e1:9846:3f34 with SMTP id a12-20020a056a001d0c00b004e198463f34mr23291074pfx.59.1645507443311; Mon, 21 Feb 2022 21:24:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645507443; cv=none; d=google.com; s=arc-20160816; b=K3I6SWajMsf8JCVNhT7st+HGPBHjuyE3qCuQxP84hMoxJ6gycIB6x074Q+5lSwy0j3 RYKzwfiXOjV3z46Y1TACrJqHQwq2lyJd2sP2JvteERowATMeimKX+20DqoXa5AAgdUox 0hv6+05B8WcodyemVJhHG1Bvy+17mDocH+AwciCMQCd2gHoGlGO7WZPFhNPQBjgJtG26 +bLY0kH1d1SOI3Nc5GOGaJUmO9cP+7ixM6gs4w+UBuTk5vozFXMJzX1I+oyWmZ+ZBQZX 2F9ZuqiKrWFbqhb+FopolnBNKdl1Fy1rLR7xmb7HZsLeVybnwt2FM1g1O8VaBt0gNC6T 2/BQ== 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; bh=LI1lAmT04GM76TaJdvPD4/JCJdkEF3t/VFyK2lxHXBc=; b=IewMD0EvvN0O+4By8wjS+3yaLMCrQueTSXbF8TnTY7ppKJLbn/9NLff320nnYzpErQ 4Mpqjt1viJI85NYifWxKAOI8kKk7HiyYgC84o3LI5uaID6u3KY5aQ8fAqmzxMeB8k59y TDb9LAJvtlZDeUO0hgmoj6tsfsvFHxURkvBGHWza3gGcJWCd0T+HkRsjoRpdSj6hVc1m EYdxXaDvfaE6RcJHQYvqlw0akrECYBIYY2BWLV8f4RoUwrxZKSsUZNBR9EBlE+hXm7GH 34f1AK2zdyQUm/JiMm4TxTMbF6kKpyhMtourZG3jmPBuJV+BFVbspfkVyaZPDlFErOxY T05w== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 192si20320483pgc.664.2022.02.21.21.24.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 21:24:03 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F4046B823C; Mon, 21 Feb 2022 20:54:44 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236676AbiBUKdq (ORCPT + 99 others); Mon, 21 Feb 2022 05:33:46 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:51328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354665AbiBUKdK (ORCPT ); Mon, 21 Feb 2022 05:33:10 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77169369E8 for ; Mon, 21 Feb 2022 01:53:30 -0800 (PST) Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nM5Nb-0007AY-9w; Mon, 21 Feb 2022 10:53:15 +0100 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nM5NZ-00FUes-NP; Mon, 21 Feb 2022 10:53:13 +0100 From: Oleksij Rempel To: Mark Rutland , Rob Herring , Sascha Hauer , Shawn Guo , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter Cc: Robin van der Gracht , Oleksij Rempel , devicetree@vger.kernel.org, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , David Jander , dri-devel@lists.freedesktop.org Subject: [PATCH v1 6/8] ARM: dts: imx6dl-victgo: Add interrupt-counter nodes Date: Mon, 21 Feb 2022 10:53:10 +0100 Message-Id: <20220221095312.3692669-6-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220221095312.3692669-1-o.rempel@pengutronix.de> References: <20220221095312.3692669-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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: Robin van der Gracht Interrupt counter is mainlined, now we can add missing counter nodes. Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-victgo.dts | 41 ++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6dl-victgo.dts b/arch/arm/boot/dts/imx6dl-victgo.dts index 20c7f80e5ec9..907682248aa7 100644 --- a/arch/arm/boot/dts/imx6dl-victgo.dts +++ b/arch/arm/boot/dts/imx6dl-victgo.dts @@ -54,6 +54,27 @@ comp0_out: endpoint { }; }; + counter-0 { + compatible = "interrupt-counter"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_counter0>; + gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; + }; + + counter-1 { + compatible = "interrupt-counter"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_counter1>; + gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; + }; + + counter-2 { + compatible = "interrupt-counter"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_counter2>; + gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; + }; + gpio-keys { compatible = "gpio-keys"; pinctrl-names = "default"; @@ -400,7 +421,7 @@ &gpio1 { &gpio2 { gpio-line-names = - "", "", "", "", "", "", "", "", + "YACO_WHEEL", "YACO_RADAR", "YACO_PTO", "", "", "", "", "", "", "LED_PWM", "", "", "", "", "", "", "", "", "", "", "", "", "ISB_IN1", "ON_SWITCH", @@ -706,6 +727,24 @@ MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x13008 >; }; + pinctrl_counter0: counter0grp { + fsl,pins = < + MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x1b000 + >; + }; + + pinctrl_counter1: counter1grp { + fsl,pins = < + MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b000 + >; + }; + + pinctrl_counter2: counter2grp { + fsl,pins = < + MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b000 + >; + }; + pinctrl_ecspi1: ecspi1grp { fsl,pins = < MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1 -- 2.30.2