From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bayi Cheng Subject: [PATCH v5 0/3] Mediatek SPI-NOR flash driver Date: Mon, 26 Oct 2015 21:40:36 +0800 Message-ID: <1445866839-31063-1-git-send-email-bayi.cheng@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: David Woodhouse , Brian Norris Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Matthias Brugger , Daniel Kurtz , Sascha Hauer , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, srv_heupstream-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, jteki-oRp2ZoJdM/RWk0Htik3J/w@public.gmane.org, ezequiel-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org List-Id: devicetree@vger.kernel.org This series is based on v4.3-rc1 and l2-mtd.git (git://git.infradead.org/l2-mtd.git) Change in v5: 1: add "status = "disable"" to device tree 2: add document "flash" node 3: fix some statement error in Kconfig file 4: fix alphabetical order error in makefile 5: delete the parament "mtd_info *mtd" in mt8173_nor structure 6: delete SPINOR_OP_WREN repeated calls 7: add mt8173_nor_do_tx & mt8173_nor_do_rx for them full potential 8: use a subnode to represent the flash Change in v4: 1: delete the parament "write_enable" for mt8173_nor_write_reg 2: fix the build warning for calling mt8173_nor_write_single_byte Change in v3: 1: use switch() to replace some if-else statement 2: use shifts to replace endianness statement 3: delete some unused macros 4: use auto-increment mechanism for single write 5: write address added to 32bytes Change in v2: 1. Rebase to 4.3-rc1 2. propagate error code 3. delete mux clock and axi clock in dts file 4. descripts more exactly for binding file 5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some functions witch were used once time Bayi Cheng (3): doc: dt: add documentation for Mediatek spi-nor controller mtd: mtk-nor: mtk serial flash controller driver arm64: dts: mt8173: Add nor flash node .../devicetree/bindings/mtd/mtk-quadspi.txt | 41 ++ arch/arm64/boot/dts/mediatek/mt8173.dtsi | 16 + drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 491 +++++++++++++++++++++ 5 files changed, 556 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/mtk-quadspi.txt create mode 100644 drivers/mtd/spi-nor/mtk-quadspi.c -- 1.8.1.1.dirty -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html