Commit 137e9590 authored by John Rigby's avatar John Rigby Committed by Grant Likely

powerpc/mpc5121: Add clock driver

Plugs into the generic powerpc clock driver in
arch/powerpc/kernel/clock.c

The following subset of clk_interface is implemented:
    clk_get, clk_put:  get clock via name, release clock
    clk_enable, clk_disable:  enable or disable clock
    clk_get_rate:  get clock rate in Hz
    clk_set_rate:  stubbed
    clk_round_rate:  stubbed
    clk_set_parent: NULL
    clk_get_parent: NULL
Signed-off-by: default avatarJohn Rigby <jrigby@freescale.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 4df64c3e
FRED=42
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 26
......
......@@ -2,6 +2,7 @@ config PPC_MPC512x
bool
select FSL_SOC
select IPIC
select PPC_CLOCK
default n
config PPC_MPC5121
......
#
# Makefile for the Freescale PowerPC 512x linux kernel.
#
obj-y += clock.o
obj-$(CONFIG_MPC5121_ADS) += mpc5121_ads.o
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment