Re: update timer frequencies

2017-08-04 Thread Vineet Gupta
Hi Thomas, On 03/10/2017 03:58 PM, Thomas Gleixner wrote: Vlad, On Fri, 10 Mar 2017, Vlad Zakharov wrote: I am trying to implement a cpufreq driver for ARC CPUs. The point is that ARC timers (including those are used for timekeeping) are driven by the same clock as ARC CPU core(s). To be h

Re: update timer frequencies

2017-08-04 Thread Peter Zijlstra
On Fri, Aug 04, 2017 at 12:28:43PM +0530, Vineet Gupta wrote: > The hardware is being changed and I had a couple of questions to help do it > right: Awesome ;-) > 2. I'm not sure if the timer generating interrupts (periodic or oneshot) > needs to be fed invariant fixed clk or dynamic core clk.

[PATCH v2 2/2] ARC: DTS: Add device-tree for Anarion-based development board

2017-08-04 Thread Alexandru Gagniuc
Signed-off-by: Alexandru Gagniuc --- Changes since v1: * Updated CPU core clock to 24 MHz to match HW changes. arch/arc/boot/dts/adaptrum_anarion.dtsi | 108 arch/arc/boot/dts/adaptrum_anarion_fpga.dts | 49 + 2 files changed, 157 insertions(+) cre

[PATCH v2 1/2] ARC: [plat-anarion] Add early boot workarounds for Anarion SOC

2017-08-04 Thread Alexandru Gagniuc
An ARC, the interrupts are enabled globally, rather than per-line, as drivers request it. Thus, we need to make sure that peripherals don't generate any before the respective drivers are probed. The GMAC is infamous for spamming interrupts, so it must be kept in reset until the driver is probed and