07 Jan, 2012
1 commit
-
Following should be fixed in your driver-core/driver-core-next.
From: Kukjin Kim
Signed-off-by: Greg Kroah-Hartman
22 Dec, 2011
1 commit
-
After all sysdev classes are ported to regular driver core entities, the
sysdev implementation will be entirely removed from the kernel.Cc: Kukjin Kim
Cc: Russell King
Cc: Ben Dooks
Cc: Vinod Koul
Cc: Boojin Kim
Cc: Linus Walleij
Cc: Lucas De Marchi
Cc: Heiko Stuebner
Signed-off-by: Kay Sievers
Signed-off-by: Greg Kroah-Hartman
25 Apr, 2011
1 commit
-
Replace sysdev classes and struct sys_device objects used for "core"
power management by Samsung platforms with struct syscore_ops objects
that are simpler.This generally reduces the code size and the kernel memory footprint.
It also is necessary for removing sysdevs entirely from the kernel in
the future.Signed-off-by: Rafael J. Wysocki
Acked-by: Greg Kroah-Hartman
Acked-by: Kukjin Kim
12 May, 2010
2 commits
-
According to datasheet GPG13-15 must be configured as input in NAND
boot mode, otherwise device will not be able to wake upSigned-off-by: Vasily Khoruzhick
Signed-off-by: Ben Dooks -
Signed-off-by: Vasily Khoruzhick
Signed-off-by: Ben Dooks
31 Jul, 2009
1 commit
-
Add a sysdev S3C2410A sysdev to allow the differentiation
of the S3C2410A from the S3C2410. This is needed for the
CPUFREQ code to enable the extra features and update cpu
specific information.Signed-off-by: Ben Dooks
Signed-off-by: Ben Dooks
18 May, 2009
2 commits
-
Prepare to remove the large number of S3C2410_GPxn defines
by moving to S3C2410_GPx(n) in arch/arm.The following perl was used to change the files:
perl -pi~ -e 's/S3C2410_GP([A-Z])([0-9]+)([^_^0-9])/S3C2410_GP\1\(\2\)\3/g'
Signed-off-by: Ben Dooks
-
Move all the gpio functions out of as
this file is for defining the generic IO base addresses
for the kernel IO calls.Make a new header to take this and
include it via the chain from which is
what most of these files should be using (and will be
changed as soon as possible).Note, this does make minor changes to some drivers but
should not mess up any pending merges.CC: Richard Purdie
Acked-by: Mark Brown
CC: David Brownell
Signed-off-by: Ben Dooks
08 Mar, 2009
2 commits
-
Rename s3c2410_cpu_resume to s3c_cpu_resume and s3c2410_cpu_save to
s3c_cpu_save to remove the CPU specific naming of these functions
which are now in the generic PM code.Signed-off-by: Ben Dooks
-
Start moving the PM code by moving all the common support functions
to a common location in arch/arm/plat-s3c. With the move we rename
the functions from s3cxxx_ to s3c_ to fit the new location.Signed-off-by: Ben Dooks
15 Oct, 2008
1 commit
-
Conflicts:
arch/arm/mach-versatile/core.c
08 Oct, 2008
1 commit
-
First move of items out of include/asm-arm/plat-s3c* to their
new homes under arch/arm/plat-s3c/include/plat and
arch/arm/plat-s3c24xx/include/plat directories.Note, we have to create a dummy arch/arm/plat-s3c/Makefile to
allow us to add arch/arm/plat-s3c/include/plat to the path.Signed-off-by: Ben Dooks
06 Sep, 2008
1 commit
-
Signed-off-by: Russell King
07 Aug, 2008
2 commits
-
This just leaves include/asm-arm/plat-* to deal with.
Signed-off-by: Russell King
-
Remove includes of asm/hardware.h in addition to asm/arch/hardware.h.
Then, since asm/hardware.h only exists to include asm/arch/hardware.h,
update everything to directly include asm/arch/hardware.h and remove
asm/hardware.h.Signed-off-by: Russell King
12 Feb, 2007
1 commit
-
The following patch and script moves the arch/arm/mach-s3c2410
directory into arch/arm/plat-s3c24xx for the generic core code
and inti arch/arm/mach-s3c{cpu} for the cpu/machine support filesInclude directory include/asm-arm/plat-s3c24xx is added for the
core include files.Signed-off-by: Ben Dooks
Signed-off-by: Russell King
24 Jan, 2007
1 commit
-
The s3c2410_gpio_getcfg() currently returns
a value which is dependant on the GPIO no
passed in. Now we have more generic constants
it is sensible to use those as return codes
so that any function dealing with >1 GPIO
does not need to do it's own number processing.Since this function is only currently used in
pm.c, it is easy to fixup (and correct pm.c
to use the generic constants)Signed-off-by: Ben Dooks
Signed-off-by: Russell King
18 Dec, 2006
1 commit
-
Change the include/asm-arm/arch-s3c2410/regs-serial.h
platform data to use the prorper type (upf_t) for the
uart_flags.Fix all the other parts of arch/arm/mach-s3c2410 to
include and all other uses of
the include file.mach-rx3715.c:101:18: warning: incorrect type in initializer (different base types)
mach-rx3715.c:101:18: expected unsigned long [unsigned] uart_flags
mach-rx3715.c:101:18: got restricted unsigned int [usertype] [force]Signed-off-by: Ben Dooks
Signed-off-by: Russell King
25 Sep, 2006
4 commits
-
Clear both the EINT and INT status before
going to sleep, otherwise we may end up being
woken by something that was not set in our
wakeup map.Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
Remove the S3C2410 specific items out of the
core PM code. Add sysdev driver for all the
S3C24XX series that used the S3C2410 PM code.Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
Change to using flush_cache_all() in pm.c and
also remove the need to flush the cache in the
PM code.This changes the sleep.S code to have an entry
to store the registers for resume, and then a
second entry (after the caches are cleaned)
to do the suspend and resume.Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
Seperate the IRQ power management code out of
the pm.c file, and add it to the relevant
system class devices.Also make the suspend and resume code take
notice of the fact these registers can be
moved by compile time code.Add fix from Ilya Yanok to also save the
INTSUBMSK over sleep.Signed-off-by: Ben Dooks
Signed-off-by: Russell King
01 Jul, 2006
1 commit
-
Signed-off-by: Jörn Engel
Signed-off-by: Adrian Bunk
18 Jun, 2006
1 commit
-
Patch from Ben Dooks
If CONFIG_CPU_DCACHE_WRITETHOUGH is set, then the
S3C24XX PM code fails to compile, as there is no
need to flush the D-cache, the flush function
arm920_flush_kern_cache_all() is not compiled.Fix the code to not use this if the config is set.
Signed-off-by: Ben Dooks
Signed-off-by: Russell King
04 Sep, 2005
1 commit
-
Patch from Ben Dooks
The power management sleep code needs to call cpu_init()
to restore the cpu state after the system resumes from
suspend. Also clear off an un-necessary comment.
Thanks to Dimitry Andric for reporting the bug and
for rmk for pointing out the cause.Signed-off-by: Ben Dooks
Signed-off-by: Russell King
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!