Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753835AbdCGJYd (ORCPT ); Tue, 7 Mar 2017 04:24:33 -0500 Received: from smtpfb1-g21.free.fr ([212.27.42.9]:40866 "EHLO smtpfb1-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751443AbdCGJXR (ORCPT ); Tue, 7 Mar 2017 04:23:17 -0500 From: Alban To: linux-kernel@vger.kernel.org Cc: Srinivas Kandagatla , Maxime Ripard , Rob Herring , Mark Rutland , David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Cyrille Pitchen , devicetree@vger.kernel.org, linux-mtd@lists.infradead.org, Moritz Fischer , Alban Subject: [PATCH v2 0/2] mtd: Add support for reading MTD devices via the nvmem API Date: Tue, 7 Mar 2017 09:26:02 +0100 Message-Id: <1488875164-30440-1-git-send-email-albeu@free.fr> 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 Content-Length: 1369 Lines: 32 Hi all, First thanks to everybody for the feedback on the first series, I implemented most of the suggestions in this new version. The biggest change is to directly integrate in the MTD core instead of using notifiers which allow us to simplify the code quiet a bit. During the discussion 2 points showed up, reworking the NVMEM binding and improving the MTD notifiers. Both are good points but not relevant for this series, so I left that out for another time. The NVMEM device ID bug fix found in the first series has already been applied so I didn't include it again. Alban (2): doc: bindings: Add bindings documentation for mtd nvmem mtd: Add support for reading MTD devices via the nvmem API .../devicetree/bindings/nvmem/mtd-nvmem.txt | 33 ++++++++++ drivers/mtd/Kconfig | 9 +++ drivers/mtd/Makefile | 1 + drivers/mtd/mtdcore.c | 13 ++++ drivers/mtd/mtdnvmem.c | 72 ++++++++++++++++++++++ drivers/mtd/mtdnvmem.h | 25 ++++++++ include/linux/mtd/mtd.h | 4 ++ 7 files changed, 157 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/mtd-nvmem.txt create mode 100644 drivers/mtd/mtdnvmem.c create mode 100644 drivers/mtd/mtdnvmem.h -- 2.7.4