Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4226934ybp; Mon, 7 Oct 2019 05:24:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8ddloZZjWx4ppagdBCchss6VUKChmETYM6bbgVfNy3FC/TnyDyiBGchPZK7VpjueK8wv8 X-Received: by 2002:a17:906:199a:: with SMTP id g26mr23181119ejd.92.1570451093851; Mon, 07 Oct 2019 05:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570451093; cv=none; d=google.com; s=arc-20160816; b=vLf7gjeGBrCgzWQTcbm2UnVDHUkYsuiscSYrBlk4vMyXAOePy25nCXSmD0H6kv4YqL opEXasyvqCHgLUKVoKO1DL3qWsHZOAYBAss2mMDe0mgpo/NZK7oe2vt0cqqwD54Gqhs8 sX1vRq3z9thZPKW1SJQxqlfI97CbXGYZhqf8qEVuB9XpPi/5TTA+IrypLQjPkLcW+JK2 DzX2WCcu9L4qGsdxmcFHhIB1TjNUQPczCktjbpx/9IENqhoiDeinq7TvAXhC3pvOs0jJ l1VtGxfFZgPLA8ahIUDD6LXYXfXEl3wcrmYCp7trIbFBULdvNXA00NUIIatCUyVeLImX QOeA== 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:dkim-signature; bh=+jy5lCoYkSQ6ClHmfKQzf+SJoY1B2wsf+a8i/DrAuqk=; b=M/9x9RCkAkhll8mFQhPQv9D69qJkP0PpI+baXhRT/Y5uYcDemguZoNbdAcSqRffO/T QqKKWqbArBwSG/orBKnY/8i/8WMi+EaRS0ip5Q0yAtxHC+Vo6Pw+RbV+upyINqIhJcCG 0Upxqu/I0vsxCZioeFmoZPgMCWJ4SEz12h//8jBK2dk5TwiHbfrvQ+vq9E3PhzPtWtVo HoPsbkv1CJJ+mLBsX0WN5PWI9js/9JWedTkeWGHs3tkiOI780vTY1/bevCVaQVgGbwb5 Za70rQnNUlymfX9HrBSPLdZNTptJ6DcfFgftSWj+btwKBfvxRPI/lW0af4Du9832whe6 Uo4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qgUEdVvE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n25si1697584ejr.206.2019.10.07.05.24.29; Mon, 07 Oct 2019 05:24:53 -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; dkim=pass header.i=@kernel.org header.s=default header.b=qgUEdVvE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727589AbfJGMXs (ORCPT + 99 others); Mon, 7 Oct 2019 08:23:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:35266 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727490AbfJGMXr (ORCPT ); Mon, 7 Oct 2019 08:23:47 -0400 Received: from dragon (li937-157.members.linode.com [45.56.119.157]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F00DC206BB; Mon, 7 Oct 2019 12:23:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570451027; bh=SXqAzMkkc4rgzNayHQj7LNvsnRtyRLfX5eY3NLKcKak=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qgUEdVvE6ILZ+SX1qJ/WP/I3/T/K6UyTfnAfJAsBIdWPv9OxqkxTPuJAsiVm/GCXi 9c4F2gtfA5FsMZCbjeGoajzqshrk+4I5vl8/9D5qViYJIjT9c2hgheFzTUTIIcCnUN y1EgmnPgB52j8rjMiw9/rTb2R0EsgaiIXn5An4KA= Date: Mon, 7 Oct 2019 20:23:16 +0800 From: Shawn Guo To: Anson Huang Cc: robh+dt@kernel.org, mark.rutland@arm.com, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, leonard.crestez@nxp.com, daniel.baluta@nxp.com, ping.bai@nxp.com, jun.li@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH 1/2] arm64: dts: imx8mm-evk: Add i2c3 support Message-ID: <20191007122313.GJ7150@dragon> References: <1568886408-18168-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1568886408-18168-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 19, 2019 at 05:46:47PM +0800, Anson Huang wrote: > Enable i2c3 for i.MX8MM EVK board. > > Signed-off-by: Anson Huang > --- > arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts > index f7a15f3..7758c1c 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts > @@ -306,6 +306,13 @@ > }; > }; > > +&i2c3 { > + clock-frequency = <400000>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_i2c3>; > + status = "okay"; > +}; > + > &iomuxc { The iomuxc node is being put at end of file because of its huge pinctrl data. I2C devices should be placed in alphabetical sort though. Can you please have a patch moving i2c1 and i2c2 to correct place first, and then add i2c3? Shawn > pinctrl-names = "default"; > > @@ -355,6 +362,13 @@ > >; > }; > > + pinctrl_i2c3: i2c3grp { > + fsl,pins = < > + MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL 0x400001c3 > + MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA 0x400001c3 > + >; > + }; > + > pinctrl_pmic: pmicirq { > fsl,pins = < > MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x41 > -- > 2.7.4 >