Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp930589ybi; Fri, 12 Jul 2019 06:56:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwI6wiD04Za6uKo1q/eFVkmeexWLsqr6g3qhaT5rwB7VaPggQQWS0MphXYcGMbv9R2zdh/5 X-Received: by 2002:a17:902:e58b:: with SMTP id cl11mr11410858plb.24.1562939805432; Fri, 12 Jul 2019 06:56:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562939805; cv=none; d=google.com; s=arc-20160816; b=zoyoEaztrQja3RE6PairAeHUoo6QTQbtA6Yogaku0yEYOIVYmYYfpN7eHKFJzJRtSa 0oBFJlnNEpYIXCXUWieEQX7AVbZwxcm3xWX2oRbDwPOSSUj6o8CagntjnV0Vxria8RuY OAxbUIyK/4f096Y7Ltj3nkThSBFmAtkuGcrRROfKbCzr6+4Ck5jMtZ3R5KWlJvpU1ZWr JW6vN/yPrhRps00xYH/tNeEZyQnh4j5pEp4Zp4yPFSdhqHkGqjNbLavu38A9V+8anX5h VT1M2xwIgRuFn7JISRbNCCp4DhkUUM4JfFy3X0n1G1b7LzWoivVTx5a/j6QhVq+I3g++ 2E8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=OInpXwc1P4mB54YGsCUYmd6vDLwBGP2GXqo+isBTWlo=; b=tR7VIQogWQq4C8mRbZHjPpC9GSh+KkcJzqs3zuqo/SN2bzHg0ZGgmHn5xLr2WEoXCr MrOtS9GVKO3rKFseWAwaDja+X6xsll1UEj/F7dsofb1fFsuIFKOCwjdorLiI9hbLUcrp 7XPod/WO9UcuIihSusBSZ3z6b85jPXGyqbulJC1nZiYqMC5zbg0Uh+J9Me/cwX/xejOw r7DTZ69DjuRMqgUZdU0iA0uFjCZbxYEshEwgRzOKuwBO27GEya7tCrvmtoqTu7/1mT5n WbFg+b9opBbeFiN6Qs6w0f81mV/rAaKzrqbvlfJvFQy7ztsF3BxobV3D4IlghBQgqaV0 VYkA== 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 d22si8198654pgl.421.2019.07.12.06.56.30; Fri, 12 Jul 2019 06:56:45 -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 S1727366AbfGLNzx (ORCPT + 99 others); Fri, 12 Jul 2019 09:55:53 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:52065 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726717AbfGLNzx (ORCPT ); Fri, 12 Jul 2019 09:55:53 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hlw1b-0005Pp-Co; Fri, 12 Jul 2019 15:55:47 +0200 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1hlw1V-0008Q6-Mn; Fri, 12 Jul 2019 15:55:41 +0200 Date: Fri, 12 Jul 2019 15:55:41 +0200 From: Marco Felsch To: Gilles DOFFE Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, mark.rutland@arm.com, festevam@gmail.com, s.hauer@pengutronix.de, robh+dt@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, shawnguo@kernel.org Subject: Re: [PATCH] arm: dts: imx6qdl: add gpio expander pca9535 Message-ID: <20190712135541.55fgchvyp33cl3uv@pengutronix.de> References: <20190712124522.571-1-gilles.doffe@savoirfairelinux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190712124522.571-1-gilles.doffe@savoirfairelinux.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 15:53:35 up 55 days, 20:11, 52 users, load average: 0.12, 0.08, 0.10 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 19-07-12 14:45, Gilles DOFFE wrote: > 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/imx6qdl-rex.dtsi > index 97f1659144ea..d5324c6761c1 100644 > --- a/arch/arm/boot/dts/imx6qdl-rex.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-rex.dtsi > @@ -136,6 +136,19 @@ > compatible = "atmel,24c02"; > reg = <0x57>; > }; > + > + gpio8: pca9535@27 { Just a nitpick, I would change that to pca9535: gpio8@27 { Regards, Marco > + compatible = "nxp,pca9535"; > + reg = <0x27>; > + gpio-controller; > + #gpio-cells = <2>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pca9535>; > + interrupt-parent = <&gpio6>; > + interrupts = <16 IRQ_TYPE_LEVEL_LOW>; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > }; > > &i2c3 { > @@ -237,6 +250,12 @@ > >; > }; > > + pinctrl_pca9535: pca9535 { > + fsl,pins = < > + MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x00017059 > + >; > + }; > + > pinctrl_uart1: uart1grp { > fsl,pins = < > MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1 > -- > 2.19.1 > > > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |