Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1476698img; Tue, 19 Mar 2019 08:26:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqycU+mJf7QTKGluuPA43tv0/ZP8LFoyd0iSvvgAM62MkkxuI3mqoF+2dECqFze9KXwmo7yM X-Received: by 2002:a62:4553:: with SMTP id s80mr2471311pfa.141.1553009188348; Tue, 19 Mar 2019 08:26:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553009188; cv=none; d=google.com; s=arc-20160816; b=Wby9QPZOS+AfidfVvaHBBM767zm85s8VVnMaC8t5Gr8cZD4JW1r7QAgjW9b9420BMh qgtHt8wsFg6HUlDehloXYgud4uZEUxWjvVEVCpSI8ufX9/22PKfBUHD+rr1T0JRh4M+h zNCdo3JQ3x40ptzVJ3zl3weFvkmyrrAH1vXJPYxJirzveWDGh0nzjuKDiiNlYlP15wA6 bb5zmlTlB+p5gYAU8rrg6CPfqLkmTduc/eUoT/sl382xqBFuXRd3NHa+oMscmyVaYZwQ +P1UuQXCvOqLRghXlmKl+G/PLGSxr9bp6lXaiKcm+tojfkKRBu5fWQunskpDKMIfct2c Wakg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1v2kxGOxyY7P4XUuNYvHHT96pRQusUL2VqPy53tmKmc=; b=rtFdMjGGbFvkRDaO0O0+uQETDBHKAyO4E9qfBj6A1wCi7gKQ0e7g6pzJ2pRPdizNl6 QNX0dYlZO1pn/VXSvx9LGVpxUUHsoZBTFM1Zd9ycAIhPCgxWve0zY8yNQSGj34FQUp8v sDSH4wewmUTsyYbiLjwY3+rXbLKPErC+fMMKz1BHiIkRmgpTnRqYJSV1EI945+BPYHqr Hz9JglWIT9bmGrUDTsWjgjktkWM+IcWuJrEdWaLVkLy5DyDI4M3Fq5RlEWXeF5CJkJ4T PZOlhY3glHlHDCJMvc+MFI/Ao6yGESI7afQii94jzNISxTu3MYbzqzVc/mqojua8ILFk fNmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=GLFVHrp4; 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 32si12155111plb.278.2019.03.19.08.26.13; Tue, 19 Mar 2019 08:26:28 -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=@gmx.net header.s=badeba3b8450 header.b=GLFVHrp4; 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 S1727851AbfCSPZS (ORCPT + 99 others); Tue, 19 Mar 2019 11:25:18 -0400 Received: from mout.gmx.net ([212.227.17.21]:49433 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727803AbfCSPZK (ORCPT ); Tue, 19 Mar 2019 11:25:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1553009088; bh=vNO7KDNNqcpkSNGHEUVtq/MYroMhBlPDJKFNSL2aYDA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=GLFVHrp4YrkqBHQgU2PcP/UXenliE/GO2k1KoZLupodCuZUzueoP5LKI4sp/YplI6 P1yEE+7U2TDcCmTnmibxh9RwvLW1Np9AAfNdwc2Sy6NIsmG2Ia/QmOpcKd966wPkco hvuFGn+ugCvdm65NCSA2kg9owx5rt5OuyA5rVpdo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([109.90.232.48]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lk81O-1gZwvi002E-00cCKB; Tue, 19 Mar 2019 16:24:48 +0100 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= To: linux-arm-kernel@lists.infradead.org Cc: Rob Herring , Mark Rutland , Shawn Guo , 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, =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Subject: [PATCH 5/5] ARM: dts: imx50: Fix the numbering of the I2C controllers Date: Tue, 19 Mar 2019 16:24:20 +0100 Message-Id: <20190319152421.16179-6-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190319152421.16179-1-j.neuschaefer@gmx.net> References: <20190319152421.16179-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:e3Ml0KWZ7zW46/BM0/+7mb6IExHETapNVdGmdG4MxkuGY3aUYhh 1fi3HU+7hr46EWAbSxD/uREV/vCCk5sMtCSvJ5YwHmU750Ktn6ZrXrA0CqDq1EG+AQiOByU hVqt2jYjWKEwcSPxz+pvuxeHONtiSNT4kvHI4gO/AFVKdHzlqWIXtzqvC5A6Whhg+hoPJX3 ++W0Vr2omGfqnu0j2AWjg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:FEBRrhRBonM=:05g6vchLlBZPpRHYVG5s6q BX88XuHZaCD0Dl4LEnBD14hpjDoJZwUiZKbcUQnbNbmGosg57FYsANqVw0v3Syrpe3xjR9NSq vQR+/afvGUPJZlAlAL/YAuntldxRAvFSDORvwB7qBCBLcwu4mrCUjidNOz7T2+8C3BR8YOUbD mhuNw65tTAl3UDddUU7yIFF77vvyslegOP95ruzekZFQjW9WO3uoMYoq0N3YKsYguZ4FuBFBB Vj2rZ2xDb1m6cZ+EfijSEnTJyp8kqZk4+xb0/b5cPh6JxU+el6oW/75vg5xNYZ7+ySHv2z3BT 5CBnyIUFvsfm2RemODtZ8GeJTxc3hG+HA8+sQU6RwAIElJPJzwV1m0hzuPJBJ2Vz7S/Wb4fQr LcNlzCShUfhlsZktXB+AGgOwo/de7+3EikQcEA1RvBYlAKrQn/dfPo94Rk/BW2LQBh3PtXs27 kwxJXixP75/8rQrDxcL8U4EUFQpWFkmtZzYlHVB3QGdCO65k8Qgh5bgLZixpjyUiPjXCHrglt AhYhjFTa3uCpbZ67NOHtYqLS4UvwoEO/fmyRwMay9DXyq8mFQmO/QkCpfcqh3cSt+x7CBrA1P rutKn5eQ+SQn85vdpsULoYiOWzwoyeS8SWe19KN9Myyrc0yuHIZ6E6cSNELw2i5vHWRpH75z6 eoKYgjXQayHMNrxr2LmBD7D/GNgEkPRz/dC7VL/4rF72ntg1GVcdE4hlDZhoFNAva8B9QzWAW 5UcPvxR/dyKtlzpAtvopiyvigciOxun+hJ5sWm0Rlyzc2nUMq4QWY09wxbsDSK0AEkCbQj+4p eUwlPmtIPDOWK6JRMe1wD0OQykBH18p+iHEG3CFg/s3ao+tt4Un4QvM+3yIYYoENRjEw6Kkwr ea8jZncnci1qXMq99qxI7IY4ZKT1WMSMY2qHPM/AbN3vJ7KNDP1+BZgMcQXExHppHbT44Gctu 9TPRn6oRl9A== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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=C3=A4fer =2D-- 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 =2D-- a/arch/arm/boot/dts/imx50.dtsi +++ b/arch/arm/boot/dts/imx50.dtsi @@ -26,6 +26,9 @@ gpio3 =3D &gpio4; gpio4 =3D &gpio5; gpio5 =3D &gpio6; + i2c0 =3D &i2c1; + i2c1 =3D &i2c2; + i2c2 =3D &i2c3; serial0 =3D &uart1; serial1 =3D &uart2; serial2 =3D &uart3; =2D- 2.20.1