Thread (138 messages) flat view 138 messages, 14 authors, 2012-05-24
STALE5187d

[PATCH 6/8] arm: mach-armada: add support for Armada XP board with device tree

From: Ben Dooks <hidden>
Date: 2012-05-15 13:33:22

On 15/05/12 14:10, Lior Amsalem wrote:
quoted
quoted
+}
+
+static const char * const axp_dt_board_dt_compat[] = {
+	"marvell,axp-db",
+	NULL,
This is where the device support becomes confusing.

I would strongly advise on using "mrvl,mv78230" as the binding name. It isn't
as if you can't have multiple names associated with one binding.

Also, given how close they are, do we really need separate machine support
files?
The problem with 78230 is that it's only one flavor of the AXP family which
includes 78230, 78260 and 78460 resulting different core count, L2 size, DRAM bandwidth, etc.
The number of cores is discoverable from the cpu scu and the
rest should either be encoded into the device-tree as either
specific device names or node properties.

I would try and involve the _minimum_ number of additions to get
the system up and running.

-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help