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

Ben Dooks ben.dooks at codethink.co.uk
Tue May 15 09:33:22 EDT 2012


On 15/05/12 14:10, Lior Amsalem wrote:

>>> +}
>>> +
>>> +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



More information about the linux-arm-kernel mailing list