Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp343700pxb; Tue, 1 Feb 2022 00:44:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+wsAIMO/eGUCBvc1Eetg4ihzNJfLUk9ZRtPfFCdBAI+ZKQqmw4EiV4rpoLKlqBjqRf7kw X-Received: by 2002:a05:6402:2747:: with SMTP id z7mr24495000edd.227.1643705046090; Tue, 01 Feb 2022 00:44:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643705046; cv=none; d=google.com; s=arc-20160816; b=qxqcGO+/zT6MMMKR97ES5ZE8g0iI5LKUVy5PW8Wuimefm62rRfoyAQHDNSNNvpMu+X Qb2Hbusr86PL+MfDiQ0k4L6/O9ZUD0Ce9jfeJgASNEdjrNtgVjgaO4WQbQtK7QvDU3qs 9FsUqR8vazxm+tIr/1G2mdjW139lDr1zAQv4bfi3CimFHgRPtH+PMnbNE9AvFPG6FO0n hB+w3/PTlLau4Bz1FVCCktjVz+3K9Ru2epH0u/+F+0OxKXlbPYwKx0eRusqhm22Cqjs9 zsApJKfaOlh5tE+VVti/rn8vr8Ts/4yKgLh6q+pZGHMPRlRYJbHYX0ZII74OXpfD6784 7S6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:cc:to:from:dkim-signature; bh=nB+1Cg03XOHqlY3t8HBuf0gJTSR4wOsWdCqtLuMW07s=; b=c5gaQidZ19sgNBeVWPqfLb+zvTS7wn3Cs/5j3otjPOgB0rpof7rCoG5mgmATeqCLw8 xnZSdYZzYuC43++USRQVc5Lx83d7zT+mDLtx0unBuez/MyvtqBmhKaFR8zBtRZUFCis9 99308N9ua7qNf8vK58r+QaCWxqDMEONVS9h8ugRsu1XpHPzl9v7nPqiQ6XVptjybcHQZ nL6dkgqVDM3Q0iUhnV/Nt+racWIo4XMt6hPkpCH/qS+tabNc0bc3lCEzbuRNMzbB8e+e vX9OrG5skjIXEIalTvi2bI4svy/67cEOTASTl6YoSZz/5Ouf9lmY4nFcDOUpT2U1RnFy 7hsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b="SWvd/Oyc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si8409372edr.286.2022.02.01.00.43.40; Tue, 01 Feb 2022 00:44:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b="SWvd/Oyc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353071AbiA2U0g (ORCPT + 99 others); Sat, 29 Jan 2022 15:26:36 -0500 Received: from mail.hugovil.com ([162.243.120.170]:57052 "EHLO mail.hugovil.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234289AbiA2U0d (ORCPT ); Sat, 29 Jan 2022 15:26:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-Id:Date:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nB+1Cg03XOHqlY3t8HBuf0gJTSR4wOsWdCqtLuMW07s=; b=SWvd/Oyc5QAnYl+K47OrCkd7b8 WcVS0UE2zCnGmJPov1KNFmlhHU6j7PQuPi6s7siODdn6k+heeMlGchldUmqzXutFwOpHMhuxtRGxl fFaxxgUvGHA6A7WCt7tdwPZGnoKCItIbSiFD+kk4i9OLj6FLlMiIvNtjqoyeNqMXA3Lc=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:55112 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1nDuIf-0005AC-7A; Sat, 29 Jan 2022 15:26:22 -0500 From: Hugo Villeneuve To: hugo@hugovil.com, Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: Hugo Villeneuve , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Sat, 29 Jan 2022 15:26:17 -0500 Message-Id: <20220129202617.2332885-1-hugo@hugovil.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220129060818.GQ4686@dragon> References: <20220129060818.GQ4686@dragon> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.hugovil.com X-Spam-Level: X-Spam-Report: * 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was * blocked. See * http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block * for more information. * [URIs: dimonoff.com] * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Subject: [PATCH v2] arm64: dts: imx8mp-evk: add PCA6416 interrupt controller mode X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hugo Villeneuve Add interrupt controller mode for the pca6416 on i.MX8MP EVK board's. Signed-off-by: Hugo Villeneuve --- Rebased on tree: git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git branch: for-next arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index 2eb943210678..9055ce32aecc 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -294,6 +294,12 @@ pca6416: gpio@20 { reg = <0x20>; gpio-controller; #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pca6416_int>; + interrupt-parent = <&gpio1>; + interrupts = <12 IRQ_TYPE_LEVEL_LOW>; }; }; @@ -448,6 +454,12 @@ MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03 0x000001c0 >; }; + pinctrl_pca6416_int: pca6416_int_grp { + fsl,pins = < + MX8MP_IOMUXC_GPIO1_IO12__GPIO1_IO12 0x146 /* Input pull-up. */ + >; + }; + pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp { fsl,pins = < MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x41 -- 2.30.2