Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3378744pxb; Mon, 17 Jan 2022 19:04:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJw17G40JHCGWGYrp7dl4svZQcZ9JwvIDZPWiIJPB19MjG8ZDHEGGYrSHPexr9fsrGm2a3pS X-Received: by 2002:a63:fb58:: with SMTP id w24mr19871069pgj.445.1642475068747; Mon, 17 Jan 2022 19:04:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642475068; cv=none; d=google.com; s=arc-20160816; b=NFgy5PMw7zee3LdW1T1Sdy7ixOljpanOtXsGCrPy1bijernZ5kkdXoP3bV5JuZ1ptZ NhYrqc9NP1z4pwFvFuGLfIiGs7XeSAf0oI7li/Vtbm68DYHwkW8TcEdl6PooG0wJ/yEA 4lbXTdo+xV3y3uH9AF4NC5dR7tIUTpOPnJbX6bVf+vs38L91IPj9fFrMXd85aNb24LjX mieS+vnX5WDLlr0G2mRplhRLawjGwA6vvn/TEn8butK27ABd5ePS6NLkSk8hGKqik6dV U21WnZDbZqeUNJ66dRuNyuvM9J8KZIw8IKTzD642EI6HCgbcr3xw8NKJ/ERMRsjM0uRY x+xw== 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 :message-id:date:cc:to:from:dkim-signature; bh=Du9v/Z5FVhfV95sAcpZJzpdwfPesAOEi6fhcH58virk=; b=xKxZUbQK0jfh+qjMAtmT4xQFvcq6/vT0/xxWyqAE3h85W2+n1701LJoANi/p8Bb1k/ /sl2qSZzzu4djKsbF6JhIb1DmDPwERFEsJnco4StyXnfAiWswkqY6orgs5Cstt2lhYJs t0tTiCr+0mqrpO6dhHfOK0xV/+krulhjEXTnL7Ykh4RWgP96oiRqX26B7RugNbkyyaoL xHguLmt+e6LcddX5z4JB0bC6AhMAsVD5+FM+dRpX6lXPdLhBbYhn4I16DTCnTBv7kRJK cesysQau+L3AvNX9uDTStbqo9OKJDV+ZyWKYAiHZrzOdECJo3dfF645FFe1SGjJtPW9u KFKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b=MLSNCsLB; 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 i17si17540377plr.139.2022.01.17.19.04.17; Mon, 17 Jan 2022 19:04:28 -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=MLSNCsLB; 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 S243751AbiAQXHk (ORCPT + 99 others); Mon, 17 Jan 2022 18:07:40 -0500 Received: from mail.hugovil.com ([162.243.120.170]:47662 "EHLO mail.hugovil.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229842AbiAQXHj (ORCPT ); Mon, 17 Jan 2022 18:07:39 -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: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:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=Du9v/Z5FVhfV95sAcpZJzpdwfPesAOEi6fhcH58virk=; b=M LSNCsLBwO5G1XoMdlUll2Zhj+UPL336TK2xTw7fxedeNkXTCU27eE+MlfqhBFvU5IwY4Dx4z44SiS c43xRKVnGjXTv4FRFJyiRVi4BVyIViUhYgWYSUrGo8BRJAfXLDycnvzcz4fC6V/nw/mnfZ0pEvzf2 f91AEvNOIvdzvSnk=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:54816 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1n9b5x-0005oE-TK; Mon, 17 Jan 2022 18:07:26 -0500 From: Hugo Villeneuve To: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: hugo@hugovil.com, Hugo Villeneuve , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Mon, 17 Jan 2022 18:06:39 -0500 Message-Id: <20220117230639.1257549-1-hugo@hugovil.com> X-Mailer: git-send-email 2.30.2 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] X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Subject: [PATCH] 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 --- 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 66437b659f3a..00e1e1342162 100755 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -526,6 +526,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>; }; codec: wm8960@1a { @@ -1209,6 +1215,12 @@ pinctrl_csi_mclk: csi_mclk_grp { MX8MP_IOMUXC_GPIO1_IO15__CCM_CLKO2 0x59 >; }; + + pinctrl_pca6416_int: pca6416_int_grp { + fsl,pins = < + MX8MP_IOMUXC_GPIO1_IO12__GPIO1_IO12 0x146 /* Input pull-up. */ + >; + }; }; &vpu_g1 { -- 2.30.2