[PATCH 6/6] clocksource: update and move armada-370-xp-timer documentation to timer directory
gregory.clement at free-electrons.com
Mon Jan 21 17:05:45 EST 2013
On 01/21/2013 07:22 PM, Arnd Bergmann wrote:
> On Monday 21 January 2013, Gregory CLEMENT wrote:
>> +Required properties:
>> +- compatible: Should be "marvell,armada-370-xp-timer"
>> +- interrupts: Should contain the list of Global Timer interrupts and
>> + then local timer interrupts
>> +- reg: Should contain location and length for timers register. First
>> + pair for the Global Timer registers, second pair for the
>> + local/private timers.
>> +- clocks: clock driving the timer hardware
>> +Optional properties:
>> +- marvell,timer-25Mhz: Tells whether the Global timer supports the 25
>> + Mhz fixed mode (available on Armada XP and not on Armada 370)
> This works fine, but I would consider it slightly cleaner to kill
> the marvell,timer-25Mhz property and instead have separate
> marvell,armada-370-timer and marvell,armada-xp-timer compatible
> strings, since the two timers are actually different, rather than wired
Hum, I am not sure they are different. From my point of view it is the same IP,
but the one on Armada XP can use a 25MHz fix source clock. Apart from this,
all the registers are the same. Moreover currently with this property we still have
the possibility to not use the 25MHz clock source on Armada XP which is totally valid.
The use of this source clock is not mandatory for the Armada XP SoCs.
For now I prefer to keep this property.
More information about the linux-arm-kernel