* Standby/resume and MTD driver in OMAP5910 CPU
@ 2007-06-08 12:38 Oleg Kechin
0 siblings, 0 replies; only message in thread
From: Oleg Kechin @ 2007-06-08 12:38 UTC (permalink / raw)
To: linux-pm
Hi
I run 2.6.20-rt8 kernel on board like innovator1510 (OMAP5910 cpu ARM925
v4)
In case to enter in standby mode board enter Deep Sleep mode cleanly,
and it is OK,
but in resume there is a problem.
(I use echo -n standby > /sys/power/state command)
When it wakes up, some times I get string:
omapflash.0: Waiting for chip to be ready timed out. Status 3068
Write of 68 bytes at 0x00945628 failed. returned -5, retlen 0
Not marking the space at 0x00945628 as dirty because the flash driver
returned retlen zero
Matter here is flash go to standby in one state, but return in another.
Mtd driver has functions
for such cases - suspend and resume (cfi_intelext_suspend() &
cfi_intelext_resume()),
but both of this functions are not calling in suspend/resume process.
I notice, that suspend/resume command are executed on elements that have
node state in /sys file system,
but mtd doesn't.
Can anyone help me?
PS. flash added like that:
static struct flash_platform_data innovator_flash_data = {
.map_name = "cfi_probe",
.width = 2,
.parts = innovator_partitions,
.nr_parts = ARRAY_SIZE(innovator_partitions),
};
static struct resource innovator_flash_resource = {
.start = OMAP_CS0_PHYS,
.end = OMAP_CS0_PHYS + SZ_32M - 1,
.flags = IORESOURCE_MEM,
};
static struct platform_device innovator_flash_device = {
.name = "omapflash",
.id = 0,
.dev = {
.platform_data = &innovator_flash_data,
},
.num_resources = 1,
.resource = &innovator_flash_resource,
}
Oleg Kechin
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-06-08 12:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-08 12:38 Standby/resume and MTD driver in OMAP5910 CPU Oleg Kechin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox