Re: [PATCH 3/3] ARM: dts: NSP: Add PWM Support to DT

From: Yendapally Reddy Dhananjaya Reddy
Date: Wed Mar 02 2016 - 09:52:10 EST


On Wed, Mar 2, 2016 at 1:55 AM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> On Tuesday 01 March 2016 12:42:49 Yendapally Reddy Dhananjaya Reddy wrote:
>> };
>>
>> + pwm: pwm@31000 {
>> + compatible = "brcm,iproc-pwm";
>> + reg = <0x31000 0x28>;
>> + clocks = <&osc>;
>> + #pwm-cells = >;
>> + status = "disabled";
>> + };
>>
>
> Should this also list "brcm,kona-pwm" as compatible? From patch
> 1, it sounds like that was the original one.

Arnd,

The NSP is a iProc based SoC and the pwm controller register offsets are
slightly differ with the kona pwm controller. The compatible will be either
"brcm,kona-pwm" or "brcm,iproc-pwm".

>
> Arnd

Regards
Dhananjay