[POWERPC] qe: add function qe_clock_source()
authorTimur Tabi <timur@freescale.com>
Mon, 3 Dec 2007 21:17:58 +0000 (15:17 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 14 Dec 2007 04:59:27 +0000 (22:59 -0600)
commit174b0da23199c4ae1ed06263dafd9a2e85e97d34
treeef7e30bbc2b22269e46a08ab17823e5d43e6974f
parent255b09eb26bc285be5aad5c5606e96093094c41a
[POWERPC] qe: add function qe_clock_source()

Add function qe_clock_source() which takes a string containing the name of a
QE clock source (as is typically found in device trees) and returns the
matching enum qe_clock value.

Update booting-without-of.txt to indicate that the UCC properties rx-clock
and tx-clock are deprecated and replaced with rx-clock-name and tx-clock-name,
which use strings instead of numbers to indicate QE clock sources.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Documentation/powerpc/booting-without-of.txt
arch/powerpc/sysdev/qe_lib/qe.c
include/asm-powerpc/qe.h