Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1271829

[PATCH v8 0/2] Mediatek SPI-NOR flash driver

Path csiph.com!xmission!news.glorb.com!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From Bayi Cheng <bayi.cheng@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v8 0/2] Mediatek SPI-NOR flash driver
Date Wed, 18 Nov 2015 04:40:01 +0100
Message-ID <qw1Lb-5Jr-5@gated-at.bofh.it> (permalink)
X-Original-To David Woodhouse <dwmw2@infradead.org>, Brian Norris <computersforpeace@gmail.com>
X-Listener-Flag 11101
X-Mailer git-send-email 1.8.1.1.dirty
MIME-Version 1.0
Content-Type text/plain
X-Mtk N
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 74
Organization linux.* mail to news gateway
X-Original-Cc Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>, Mark Rutland <mark.rutland@arm.com>, Ian Campbell <ijc+devicetree@hellion.org.uk>, Kumar Gala <galak@codeaurora.org>, Matthias Brugger <matthias.bgg@gmail.com>, Daniel Kurtz <djkurtz@chromium.org>, Sascha Hauer <s.hauer@pengutronix.de>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-mediatek@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linux-mtd@lists.infradead.org>, <srv_heupstream@mediatek.com>, <jteki@openedev.com>, <ezequiel@vanguardiasur.com.ar>
X-Original-Date Wed, 18 Nov 2015 11:30:01 +0800
X-Original-Message-ID <1447817403-16631-1-git-send-email-bayi.cheng@mediatek.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1271829

Show key headers only | View raw


This series is based on v4.4-rc1 and l2-mtd.git [0] and erase_sector
implementation patch [1]

[0]: git://git.infradead.org/l2-mtd.git
[1]: http://lists.infradead.org/pipermail/linux-mtd/2015-October//062959.html

Change in v8:
1: rewrite the macro MTK_NOR_MAX_SHIFT from 6 to 7
2: add a new macro MTK_NOR_MAX_RX_TX_SHIFT for max len of TX&RX

Change in v7:
1: change PRGDATA3 to PRGDATA4 for quad mode
2: drop  PRGDATA3 for signal read mode
3: drop unnecessary partition parser data
4: convert mtd_device_parse_register to mtd_device_register
5: disable clocks on failure

Change in v6:
1: delete mt8173_nor_do_rx
2: delete mt8173_nor_do_rx
3: add mt8173_nor_do_tx_rx for general usage
4: support nor flash with 6 IDs
5: delete mt8173_nor_erase_sector and use "nor->erase_opcode"
6: add mt8173_nor_set_addr to programming the address register
7: initialize the ppdata in mtk_nor_init

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 (2):
  mtd: mtk-nor: mtk serial flash controller driver
  arm64: dts: mt8173: Add nor flash node

 arch/arm64/boot/dts/mediatek/mt8173.dtsi |  18 +-
 drivers/mtd/spi-nor/Kconfig              |   7 +
 drivers/mtd/spi-nor/Makefile             |   1 +
 drivers/mtd/spi-nor/mtk-quadspi.c        | 483 +++++++++++++++++++++++++++++++
 4 files changed, 508 insertions(+), 1 deletion(-)
 create mode 100644 drivers/mtd/spi-nor/mtk-quadspi.c

--
1.8.1.1.dirty

--
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/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH v8 0/2] Mediatek SPI-NOR flash driver  Bayi Cheng <bayi.cheng@mediatek.com> - 2015-11-18 04:40 +0100
  [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node Bayi Cheng <bayi.cheng@mediatek.com> - 2015-11-18 04:40 +0100
    Re: [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-11-25 12:00 +0100
      Re: [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node Matthias Brugger <matthias.bgg@gmail.com> - 2015-11-25 13:40 +0100
    Re: [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node Matthias Brugger <matthias.bgg@gmail.com> - 2015-11-25 12:00 +0100
    Re: [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node Daniel Kurtz <djkurtz@chromium.org> - 2015-11-26 02:30 +0100
      Re: [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node bayi cheng <bayi.cheng@mediatek.com> - 2015-11-26 03:50 +0100

csiph-web