[PATCH] pwm: pxa: add device tree support to pwm driver

Mike Dunn mikedunn at newsguy.com
Thu Sep 5 12:07:50 EDT 2013


On 09/05/2013 08:34 AM, Marek Vasut wrote:
>>>

[...]


>>> compatbile=marvell,pxa25x-pwm , no ? The lowest CPU with the block.
>>
>> Unless I am missing something, the compatible string does not need to
>> replicate any of the existing platform_device_id names, so wouldn't
>> "marvell,pxa" be better?  Except for register mapping and the number of
>> units present on a particular pxa variant, the peripheral is software
>> compatible across all pxa processors.  Plus there is the problem of the
>> 'x' wildcard in "pxa25x-pwm".
> 
> So use pxa250 ?
> 
> My concern is once marvell comes up with PXA1048576 which will have a different 
> PWM unit, then what will be the name for this new one?


I see.  OK then, pxa250 it is.

Thanks Marek,
Mike




More information about the linux-arm-kernel mailing list