Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753061AbaAWKbk (ORCPT ); Thu, 23 Jan 2014 05:31:40 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:43185 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751790AbaAWKbi (ORCPT ); Thu, 23 Jan 2014 05:31:38 -0500 From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: linus.walleij@linaro.org, dwmw2@infradead.org, linux-mtd@lists.infradead.org, computersforpeace@gmail.com, Angus.Clark@st.com, DCG_UPD_stlinux_kernel@list.st.com, olivier.clergeaud@st.com Subject: [PATCH RESEND v4 00/37] mtd: st_spi_fsm: Add new driver Date: Thu, 23 Jan 2014 10:30:48 +0000 Message-Id: <1390473085-24626-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 4: Tended to Brian's review comments - Checkpatch acceptance - MODULE_DEVICE_TABLE() name slip correction - Timeout issue(s) resolved - Potential infinite loop mitigated - Code clarity suggests heeded - Duplication with MTD core code removed - Upgraded to using ROUND_UP() helper - Moved non-shared header code into main driver - Relocated dynamic msg sequence stores into main struct - Averted adaption of static (table) data - Basic whitespace/spelling/data type/dev_err suggestions applied 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 | 8 + drivers/mtd/devices/Makefile | 1 + drivers/mtd/devices/serial_flash_cmds.h | 81 ++++ drivers/mtd/devices/st_spi_fsm.c | 2124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 2266 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/