Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752761AbaKJNNU (ORCPT ); Mon, 10 Nov 2014 08:13:20 -0500 Received: from mail.kapsi.fi ([217.30.184.167]:45508 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751928AbaKJNNQ (ORCPT ); Mon, 10 Nov 2014 08:13:16 -0500 From: Mikko Perttunen To: swarren@wwwdotorg.org, thierry.reding@gmail.com, gnurou@gmail.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, wni@nvidia.com, Mikko Perttunen Subject: [PATCH v4 REPOST 3/5] ARM: tegra124: Add I2C controller ids to device tree Date: Mon, 10 Nov 2014 15:12:15 +0200 Message-Id: <1415625137-4791-4-git-send-email-mikko.perttunen@kapsi.fi> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1415625137-4791-1-git-send-email-mikko.perttunen@kapsi.fi> References: <1415625137-4791-1-git-send-email-mikko.perttunen@kapsi.fi> X-SA-Exim-Connect-IP: 2001:708:30:12d0:beee:7bff:fe5b:f272 X-SA-Exim-Mail-From: mikko.perttunen@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mikko Perttunen I2C controller ids are required when programming hardware blocks that send messages to devices connected to an I2C bus, such as when the PMC sends a poweroff message to the PMIC. Add ids to all I2C controllers in Tegra124. Signed-off-by: Mikko Perttunen Reviewed-by: Wei Ni Tested-by: Wei Ni --- arch/arm/boot/dts/tegra124.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index 41f8b27..0f09e93 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi @@ -361,6 +361,7 @@ reset-names = "i2c"; dmas = <&apbdma 21>, <&apbdma 21>; dma-names = "rx", "tx"; + nvidia,controller-id = <0>; status = "disabled"; }; @@ -376,6 +377,7 @@ reset-names = "i2c"; dmas = <&apbdma 22>, <&apbdma 22>; dma-names = "rx", "tx"; + nvidia,controller-id = <1>; status = "disabled"; }; @@ -391,6 +393,7 @@ reset-names = "i2c"; dmas = <&apbdma 23>, <&apbdma 23>; dma-names = "rx", "tx"; + nvidia,controller-id = <2>; status = "disabled"; }; @@ -406,6 +409,7 @@ reset-names = "i2c"; dmas = <&apbdma 26>, <&apbdma 26>; dma-names = "rx", "tx"; + nvidia,controller-id = <3>; status = "disabled"; }; @@ -421,6 +425,7 @@ reset-names = "i2c"; dmas = <&apbdma 24>, <&apbdma 24>; dma-names = "rx", "tx"; + nvidia,controller-id = <4>; status = "disabled"; }; @@ -436,6 +441,7 @@ reset-names = "i2c"; dmas = <&apbdma 30>, <&apbdma 30>; dma-names = "rx", "tx"; + nvidia,controller-id = <5>; status = "disabled"; }; -- 2.1.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/