Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3471301ybi; Fri, 19 Jul 2019 03:51:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqy35B/7iuX0ByLSSKQonqiM6SgWLWTSwUhrmR1JtzQzkXje9WK0x7jJ+EutNt6VlbAHSbrn X-Received: by 2002:a17:902:b70c:: with SMTP id d12mr54143631pls.314.1563533494958; Fri, 19 Jul 2019 03:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563533494; cv=none; d=google.com; s=arc-20160816; b=w1q8NYXC6eHXC3XmUTNuT4igCtlkCFRa6snoQHCUZe0OeqQh3gHC+fqEhd0lO/n/32 99iakMyxOGuRsSs36SvrqkxXxaQxB2WiDk2Zg7FfglMzPII9ZupelPHsF+UE2w23N2Wa Ee9SKqWZgd6F1yaK6g1kTWB6D0uCtaQ9M4dWKdy6Hgu56heZ61tAwzjceBGakEkYPAsp 4tiPGwdt0BtAAE8M/n5LdVZSFbAtahC2QnTJ7AnzfN13u7+y8BWkCl1iGYggwlO2wwLB gnxi8klxSMa5yGMtabtjtplWbsACnXgWDv6ukiSRWPYcB5BDcRbLS22g3hdpJHG/A0Ip db5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=PD5XMnoupUzLTdLpjbC1j5NzkwgdQj9Duj07SqYgnWM=; b=pt5/Gepyppw/fG7Yof1M1CEzTh88kOiqrBj40RMHOxWA1xEt4RoEXV1/9DvrTlI7Ro EQJzGxDixSm9EPtayKlgDV/KSZO/ONoA5BJqbtz2Qj2+hJosAMN3gekokUxY0MQXlGYp RljRedvvfiybXf5UMyVvdxzkTktM8O/38mP7D2X9LiVIRLdRPMV5MzAfu5cDl3NX5lKz VmtnyHRJBVkzSGjSUmUzw21yzKG9n4q0Z7q03tNs0rci0bkCW6DTnXqX+R6T/HaKqzc+ o/hAvy2iPvxc+CEejAYKpor0b7IHjYBLsjN2JCrrsCbOqHWiO30NjLH/bSyUJkf3ufbZ qGBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w16si99113pfi.31.2019.07.19.03.51.19; Fri, 19 Jul 2019 03:51:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727739AbfGSKq1 (ORCPT + 99 others); Fri, 19 Jul 2019 06:46:27 -0400 Received: from mail.savoirfairelinux.com ([208.88.110.44]:41880 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725853AbfGSKq0 (ORCPT ); Fri, 19 Jul 2019 06:46:26 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 08D8F9C01AF; Fri, 19 Jul 2019 06:46:25 -0400 (EDT) Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id pDmCSr7ERjkb; Fri, 19 Jul 2019 06:46:24 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 4E0E09C0279; Fri, 19 Jul 2019 06:46:24 -0400 (EDT) X-Virus-Scanned: amavisd-new at mail.savoirfairelinux.com Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Yj8MoRMJPG9k; Fri, 19 Jul 2019 06:46:24 -0400 (EDT) Received: from localhost.localdomain (unknown [37.165.9.228]) by mail.savoirfairelinux.com (Postfix) with ESMTPSA id 0194D9C01AF; Fri, 19 Jul 2019 06:46:21 -0400 (EDT) From: Gilles DOFFE To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: jerome.oufella@savoirfairelinux.com, rennes@savoirfairelinux.com, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com Subject: [PATCH v2] arm: dts: imx6qdl: add gpio expander pca9535 Date: Fri, 19 Jul 2019 12:46:15 +0200 Message-Id: <20190719104615.5329-1-gilles.doffe@savoirfairelinux.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The pca9535 gpio expander is present on the Rex baseboard, but missing from the dtsi. Add the new gpio controller and the associated interrupt line MX6QDL_PAD_NANDF_CS3__GPIO6_IO16. Signed-off-by: Gilles DOFFE --- arch/arm/boot/dts/imx6qdl-rex.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-rex.dtsi b/arch/arm/boot/dts/imx6q= dl-rex.dtsi index 97f1659144ea..b517efb22fcb 100644 --- a/arch/arm/boot/dts/imx6qdl-rex.dtsi +++ b/arch/arm/boot/dts/imx6qdl-rex.dtsi @@ -136,6 +136,19 @@ compatible =3D "atmel,24c02"; reg =3D <0x57>; }; + + pca9535: gpio8@27 { + compatible =3D "nxp,pca9535"; + reg =3D <0x27>; + gpio-controller; + #gpio-cells =3D <2>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_pca9535>; + interrupt-parent =3D <&gpio6>; + interrupts =3D <16 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + #interrupt-cells =3D <2>; + }; }; =20 &i2c3 { @@ -237,6 +250,12 @@ >; }; =20 + pinctrl_pca9535: pca9535 { + fsl,pins =3D < + MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x00017059 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins =3D < MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1 --=20 2.19.1