[POWERPC] Add common clock setting routine mpc52xx_psc_set_clkdiv()
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 25 Jan 2008 05:25:31 +0000 (22:25 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 26 Jan 2008 22:32:18 +0000 (15:32 -0700)
commitc8004a28186110657aa3e75135a6b96ebfa3e8f0
treeac199954acf7aa7b9ead9a427eaf51362dde0c23
parent94d2dde738a50124d1f1b1b40bd5b9d0ed22e2e2
[POWERPC] Add common clock setting routine mpc52xx_psc_set_clkdiv()

PSC drivers should not access the CDM registers directly.  Instead provide
a common routine for setting the PSC clock parameters with the required
locking.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/platforms/52xx/efika.c
arch/powerpc/platforms/52xx/lite5200.c
arch/powerpc/platforms/52xx/mpc5200_simple.c
arch/powerpc/platforms/52xx/mpc52xx_common.c
arch/ppc/syslib/mpc52xx_setup.c
include/asm-powerpc/mpc52xx.h