Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp232420img; Thu, 21 Mar 2019 18:47:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqxyf0Wn/YSDohyR1V42Z16/bEVqwlNkYStgjDI73Vwbdb0meDtDvUMJW0Zk0sZ53njDVBnV X-Received: by 2002:a63:ff66:: with SMTP id s38mr2768175pgk.120.1553219270067; Thu, 21 Mar 2019 18:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553219270; cv=none; d=google.com; s=arc-20160816; b=NDYyP0V31gnk4lzC/LzO4cXzN4tKfsJQZrF4AYMO/xN9cKaJQLWLzzvagCiFOdcbsh dI9Uh8Gqp9cQGsW0BGomDrBPPGNmmlRXUe6sooPd+wud8vo7hWpwcoqIsHv/IDUZIJxE G1R1k57kHAgtWlm47HytYaRukAPlxM7XXKNXwJKzIPPY2wOfLJzQP2oVkE0JYzNPJWxb uaB5IOz8q2JhgB2gQ/f17ibuLLP9IRrkPZ5qxoj84Sv28574osbmyUjPwPknnMDs6/+D Y5V0X2/Wet3gonfHD0/R1Qh5qsOD5mZnVeFUzEh0zdXOIikrXd31fUD/T7G5ZP0Fs83+ MyTA== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fXqf0vadsOxxwZxLuqLPSIXBUuJzdLqPC4b5sN/TZ9Q=; b=PQoJtAE2hiVOiYOYvUHH8NKUMr3NxeaBXv3ZdJVx1xz9e1lwg6h3dKxIJWgx4RL15b 5DNYiNIMWAgcHHewzByvEOObDc7ZHC+AF+Gfvsp86mdFiKl0yw5NGeeVaml0M8pvWwwo oZM1LeyBmJ8DdlArVCtyUpgJX0ak3T2kF8Rq8CWazbNtHIL7NdcGpxILvTIIutVtTXDq k4tIQcAq51VYbDALSIO5/i/2QhWWNt5PjY2ghIBk2yFVu4J3ymuaTnoG2H/9cZH5XpM9 EPztDvDSijdqgN1C2nEPv1i4TKhnjCKWqPjJk2zkh8nSc7kUNJtDgGy00HjxaE13ITHX qZVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YxJgY4iV; 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 h20si5101296pgv.388.2019.03.21.18.47.34; Thu, 21 Mar 2019 18:47:50 -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=YxJgY4iV; 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 S1727594AbfCVBqg (ORCPT + 99 others); Thu, 21 Mar 2019 21:46:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:57058 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727552AbfCVBqg (ORCPT ); Thu, 21 Mar 2019 21:46:36 -0400 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8DFF8218E2; Fri, 22 Mar 2019 01:46:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553219195; bh=Q3JfeTGDvGLcXeouNN+Uo90D5B+O05F/i81Q3IxTn2I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YxJgY4iVNFZQX19I3Gymmz4xbcSVky6w6zysn7w5sgZ3sb2A5JpJOTKvjv1ynuyXl YHqBJmLTXOwcbMKiKGjnJXTsGHb0XgwhrDWXHAtgXF1q+JBQygA5WnBHvy/A5Q9qG6 tg3dcwQ6QxX7dsueTG0q6UqJzSXnScoeHqJkbZk8= Date: Fri, 22 Mar 2019 09:46:06 +0800 From: Shawn Guo To: Jonathan =?iso-8859-1?Q?Neusch=E4fer?= , Alexander Kurz Cc: linux-arm-kernel@lists.infradead.org, Rob Herring , Mark Rutland , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Thierry Reding , Manivannan Sadhasivam , Kevin Hilman , Heiko Stuebner , Jagan Teki , Martin Blumenstingl , Johan Hovold , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/5] ARM: dts: imx50: Fix the numbering of the I2C controllers Message-ID: <20190322014605.GT12513@dragon> References: <20190319152421.16179-1-j.neuschaefer@gmx.net> <20190319152421.16179-6-j.neuschaefer@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190319152421.16179-6-j.neuschaefer@gmx.net> 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 Tue, Mar 19, 2019 at 04:24:20PM +0100, Jonathan Neusch?fer wrote: > Ensure that the i2c buses are reported to userspace (for example to > i2cdetect) in the same order as they are numbered in the SoC's > documentation by adding aliases to the devicetree. > > Signed-off-by: Jonathan Neusch?fer Alexander already sent a patch [1] covering i2c. But I'm not sure why i2c3 is missing there. Shawn [1] https://www.spinics.net/lists/devicetree/msg278684.html > --- > arch/arm/boot/dts/imx50.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/boot/dts/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi > index e5632ce24ba0..8cab0ab3bd4e 100644 > --- a/arch/arm/boot/dts/imx50.dtsi > +++ b/arch/arm/boot/dts/imx50.dtsi > @@ -26,6 +26,9 @@ > gpio3 = &gpio4; > gpio4 = &gpio5; > gpio5 = &gpio6; > + i2c0 = &i2c1; > + i2c1 = &i2c2; > + i2c2 = &i2c3; > serial0 = &uart1; > serial1 = &uart2; > serial2 = &uart3; > -- > 2.20.1 >