powerpc/qixis: add clock measurement registers
authorEd Swarthout <Ed.Swarthout@freescale.com>
Mon, 25 Mar 2013 07:40:09 +0000 (07:40 +0000)
committerAndy Fleming <afleming@freescale.com>
Fri, 24 May 2013 21:54:11 +0000 (16:54 -0500)
commit428ea86c646fd9b485bfb015cd6293e345e6bb3e
tree1e04c819590e93ddde96eba2f95deb6c41a82f93
parent1b294b7a932aa89c5991e8b200616934849dc3c6
powerpc/qixis: add clock measurement registers

QIXIS includes frequency measurement functions for each major processor
clock input. After reset (and after clocks are stable), QIXIS measures
the clocks against a reference frequency and stores the results in
CLK_FREQ registers. A base register supplies a multiplier which allows
directly obtaining the measured value, without requiring knowledge of
the target system or QIXIS core frequency.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
board/freescale/common/qixis.h