Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1327345 > unrolled thread
| Started by | Li Yang <leoli@freescale.com> |
|---|---|
| First post | 2016-02-05 00:30 +0100 |
| Last post | 2016-02-05 00:30 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH][v2] drivers/memory: Add deep sleep support for IFC Li Yang <leoli@freescale.com> - 2016-02-05 00:30 +0100
| From | Li Yang <leoli@freescale.com> |
|---|---|
| Date | 2016-02-05 00:30 +0100 |
| Subject | Re: [PATCH][v2] drivers/memory: Add deep sleep support for IFC |
| Message-ID | <qYBvz-qs-1@gated-at.bofh.it> |
On Fri, Jan 8, 2016 at 5:18 AM, Raghav Dogra <raghav@freescale.com> wrote:
> Add support of suspend, resume function to support deep sleep.
> Also make sure of SRAM initialization during resume.
>
> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
> Signed-off-by: Raghav Dogra <raghav@freescale.com>
> ---
> Changes for v2: Copying only the correct registers while resume.
> Based on git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux.git
> branch "next"
>
> drivers/memory/fsl_ifc.c | 163 +++++++++++++++++++++++++++++++++++++++++++++++
> include/linux/fsl_ifc.h | 6 ++
> 2 files changed, 169 insertions(+)
>
{snip}
> + ifc_out32(ncfgr | IFC_NAND_SRAM_INIT_EN,
> + &ifc->ifc_nand.ncfgr);
> + /* wait for SRAM_INIT bit to be clear or timeout */
> + status = spin_event_timeout(
This spin_event_timeout() API is only defined by powerpc and is not
supposed to be used in a generic driver. How did you pass the build
on arm/arm64?
Regards,
Leo
Back to top | Article view | linux.kernel
csiph-web