From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932808AbcI3JNC (ORCPT ); Fri, 30 Sep 2016 05:13:02 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:58287 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752521AbcI3JMy (ORCPT ); Fri, 30 Sep 2016 05:12:54 -0400 From: linshunquan 00354166 To: , , , , CC: , , , , , , , , , , , , , , linshunquan 00354166 Subject: [PATCH 0/2] Add the HiSilicon Flash Memory Controller driver Date: Fri, 30 Sep 2016 16:59:29 +0800 Message-ID: <1475225971-30152-1-git-send-email-linshunquan1@hisilicon.com> X-Mailer: git-send-email 2.3.7 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.212.210] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Brief: The HiSilicon Flash Memory Controller(FMC) is feature-rich that supports 3 interfaces: SPI Nor, SPI Nand and Parallel Nand, choosed by the different chipselect and boot media of board, these sub-controllers share the same register block. The transmission protocol of each interface is different depends on their own framework. The HiSilicon Spi Nor framework you can refer to: drivers/mtd/spi-nor/hisi-sfc.c Documentation/devicetree/bindings/mtd/hisilicon,fmc-spi-nor.txt Shunquan Lin (2): mfd: Add HiSilicon Flash Memory Controller(FMC) driver mtd: spi nor: gets resource from HiSilicon Flash Memory Controller driver .../devicetree/bindings/mfd/hisilicon,hisi-fmc.txt | 62 ++++++++++++ drivers/mfd/Kconfig | 10 ++ drivers/mfd/Makefile | 1 + drivers/mfd/hisi_fmc.c | 109 +++++++++++++++++++++ drivers/mtd/spi-nor/hisi-sfc.c | 86 ++-------------- include/linux/mfd/hisi_fmc.h | 92 +++++++++++++++++ 6 files changed, 280 insertions(+), 80 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/hisilicon,hisi-fmc.txt create mode 100644 drivers/mfd/hisi_fmc.c create mode 100644 include/linux/mfd/hisi_fmc.h -- 2.3.7