Re: [PATCH 7/7] clocksource/drivers/integrator-ap: parse the chosen node

2019-09-11 Thread Claudiu.Beznea
On 11.09.2019 02:48, Linus Walleij wrote: > External E-Mail > > > On Tue, Sep 10, 2019 at 2:50 PM Claudiu Beznea > wrote: >> From: Alexandre Belloni >> >> The driver currently uses aliases to know whether the timer is the >> clocksource or the clockevent. > > OK maybe that wasn't the most e

Re: [PATCH 7/7] clocksource/drivers/integrator-ap: parse the chosen node

2019-09-10 Thread Linus Walleij
On Tue, Sep 10, 2019 at 2:50 PM Claudiu Beznea wrote: > From: Alexandre Belloni > > The driver currently uses aliases to know whether the timer is the > clocksource or the clockevent. OK maybe that wasn't the most elegant solution. > Add the /chosen/linux,clocksource and > /chosen/linux,clockev

[PATCH 7/7] clocksource/drivers/integrator-ap: parse the chosen node

2019-09-10 Thread Claudiu Beznea
From: Alexandre Belloni The driver currently uses aliases to know whether the timer is the clocksource or the clockevent. Add the /chosen/linux,clocksource and /chosen/linux,clockevent parsing while keeping backward compatibility. Signed-off-by: Alexandre Belloni Signed-off-by: Claudiu Beznea