From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754619AbdBTRAG (ORCPT ); Mon, 20 Feb 2017 12:00:06 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:60206 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752520AbdBTQ4V (ORCPT ); Mon, 20 Feb 2017 11:56:21 -0500 From: Boris Brezillon To: Nicolas Ferre , Alexandre Belloni Cc: linux-arm-kernel@lists.infradead.org, Samuel Ortiz , Lee Jones , linux-kernel@vger.kernel.org, Boris Brezillon Subject: [PATCH 0/7] memory: atmel-ebi: Add PM ops Date: Mon, 20 Feb 2017 17:54:54 +0100 Message-Id: <1487609701-10300-1-git-send-email-boris.brezillon@free-electrons.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This patchset adds a ->resume() hook to the EBI driver, but a few more changes were required in order to easily implement this PM hook. Patches 1 to 5 are just cleanup patches to simplify the EBI driver. Patch 6 is fixing a bug in the EBI driver. Note that this bug has no consequences until we start implementing the ->resume() hook. And finally, patch 7 is implementing ->resume() so that the SMC config is correctly restored when resuming the system. This patchset depends on [1] which is removing the unused pata_at91 driver, which in turn prevents us from patching it before dropping the old SMC macro definitions in patch 4. Regards, Boris [1]http://lkml.iu.edu/hypermail/linux/kernel/1702.2/00990.html Boris Brezillon (7): mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation memory: atmel-ebi: Simplify SMC config code memory: atmel-ebi: Stop using reg_field objects for simple things mfd: syscon: atmel-smc: Remove unused helpers/macros memory: atmel-ebi: Change naming scheme memory: atmel-ebi: Add missing ->numcs assignment memory: atmel-ebi: Add PM ops drivers/memory/atmel-ebi.c | 583 ++++++++++++----------------------- include/linux/mfd/syscon/atmel-smc.h | 456 +++++++++++++++++++-------- 2 files changed, 532 insertions(+), 507 deletions(-) -- 2.7.4