forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'for-linus-20170510' of git://git.infradead.org/linux-mtd
Pull MTD updates from Brian Norris: "NAND, from Boris: - some minor fixes/improvements on existing drivers (fsmc, gpio, ifc, davinci, brcmnand, omap) - a huge cleanup/rework of the denali driver accompanied with core fixes/improvements to simplify the driver code - a complete rewrite of the atmel driver to support new DT bindings make future evolution easier - the addition of per-vendor detection/initialization steps to avoid extending the nand_ids table with more extended-id entries SPI NOR, from Cyrille: - fixes in the hisi, intel and Mediatek SPI controller drivers - fixes to some SPI flash memories not supporting the Chip Erase command. - add support to some new memory parts (Winbond, Macronix, Micron, ESMT). - add new driver for the STM32 QSPI controller And a few fixes for Gemini and Versatile platforms on physmap-of" * tag 'for-linus-20170510' of git://git.infradead.org/linux-mtd: (100 commits) MAINTAINERS: Update NAND subsystem git repositories mtd: nand: gpio: update binding mtd: nand: add ooblayout for old hamming layout mtd: oxnas_nand: Allocating more than necessary in probe() dt-bindings: mtd: Document the STM32 QSPI bindings mtd: mtk-nor: set controller's address width according to nor flash mtd: spi-nor: add driver for STM32 quad spi flash controller mtd: nand: brcmnand: Check flash #WP pin status before nand erase/program mtd: nand: davinci: add comment on NAND subpage write status on keystone mtd: nand: omap2: Fix partition creation via cmdline mtdparts mtd: nand: NULL terminate a of_device_id table mtd: nand: Fix a couple error codes mtd: nand: allow drivers to request minimum alignment for passed buffer mtd: nand: allocate aligned buffers if NAND_OWN_BUFFERS is unset mtd: nand: denali: allow to override revision number mtd: nand: denali_dt: use pdev instead of ofdev for platform_device mtd: nand: denali_dt: remove dma-mask DT property mtd: nand: denali: support 64bit capable DMA engine mtd: nand: denali_dt: enable HW_ECC_FIXUP for Altera SOCFPGA variant mtd: nand: denali: support HW_ECC_FIXUP capability ...
- Loading branch information
Showing
53 changed files
with
6,173 additions
and
3,834 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
* STMicroelectronics Quad Serial Peripheral Interface(QuadSPI) | ||
|
||
Required properties: | ||
- compatible: should be "st,stm32f469-qspi" | ||
- reg: the first contains the register location and length. | ||
the second contains the memory mapping address and length | ||
- reg-names: should contain the reg names "qspi" "qspi_mm" | ||
- interrupts: should contain the interrupt for the device | ||
- clocks: the phandle of the clock needed by the QSPI controller | ||
- A pinctrl must be defined to set pins in mode of operation for QSPI transfer | ||
|
||
Optional properties: | ||
- resets: must contain the phandle to the reset controller. | ||
|
||
A spi flash must be a child of the nor_flash node and could have some | ||
properties. Also see jedec,spi-nor.txt. | ||
|
||
Required properties: | ||
- reg: chip-Select number (QSPI controller may connect 2 nor flashes) | ||
- spi-max-frequency: max frequency of spi bus | ||
|
||
Optional property: | ||
- spi-rx-bus-width: see ../spi/spi-bus.txt for the description | ||
|
||
Example: | ||
|
||
qspi: spi@a0001000 { | ||
compatible = "st,stm32f469-qspi"; | ||
reg = <0xa0001000 0x1000>, <0x90000000 0x10000000>; | ||
reg-names = "qspi", "qspi_mm"; | ||
interrupts = <91>; | ||
resets = <&rcc STM32F4_AHB3_RESET(QSPI)>; | ||
clocks = <&rcc 0 STM32F4_AHB3_CLOCK(QSPI)>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_qspi0>; | ||
|
||
flash@0 { | ||
reg = <0>; | ||
spi-rx-bus-width = <4>; | ||
spi-max-frequency = <108000000>; | ||
... | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2274,7 +2274,7 @@ M: Wenyou Yang <[email protected]> | |
M: Josh Wu <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
F: drivers/mtd/nand/atmel_nand* | ||
F: drivers/mtd/nand/atmel/* | ||
|
||
ATMEL SDMMC DRIVER | ||
M: Ludovic Desroches <[email protected]> | ||
|
@@ -8376,12 +8376,12 @@ M: Brian Norris <[email protected]> | |
M: Boris Brezillon <[email protected]> | ||
M: Marek Vasut <[email protected]> | ||
M: Richard Weinberger <[email protected]> | ||
M: Cyrille Pitchen <cyrille.pitchen@atmel.com> | ||
M: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr> | ||
L: [email protected] | ||
W: http://www.linux-mtd.infradead.org/ | ||
Q: http://patchwork.ozlabs.org/project/linux-mtd/list/ | ||
T: git git://git.infradead.org/linux-mtd.git | ||
T: git git://git.infradead.org/l2-mtd.git | ||
T: git git://git.infradead.org/linux-mtd.git master | ||
T: git git://git.infradead.org/l2-mtd.git master | ||
S: Maintained | ||
F: Documentation/devicetree/bindings/mtd/ | ||
F: drivers/mtd/ | ||
|
@@ -8756,7 +8756,8 @@ R: Richard Weinberger <[email protected]> | |
L: [email protected] | ||
W: http://www.linux-mtd.infradead.org/ | ||
Q: http://patchwork.ozlabs.org/project/linux-mtd/list/ | ||
T: git git://github.com/linux-nand/linux.git | ||
T: git git://git.infradead.org/linux-mtd.git nand/fixes | ||
T: git git://git.infradead.org/l2-mtd.git nand/next | ||
S: Maintained | ||
F: drivers/mtd/nand/ | ||
F: include/linux/mtd/nand*.h | ||
|
@@ -12113,7 +12114,7 @@ S: Maintained | |
F: drivers/clk/spear/ | ||
|
||
SPI NOR SUBSYSTEM | ||
M: Cyrille Pitchen <cyrille.pitchen@atmel.com> | ||
M: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr> | ||
M: Marek Vasut <[email protected]> | ||
L: [email protected] | ||
W: http://www.linux-mtd.infradead.org/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.