From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757293Ab3K2M1Q (ORCPT ); Fri, 29 Nov 2013 07:27:16 -0500 Received: from mail-yh0-f49.google.com ([209.85.213.49]:43689 "EHLO mail-yh0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756385Ab3K2M1N (ORCPT ); Fri, 29 Nov 2013 07:27:13 -0500 From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dwmw2@infradead.org Cc: linus.walleij@linaro.org, linux-mtd@lists.infradead.org, angus.clark@st.com Subject: [PATCH v3 00/36] mtd: st_spi_fsm: Add new driver Date: Fri, 29 Nov 2013 12:18:49 +0000 Message-Id: <1385727565-25794-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Version 3: Okay, this thing should be fully functional now. Identify a chip based on it's JEDEC ID, Read, Write, Erase (all or by sector). Support for various chip quirks added too. Version 2: The first bunch of these patches have been on the MLs before, but didn't receive a great deal of attention for the most part. We are a little more featureful this time however. We can now successfully setup and configure the N25Q256. We still can't read/write/erase it though. I'll start work on that next week and will provide it in the next instalment. Version 1: First stab at getting this thing Mainlined. It doesn't do a great deal yet, but we are able to initialise the device and dynamically set it up correctly based on an extracted JEDEC ID. Documentation/devicetree/bindings/mtd/st-fsm.txt | 26 ++ arch/arm/boot/dts/stih416-b2105.dts | 14 + arch/arm/boot/dts/stih416-pinctrl.dtsi | 12 + drivers/mtd/devices/Kconfig | 7 + drivers/mtd/devices/Makefile | 1 + drivers/mtd/devices/serial_flash_cmds.h | 91 +++++++ drivers/mtd/devices/st_spi_fsm.c | 1715 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/mtd/devices/st_spi_fsm.h | 456 +++++++++++++++++++++++++++++++ 8 files changed, 2322 insertions(+)