All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mikko Perttunen <mperttunen@nvidia.com>
To: swarren@wwwdotorg.org, thierry.reding@gmail.com
Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-tegra@vger.kernel.org, wni@nvidia.com,
	Mikko Perttunen <mperttunen@nvidia.com>
Subject: [PATCH v2 3/5] ARM: tegra124: Add I2C controller ids to device tree
Date: Wed, 13 Aug 2014 15:41:23 +0300	[thread overview]
Message-ID: <1407933685-12404-4-git-send-email-mperttunen@nvidia.com> (raw)
In-Reply-To: <1407933685-12404-1-git-send-email-mperttunen@nvidia.com>

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 <mperttunen@nvidia.com>
---
 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 03916ef..a101960 100644
--- a/arch/arm/boot/dts/tegra124.dtsi
+++ b/arch/arm/boot/dts/tegra124.dtsi
@@ -289,6 +289,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 21>, <&apbdma 21>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <0>;
 		status = "disabled";
 	};
 
@@ -304,6 +305,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 22>, <&apbdma 22>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <1>;
 		status = "disabled";
 	};
 
@@ -319,6 +321,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 23>, <&apbdma 23>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <2>;
 		status = "disabled";
 	};
 
@@ -334,6 +337,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 26>, <&apbdma 26>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <3>;
 		status = "disabled";
 	};
 
@@ -349,6 +353,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 24>, <&apbdma 24>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <4>;
 		status = "disabled";
 	};
 
@@ -364,6 +369,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 30>, <&apbdma 30>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <5>;
 		status = "disabled";
 	};
 
-- 
1.8.1.5

WARNING: multiple messages have this Message-ID (diff)
From: Mikko Perttunen <mperttunen@nvidia.com>
To: <swarren@wwwdotorg.org>, <thierry.reding@gmail.com>
Cc: <linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-tegra@vger.kernel.org>, <wni@nvidia.com>,
	Mikko Perttunen <mperttunen@nvidia.com>
Subject: [PATCH v2 3/5] ARM: tegra124: Add I2C controller ids to device tree
Date: Wed, 13 Aug 2014 15:41:23 +0300	[thread overview]
Message-ID: <1407933685-12404-4-git-send-email-mperttunen@nvidia.com> (raw)
In-Reply-To: <1407933685-12404-1-git-send-email-mperttunen@nvidia.com>

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 <mperttunen@nvidia.com>
---
 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 03916ef..a101960 100644
--- a/arch/arm/boot/dts/tegra124.dtsi
+++ b/arch/arm/boot/dts/tegra124.dtsi
@@ -289,6 +289,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 21>, <&apbdma 21>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <0>;
 		status = "disabled";
 	};
 
@@ -304,6 +305,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 22>, <&apbdma 22>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <1>;
 		status = "disabled";
 	};
 
@@ -319,6 +321,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 23>, <&apbdma 23>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <2>;
 		status = "disabled";
 	};
 
@@ -334,6 +337,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 26>, <&apbdma 26>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <3>;
 		status = "disabled";
 	};
 
@@ -349,6 +353,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 24>, <&apbdma 24>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <4>;
 		status = "disabled";
 	};
 
@@ -364,6 +369,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 30>, <&apbdma 30>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <5>;
 		status = "disabled";
 	};
 
-- 
1.8.1.5


WARNING: multiple messages have this Message-ID (diff)
From: mperttunen@nvidia.com (Mikko Perttunen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/5] ARM: tegra124: Add I2C controller ids to device tree
Date: Wed, 13 Aug 2014 15:41:23 +0300	[thread overview]
Message-ID: <1407933685-12404-4-git-send-email-mperttunen@nvidia.com> (raw)
In-Reply-To: <1407933685-12404-1-git-send-email-mperttunen@nvidia.com>

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 <mperttunen@nvidia.com>
---
 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 03916ef..a101960 100644
--- a/arch/arm/boot/dts/tegra124.dtsi
+++ b/arch/arm/boot/dts/tegra124.dtsi
@@ -289,6 +289,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 21>, <&apbdma 21>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <0>;
 		status = "disabled";
 	};
 
@@ -304,6 +305,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 22>, <&apbdma 22>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <1>;
 		status = "disabled";
 	};
 
@@ -319,6 +321,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 23>, <&apbdma 23>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <2>;
 		status = "disabled";
 	};
 
@@ -334,6 +337,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 26>, <&apbdma 26>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <3>;
 		status = "disabled";
 	};
 
@@ -349,6 +353,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 24>, <&apbdma 24>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <4>;
 		status = "disabled";
 	};
 
@@ -364,6 +369,7 @@
 		reset-names = "i2c";
 		dmas = <&apbdma 30>, <&apbdma 30>;
 		dma-names = "rx", "tx";
+		nvidia,controller-id = <5>;
 		status = "disabled";
 	};
 
-- 
1.8.1.5

  parent reply	other threads:[~2014-08-13 12:41 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-13 12:41 [PATCH v2 0/5] Thermal reset support in PMC Mikko Perttunen
2014-08-13 12:41 ` Mikko Perttunen
2014-08-13 12:41 ` Mikko Perttunen
2014-08-13 12:41 ` [PATCH v2 1/5] of: Add descriptions of thermtrip properties to Tegra PMC bindings Mikko Perttunen
2014-08-13 12:41   ` Mikko Perttunen
2014-08-13 12:41   ` Mikko Perttunen
     [not found]   ` <1407933685-12404-2-git-send-email-mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-08-20 20:16     ` Stephen Warren
2014-08-20 20:16       ` Stephen Warren
2014-08-20 20:16       ` Stephen Warren
     [not found]       ` <53F50231.5010605-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-08-21  6:58         ` Thierry Reding
2014-08-21  6:58           ` Thierry Reding
2014-08-21  6:58           ` Thierry Reding
2014-08-21 15:38           ` Stephen Warren
2014-08-21 15:38             ` Stephen Warren
2014-08-21 15:38             ` Stephen Warren
     [not found]             ` <53F61275.9020508-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-08-21 16:53               ` Thierry Reding
2014-08-21 16:53                 ` Thierry Reding
2014-08-21 16:53                 ` Thierry Reding
2014-08-21 17:54                 ` Stephen Warren
2014-08-21 17:54                   ` Stephen Warren
2014-08-21 17:54                   ` Stephen Warren
     [not found]                   ` <53F6326F.2050600-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-09-05  9:50                     ` Mikko Perttunen
2014-09-05  9:50                       ` Mikko Perttunen
2014-09-05  9:50                       ` Mikko Perttunen
     [not found]                       ` <5409875E.2080607-/1wQRMveznE@public.gmane.org>
2014-09-05 18:48                         ` Stephen Warren
2014-09-05 18:48                           ` Stephen Warren
2014-09-05 18:48                           ` Stephen Warren
2014-08-20 20:22     ` Stephen Warren
2014-08-20 20:22       ` Stephen Warren
2014-08-20 20:22       ` Stephen Warren
2014-08-13 12:41 ` [PATCH v2 2/5] of: Add nvidia,controller-id property to Tegra I2C bindings Mikko Perttunen
2014-08-13 12:41   ` [PATCH v2 2/5] of: Add nvidia, controller-id " Mikko Perttunen
2014-08-13 12:41   ` [PATCH v2 2/5] of: Add nvidia,controller-id " Mikko Perttunen
     [not found]   ` <1407933685-12404-3-git-send-email-mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-08-20 20:19     ` Stephen Warren
2014-08-20 20:19       ` Stephen Warren
2014-08-20 20:19       ` Stephen Warren
     [not found]       ` <53F502D7.9030403-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-08-21  7:05         ` Thierry Reding
2014-08-21  7:05           ` Thierry Reding
2014-08-21  7:05           ` Thierry Reding
2014-08-21 15:41           ` Stephen Warren
2014-08-21 15:41             ` Stephen Warren
2014-08-13 12:41 ` Mikko Perttunen [this message]
2014-08-13 12:41   ` [PATCH v2 3/5] ARM: tegra124: Add I2C controller ids to device tree Mikko Perttunen
2014-08-13 12:41   ` Mikko Perttunen
2014-08-13 12:41 ` [PATCH v2 4/5] ARM: tegra: Add PMC thermtrip programming to Jetson TK1 " Mikko Perttunen
2014-08-13 12:41   ` Mikko Perttunen
2014-08-13 12:41   ` Mikko Perttunen
2014-08-13 12:41 ` [PATCH v2 5/5] ARM: tegra: Add thermal reset (thermtrip) support to PMC Mikko Perttunen
2014-08-13 12:41   ` Mikko Perttunen
2014-08-13 12:41   ` Mikko Perttunen
     [not found]   ` <1407933685-12404-6-git-send-email-mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-08-20 20:25     ` Stephen Warren
2014-08-20 20:25       ` Stephen Warren
2014-08-20 20:25       ` Stephen Warren
     [not found]       ` <53F5042A.7020603-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-08-21 13:11         ` Mikko Perttunen
2014-08-21 13:11           ` Mikko Perttunen
2014-08-21 13:11           ` Mikko Perttunen
     [not found]           ` <53F5F019.10308-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-08-21 15:40             ` Stephen Warren
2014-08-21 15:40               ` Stephen Warren
2014-08-21 15:40               ` Stephen Warren
     [not found]               ` <53F612D2.8020803-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-08-22 12:55                 ` Mikko Perttunen
2014-08-22 12:55                   ` Mikko Perttunen
2014-08-22 12:55                   ` Mikko Perttunen
     [not found] ` <1407933685-12404-1-git-send-email-mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-08-14 11:26   ` [PATCH v2 0/5] Thermal reset support in PMC Wei Ni
2014-08-14 11:26     ` Wei Ni
2014-08-14 11:26     ` Wei Ni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1407933685-12404-4-git-send-email-mperttunen@nvidia.com \
    --to=mperttunen@nvidia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=swarren@wwwdotorg.org \
    --cc=thierry.reding@gmail.com \
    --cc=wni@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.