-
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-20141215' of git://git.infradead.org/linux-mtd
Pull MTD updates from Brian Norris: "Summary: - Add device tree support for DoC3 - SPI NOR: Refactoring, for better layering between spi-nor.c and its driver users (e.g., m25p80.c) New flash device support Support 6-byte ID strings - NAND: New NAND driver for Allwinner SoC's (sunxi) GPMI NAND: add support for raw (no ECC) access, for testing purposes Add ATO manufacturer ID A few odd driver fixes - MTD tests: Allow testers to compensate for OOB bitflips in oobtest Fix a torturetest regression - nandsim: Support longer ID byte strings And more" * tag 'for-linus-20141215' of git://git.infradead.org/linux-mtd: (63 commits) mtd: tests: abort torturetest on erase errors mtd: physmap_of: fix potential NULL dereference mtd: spi-nor: allow NULL as chip name and try to auto detect it mtd: nand: gpmi: add raw oob access functions mtd: nand: gpmi: add proper raw access support mtd: nand: gpmi: add gpmi_copy_bits function mtd: spi-nor: factor out write_enable() for erase commands mtd: spi-nor: add support for s25fl128s mtd: spi-nor: remove the jedec_id/ext_id mtd: spi-nor: add id/id_len for flash_info{} mtd: nand: correct the comment of function nand_block_isreserved() jffs2: Drop bogus if in comment mtd: atmel_nand: replace memcpy32_toio/memcpy32_fromio with memcpy mtd: cafe_nand: drop duplicate .write_page implementation mtd: m25p80: Add support for serial flash Spansion S25FL132K MTD: m25p80: fix inconsistency in m25p_ids compared to spi_nor_ids mtd: spi-nor: improve wait-till-ready timeout loop mtd: delete unnecessary checks before two function calls mtd: nand: omap: Fix NAND enumeration on 3430 LDP mtd: nand: add ATO manufacturer info ...
- Loading branch information
Showing
42 changed files
with
2,414 additions
and
472 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
M-Systems and Sandisk DiskOnChip devices | ||
|
||
M-System DiskOnChip G3 | ||
====================== | ||
The Sandisk (formerly M-Systems) docg3 is a nand device of 64M to 256MB. | ||
|
||
Required properties: | ||
- compatible: should be "m-systems,diskonchip-g3" | ||
- reg: register base and size | ||
|
||
Example: | ||
docg3: flash@0 { | ||
compatible = "m-systems,diskonchip-g3"; | ||
reg = <0x0 0x2000>; | ||
}; |
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,45 @@ | ||
Allwinner NAND Flash Controller (NFC) | ||
|
||
Required properties: | ||
- compatible : "allwinner,sun4i-a10-nand". | ||
- reg : shall contain registers location and length for data and reg. | ||
- interrupts : shall define the nand controller interrupt. | ||
- #address-cells: shall be set to 1. Encode the nand CS. | ||
- #size-cells : shall be set to 0. | ||
- clocks : shall reference nand controller clocks. | ||
- clock-names : nand controller internal clock names. Shall contain : | ||
* "ahb" : AHB gating clock | ||
* "mod" : nand controller clock | ||
|
||
Optional children nodes: | ||
Children nodes represent the available nand chips. | ||
|
||
Optional properties: | ||
- allwinner,rb : shall contain the native Ready/Busy ids. | ||
or | ||
- rb-gpios : shall contain the gpios used as R/B pins. | ||
- nand-ecc-mode : one of the supported ECC modes ("hw", "hw_syndrome", "soft", | ||
"soft_bch" or "none") | ||
|
||
see Documentation/devicetree/mtd/nand.txt for generic bindings. | ||
|
||
|
||
Examples: | ||
nfc: nand@01c03000 { | ||
compatible = "allwinner,sun4i-a10-nand"; | ||
reg = <0x01c03000 0x1000>; | ||
interrupts = <0 37 1>; | ||
clocks = <&ahb_gates 13>, <&nand_clk>; | ||
clock-names = "ahb", "mod"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&nand_pins_a &nand_cs0_pins_a &nand_rb0_pins_a>; | ||
status = "okay"; | ||
|
||
nand@0 { | ||
reg = <0>; | ||
allwinner,rb = <0>; | ||
nand-ecc-mode = "soft_bch"; | ||
}; | ||
}; |
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.