From mboxrd@z Thu Jan 1 00:00:00 1970 From: santosh.shilimkar@ti.com (Santosh Shilimkar) Date: Wed, 18 Sep 2013 09:24:30 -0400 Subject: [PATCH] ARM: DRA7: realtime_counter: Add ratio registers for 20MHZ sys-clk frequency In-Reply-To: <1379503211-26229-1-git-send-email-r.sricharan@ti.com> References: <1379503211-26229-1-git-send-email-r.sricharan@ti.com> Message-ID: <5239A98E.3060908@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wednesday 18 September 2013 07:20 AM, Sricharan R wrote: > The real time counter also called master counter, is a free-running > counter. It produces the count used by the CPU local timer peripherals > in the MPU cluster. The timer counts at a rate of 6.144 MHz. > > The ratio registers are missing for a sys-clk of 20MHZ which is used > by DRA7 socs. So because of this, the counter was getting wrongly > programmed for a sys-clk of 38.4Mhz(default). So adding the ratio > registers for 20MHZ sys-clk. > > Cc: Santosh Shilimkar > Signed-off-by: Sricharan R > --- Acked-by: Santosh Shilimkar