From patchwork Tue Mar 19 15:24:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 10859787 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B46C21708 for ; Tue, 19 Mar 2019 15:25:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AF1429763 for ; Tue, 19 Mar 2019 15:25:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98F192976C; Tue, 19 Mar 2019 15:25:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 56F1929763 for ; Tue, 19 Mar 2019 15:25:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4uF30hKBwxTjJfjdLdhLfDDEopV3heb/kyzow0RncZw=; b=JBURGlfcc2j0iQ 3Vf70+oyA5To5j/mslIHPluq9sAvxOjEfBTCgohPOR1I3dp81buNgrG0W+7p5zd+jJqsJ3HIG2B1C 8RY+rzDfSmOmfLVHSIZcoND5uI/C0rWZkGKMQG+oUiIzDypfyJHyAF3JxWjji54hqdW+8PQmfjvj2 tffDP8S3NRQj+qu14ajQnhJ+Lr3/qua0vpLHCNzaTzSnK4EzTdHxd6ILnbbG11RXWMgQh3J6LUTiP qSLr5NovORFmKcVL1gGQsfDzQoXeqt43ZhDW+6eUUSLdasPkMDpdzzgH1b1rmG46W0smzzVLhsze6 QDFssfHliWe45OgLop+g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Gcj-0003lJ-Tu; Tue, 19 Mar 2019 15:25:53 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Gbq-0001UV-4B for linux-arm-kernel@lists.infradead.org; Tue, 19 Mar 2019 15:25:06 +0000 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_Neusch=C3=A4fer?= To: linux-arm-kernel@lists.infradead.org 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 X-Provags-ID: V03:K1:e3Ml0KWZ7zW46/BM0/+7mb6IExHETapNVdGmdG4MxkuGY3aUYhh 1fi3HU+7hr46EWAbSxD/uREV/vCCk5sMtCSvJ5YwHmU750Ktn6ZrXrA0CqDq1EG+AQiOByU hVqt2jYjWKEwcSPxz+pvuxeHONtiSNT4kvHI4gO/AFVKdHzlqWIXtzqvC5A6Whhg+hoPJX3 ++W0Vr2omGfqnu0j2AWjg== 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190319_082458_998821_C3049D39 X-CRM114-Status: GOOD ( 10.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Heiko Stuebner , Martin Blumenstingl , Shawn Guo , Sascha Hauer , Johan Hovold , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Manivannan Sadhasivam , =?utf-8?q?Jonatha?= =?utf-8?q?n_Neusch=C3=A4fer?= , Thierry Reding , Fabio Estevam , Kevin Hilman , Jagan Teki Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- arch/arm/boot/dts/imx50.dtsi | 3 +++ 1 file changed, 3 insertions(+) -- 2.20.1 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;