[PATCH 1/2] ARM: dts: bcm5301x: Add TWD WD Support to DT

Jon Mason jon.mason at broadcom.com
Tue Feb 28 12:46:50 PST 2017


On Tue, Feb 28, 2017 at 3:43 PM, Rafał Miłecki <zajec5 at gmail.com> wrote:
> On 28 February 2017 at 21:31, Jon Mason <jon.mason at broadcom.com> wrote:
>> @@ -70,10 +70,19 @@
>>                         clocks = <&periph_clk>;
>>                 };
>>
>> -               local-timer at 20600 {
>> +               timer at 20600 {
>
> Is there a reason for this rename? I don't really have preference for
> any name, it's just we shouldn't keep renaming this depending of
> personal preferences.
>
> It also doesn't seem like adjusting to any schema:
> bcm63138.dtsi uses local-timer at 1e600
> bcm-nsp.dtsi uses twd-timer at 20600
> berlin2cd.dtsi uses local-timer at ad0600
> berlin2.dtsi uses local-timer at ad0600
> berlin2q.dtsi uses local-timer at ad0600

This was a suggestion from Sergei Shtylyov
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/395160.html


>
>>                         compatible = "arm,cortex-a9-twd-timer";
>> -                       reg = <0x20600 0x100>;
>> -                       interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>;
>> +                       reg = <0x20600 0x20>;
>> +                       interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
>> +                                                 IRQ_TYPE_LEVEL_HIGH)>;
>> +                       clocks = <&periph_clk>;
>> +               };
>
> The rest looks OK, thanks! :)
>
> --
> Rafał



More information about the linux-arm-kernel mailing list