Skip to content

Commit

Permalink
powerpc/mpc5121: Add clock driver
Browse files Browse the repository at this point in the history
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: John Rigby <jrigby@freescale.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
John Rigby authored and Grant Likely committed Jul 12, 2008
1 parent 4df64c3 commit 137e959
Show file tree
Hide file tree
Showing 4 changed files with 732 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FRED=42
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 26
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/platforms/512x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ config PPC_MPC512x
bool
select FSL_SOC
select IPIC
select PPC_CLOCK
default n

config PPC_MPC5121
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/platforms/512x/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#
# Makefile for the Freescale PowerPC 512x linux kernel.
#
obj-y += clock.o
obj-$(CONFIG_MPC5121_ADS) += mpc5121_ads.o
Loading

0 comments on commit 137e959

Please sign in to comment.