Commit b7557de4 authored by Richard Purdie's avatar Richard Purdie Committed by Russell King
Browse files

[ARM] 3228/1: SharpSL: Move PM code to arch/arm/common



Patch from Richard Purdie

This patch moves a large chunk of the sharpsl_pm driver to
arch/arm/common so that it can be reused on other devices such as the
SL-5500 (collie). It also abstracts some functions from the core into
the machine and platform specific parts of the driver to aid reuse.

Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 3125c68d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -23,5 +23,8 @@ config SHARP_LOCOMO
config SHARP_PARAM
	bool

config SHARPSL_PM
	bool

config SHARP_SCOOP
	bool
+1 −0
Original line number Diff line number Diff line
@@ -13,4 +13,5 @@ obj-$(CONFIG_DMABOUNCE) += dmabounce.o
obj-$(CONFIG_TIMER_ACORN)	+= time-acorn.o
obj-$(CONFIG_SHARP_LOCOMO)	+= locomo.o
obj-$(CONFIG_SHARP_PARAM)	+= sharpsl_param.o
obj-$(CONFIG_SHARPSL_PM)	+= sharpsl_pm.o
obj-$(CONFIG_SHARP_SCOOP)	+= scoop.o
+839 −0

File added.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Diff line number Diff line
@@ -112,12 +112,14 @@ config IWMMXT
config PXA_SHARP_C7xx
	bool
	select PXA_SSP
	select SHARPSL_PM
	help
	  Enable support for all Sharp C7xx models

config PXA_SHARP_Cxx00
	bool
	select PXA_SSP
	select SHARPSL_PM
	help
	  Enable common support for Sharp Cxx00 models

+25 −20

File changed.

Preview size limit exceeded, changes collapsed.

Loading