devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: dts: DRA7/AM4372: add l3_noc information
@ 2014-04-14 19:12 Nishanth Menon
  2014-04-14 19:12 ` [PATCH 1/2] ARM: dts: DRA7: Use dra7-l3-noc instead of omap4-l3-noc Nishanth Menon
  2014-04-14 19:12 ` [PATCH 2/2] ARM: dts: AM4372: add l3-noc information Nishanth Menon
  0 siblings, 2 replies; 3+ messages in thread
From: Nishanth Menon @ 2014-04-14 19:12 UTC (permalink / raw)
  To: Tony Lindgren, Benoît Cousson
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Sekhar Nori, Rajendra Nayak,
	Nishanth Menon

Patch series based on:
v3.15-rc1 tag.

Depends on series posted: http://marc.info/?l=linux-omap&m=139749383932575&w=2

DTS Patches is available here:
https://github.com/nmenon/linux-2.6-playground/commits/l3noc/dts-fixes

This just adds the dts information based on driver support provided.

Test log:
1: am43xx-epos:  Boot PASS: http://slexy.org/raw/s2pjavFUYd
2: DRA7xx-EVM:  Boot PASS: http://slexy.org/raw/s21pdAj0hU
3: pandaboard-es:  Boot PASS: http://slexy.org/raw/s21Hsq97mt
4:    sdp4430:  Boot PASS: http://slexy.org/raw/s2ZQJUqjrP
5: OMAP5432uEVM:  Boot PASS: http://slexy.org/raw/s2hNulLOuX

Afzal Mohammed (1):
  ARM: dts: AM4372: add l3-noc information

Rajendra Nayak (1):
  ARM: dts: DRA7: Use dra7-l3-noc instead of omap4-l3-noc

 arch/arm/boot/dts/am4372.dtsi |    6 +++++-
 arch/arm/boot/dts/dra7.dtsi   |    6 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] ARM: dts: DRA7: Use dra7-l3-noc instead of omap4-l3-noc
  2014-04-14 19:12 [PATCH 0/2] ARM: dts: DRA7/AM4372: add l3_noc information Nishanth Menon
@ 2014-04-14 19:12 ` Nishanth Menon
  2014-04-14 19:12 ` [PATCH 2/2] ARM: dts: AM4372: add l3-noc information Nishanth Menon
  1 sibling, 0 replies; 3+ messages in thread
From: Nishanth Menon @ 2014-04-14 19:12 UTC (permalink / raw)
  To: Tony Lindgren, Benoît Cousson
  Cc: devicetree, linux-arm-kernel, linux-omap, linux-kernel,
	Sekhar Nori, Rajendra Nayak, Nishanth Menon

From: Rajendra Nayak <ranayak@ti.com>

We have currently marked the DRA7 L3 as being compatible with
omap4-l3-noc This is not true considering the differences in data
involved.

Now that we have proper support for ti,dra7-l3-noc, add the clock
modules clk1 and clk3 (clk2 submodule will be handled by the driver)
and switch compatibility flag to use the proper data.

Signed-off-by: Rajendra Nayak <ranayak@ti.com>
[nm@ti.com: map up full address range]
Signed-off-by: Nishanth Menon <nm@ti.com>
---
 arch/arm/boot/dts/dra7.dtsi |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 1c0f8e1..c7222ca 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -99,13 +99,13 @@
 	 * hierarchy.
 	 */
 	ocp {
-		compatible = "ti,omap4-l3-noc", "simple-bus";
+		compatible = "ti,dra7-l3-noc", "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges;
 		ti,hwmods = "l3_main_1", "l3_main_2";
-		reg = <0x44000000 0x2000>,
-		      <0x44800000 0x3000>;
+		reg = <0x44000000 0x1000000>,
+		      <0x45000000 0x1000>;
 		interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] ARM: dts: AM4372: add l3-noc information
  2014-04-14 19:12 [PATCH 0/2] ARM: dts: DRA7/AM4372: add l3_noc information Nishanth Menon
  2014-04-14 19:12 ` [PATCH 1/2] ARM: dts: DRA7: Use dra7-l3-noc instead of omap4-l3-noc Nishanth Menon
@ 2014-04-14 19:12 ` Nishanth Menon
  1 sibling, 0 replies; 3+ messages in thread
From: Nishanth Menon @ 2014-04-14 19:12 UTC (permalink / raw)
  To: Tony Lindgren, Benoît Cousson
  Cc: devicetree, linux-arm-kernel, linux-omap, linux-kernel,
	Sekhar Nori, Rajendra Nayak, Nishanth Menon

From: Afzal Mohammed <afzal@ti.com>

AM4372 has two clk domains 100f and 200s. Provide register mapping,
interrupt information and compatibility flags associated with it.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
---
 arch/arm/boot/dts/am4372.dtsi |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index 36d523a..ef29037 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -67,11 +67,15 @@
 	};
 
 	ocp {
-		compatible = "simple-bus";
+		compatible = "ti,am4372-l3-noc", "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges;
 		ti,hwmods = "l3_main";
+		reg = <0x44000000 0x400000
+		       0x44800000 0x400000>;
+		interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
 
 		prcm: prcm@44df0000 {
 			compatible = "ti,am4-prcm";
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-14 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-14 19:12 [PATCH 0/2] ARM: dts: DRA7/AM4372: add l3_noc information Nishanth Menon
2014-04-14 19:12 ` [PATCH 1/2] ARM: dts: DRA7: Use dra7-l3-noc instead of omap4-l3-noc Nishanth Menon
2014-04-14 19:12 ` [PATCH 2/2] ARM: dts: AM4372: add l3-noc information Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).