Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3472617ybi; Fri, 19 Jul 2019 03:53:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyklh8pQ54v4A/J9RFOJiLmczmfV0Y2+Dm+ORgRm0S5+YjuD7pwREq/lQqDcaDBJYPjPi/s X-Received: by 2002:a17:90b:28f:: with SMTP id az15mr56310247pjb.18.1563533587778; Fri, 19 Jul 2019 03:53:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563533587; cv=none; d=google.com; s=arc-20160816; b=Vnvj0C1QhJ/hRm0zaXTQTev1Ja+9XNV6QDvg7Al6qYBqtf1YeW8+N8MKMO+TMzleN1 BFbMilyxLC9fJ+5hqlnZpNWFC3mwXkpNdW9Kf4p+J07BIC6GOtP4Sf8R5De9KtomM5TS tCrnZHED8byag777ZyF7D3N8l0LEwx3oDEFg0zo4Ia3xXeBhkiV97JGvJzkS/BUaCcR3 t/IHC60J7fKlRQ9K2xXhgHaekakicF33B1mHgjCsYOGx54gwwqCUoURz4nKmK+chC3dL 1/Jofc/BV+iN7XOol1/Ln0TiTxOzwD1TBaPLHZrpo9XgSekKtmTEQyMrZ8tuTB/J7Kky ZrBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=SbyRWAZqscpoKmqAkfBzCv2UHYz+uAq4fqoF4IaUkLs=; b=o5Mh287Z1bAiyD5A7wuEK9GmvSxIbnIj2DTEnKYqlJ2xbe3ubnvxEiMhwRiwpWo7KB booVcuSunCL9PK5wJqWT6Yr782a0N80O31WFGn2pXMugsQAKOkF4tXpfU/zrNM/f+FAm 683S+qxN4DyHrOXSxswMNJTh35nhNZyjSXSD5AP5T+2Qh5KOt+LHBQL6S4R2C40QfLd2 iJEeQEuEFF9AEIlWTT0S39wR+lkT9XsLNuTe5f2u5XCpOpQbn4ATfPgbBC6lFqJZu7g9 uQGwDCNFDhwo2c4HTe2cv8kVRiGLjn5rveFeh/e2+1X1fXtxm2+EYBpeffZsp5j+ze4S QK1w== 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 w198si438990pfd.106.2019.07.19.03.52.52; Fri, 19 Jul 2019 03:53:07 -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 S1727348AbfGSKvL convert rfc822-to-8bit (ORCPT + 99 others); Fri, 19 Jul 2019 06:51:11 -0400 Received: from mail.savoirfairelinux.com ([208.88.110.44]:42378 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726239AbfGSKvK (ORCPT ); Fri, 19 Jul 2019 06:51:10 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id AB1B89C01AF; Fri, 19 Jul 2019 06:51:09 -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 UITvdYQh0lmp; Fri, 19 Jul 2019 06:51:08 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id CD8AD9C0279; Fri, 19 Jul 2019 06:51:08 -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 DuBALd-RrgDk; Fri, 19 Jul 2019 06:51:08 -0400 (EDT) Received: from mail.savoirfairelinux.com (mail.savoirfairelinux.com [192.168.48.237]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 9CA4D9C01AF; Fri, 19 Jul 2019 06:51:08 -0400 (EDT) Date: Fri, 19 Jul 2019 06:51:08 -0400 (EDT) From: Gilles Doffe To: Marco Felsch Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, mark rutland , festevam@gmail.com, s hauer , robh+dt@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, shawnguo@kernel.org Message-ID: <405527661.6507550.1563533468485.JavaMail.zimbra@savoirfairelinux.com> In-Reply-To: <20190712135541.55fgchvyp33cl3uv@pengutronix.de> References: <20190712124522.571-1-gilles.doffe@savoirfairelinux.com> <20190712135541.55fgchvyp33cl3uv@pengutronix.de> Subject: Re: [PATCH] arm: dts: imx6qdl: add gpio expander pca9535 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Mailer: Zimbra 8.8.11_GA_3737 (ZimbraWebClient - GC75 (Linux)/8.8.11_GA_3737) Thread-Topic: imx6qdl: add gpio expander pca9535 Thread-Index: vpg0c/hPAh+Ul1ZzEvqvEtVCDcLJKQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Marco, Thanks for your review. Corrected in v2. Regards, Gilles ----- Le 12 Juil 19, à 15:55, Marco Felsch m.felsch@pengutronix.de a écrit : 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 |