Re: [PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-07-04 Thread Robert Jarzmik
Daniel Lezcano writes: >> Good question. >> >> Maybe not, I followed the same rationale as in orion-timer, which is : >> - as this timer is the only possible timer for PXA boards, and because >> without >> it the kernel boot will stall (scheduling will be blocked), it's better to >> panic

Re: [PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-07-04 Thread Daniel Lezcano
On 07/03/2014 07:31 PM, Robert Jarzmik wrote: Daniel Lezcano writes: -#include #include +#include Now as the driver is in 'drivers', do not reference the headers files in mach. Moving the driver to the drivers directory implies some cleanup with the headers dependencies. I don't see

Re: [PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-07-04 Thread Robert Jarzmik
Daniel Lezcano daniel.lezc...@linaro.org writes: Good question. Maybe not, I followed the same rationale as in orion-timer, which is : - as this timer is the only possible timer for PXA boards, and because without it the kernel boot will stall (scheduling will be blocked), it's better

Re: [PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-07-04 Thread Daniel Lezcano
On 07/03/2014 07:31 PM, Robert Jarzmik wrote: Daniel Lezcano daniel.lezc...@linaro.org writes: -#include mach/regs-ost.h #include mach/irqs.h +#include mach/hardware.h Now as the driver is in 'drivers', do not reference the headers files in mach. Moving the driver to the drivers directory

Re: [PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-07-03 Thread Robert Jarzmik
Robert Jarzmik writes: > Daniel Lezcano writes: > >>> -#include >>> #include >>> +#include >> >> Now as the driver is in 'drivers', do not reference the headers files in >> mach. Moving the driver to the drivers directory implies some cleanup with >> the >> headers dependencies. > I don't

Re: [PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-07-03 Thread Robert Jarzmik
Daniel Lezcano writes: >> -#include >> #include >> +#include > > Now as the driver is in 'drivers', do not reference the headers files in > mach. Moving the driver to the drivers directory implies some cleanup with the > headers dependencies. I don't see that very possible. Or said another

Re: [PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-07-03 Thread Daniel Lezcano
On 06/22/2014 12:09 AM, Robert Jarzmik wrote: Add device-tree support to PXA platforms. Signed-off-by: Robert Jarzmik --- drivers/clocksource/pxa_timer.c | 131 ++-- 1 file changed, 98 insertions(+), 33 deletions(-) diff --git

Re: [PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-07-03 Thread Daniel Lezcano
On 06/22/2014 12:09 AM, Robert Jarzmik wrote: Add device-tree support to PXA platforms. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/clocksource/pxa_timer.c | 131 ++-- 1 file changed, 98 insertions(+), 33 deletions(-) diff --git

Re: [PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-07-03 Thread Robert Jarzmik
Daniel Lezcano daniel.lezc...@linaro.org writes: -#include mach/regs-ost.h #include mach/irqs.h +#include mach/hardware.h Now as the driver is in 'drivers', do not reference the headers files in mach. Moving the driver to the drivers directory implies some cleanup with the headers

Re: [PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-07-03 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: Daniel Lezcano daniel.lezc...@linaro.org writes: -#include mach/regs-ost.h #include mach/irqs.h +#include mach/hardware.h Now as the driver is in 'drivers', do not reference the headers files in mach. Moving the driver to the drivers

[PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-06-21 Thread Robert Jarzmik
Add device-tree support to PXA platforms. Signed-off-by: Robert Jarzmik --- drivers/clocksource/pxa_timer.c | 131 ++-- 1 file changed, 98 insertions(+), 33 deletions(-) diff --git a/drivers/clocksource/pxa_timer.c b/drivers/clocksource/pxa_timer.c index

[PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-06-21 Thread Robert Jarzmik
Add device-tree support to PXA platforms. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/clocksource/pxa_timer.c | 131 ++-- 1 file changed, 98 insertions(+), 33 deletions(-) diff --git a/drivers/clocksource/pxa_timer.c