diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-18 11:01:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-18 11:01:44 -0500 |
commit | 402521b8f7cc1f4f442418cc98ec6e37388207b0 (patch) | |
tree | a2cb155ff909fc8e26e3e5ebd484577697f30d79 /Documentation/devicetree/bindings/mtd | |
parent | f5af19d10d151c5a2afae3306578f485c244db25 (diff) | |
parent | eb928d40a93f73dd5bdad62c2d363df296ff94ea (diff) |
Merge tag 'for-linus-20150216' of git://git.infradead.org/linux-mtd
Pull MTD updates from Brian Norris:
"NAND:
- Add new Hisilicon NAND driver for Hip04
- Add default reboot handler, to ensure all outstanding erase
transactions complete in time
- jz4740: convert to use GPIO descriptor API
- Atmel: add support for sama5d4
- Change default bitflip threshold to 75% of correction strength
- Miscellaneous cleanups and bugfixes
SPI NOR:
- Freescale QuadSPI:
- Fix a few probe() and remove() issues
- Add a MAINTAINERS entry for this driver
- Tweak transfer size to increase read performance
- Add suspend/resume support
- Add Micron quad I/O support
- ST FSM SPI: miscellaneous fixes
JFFS2:
- gracefully handle corrupted 'offset' field found on flash
Other:
- bcm47xxpart: add tweaks for a few new devices
- mtdconcat: set return lengths properly for mtd_write_oob()
- map_ram: enable use with mtdoops
- maps: support fallback to ROM/UBI for write-protected NOR flash"
* tag 'for-linus-20150216' of git://git.infradead.org/linux-mtd: (46 commits)
mtd: hisilicon: && vs & typo
jffs2: fix handling of corrupted summary length
mtd: hisilicon: add device tree binding documentation
mtd: hisilicon: add a new NAND controller driver for hisilicon hip04 Soc
mtd: avoid registering reboot notifier twice
mtd: concat: set the return lengths properly
mtd: kconfig: replace PPC_OF with PPC
mtd: denali: remove unnecessary stubs
mtd: nand: remove redundant local variable
MAINTAINERS: add maintainer entry for FREESCALE QUAD SPI driver
mtd: fsl-quadspi: improve read performance by increase AHB transfer size
mtd: fsl-quadspi: Remove unnecessary 'map_failed' label
mtd: fsl-quadspi: Remove unneeded success/error messages
mtd: fsl-quadspi: Fix the error paths
mtd: nand: omap: drop condition with no effect
mtd: nand: jz4740: Convert to GPIO descriptor API
mtd: nand: Request strength instead of bytes for soft BCH
mtd: nand: default bitflip-reporting threshold to 75% of correction strength
mtd: atmel_nand: introduce a new compatible string for sama5d4 chip
mtd: atmel_nand: return max bitflips in all sectors in pmecc_correction()
...
Diffstat (limited to 'Documentation/devicetree/bindings/mtd')
5 files changed, 55 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/mtd/atmel-nand.txt b/Documentation/devicetree/bindings/mtd/atmel-nand.txt index 1fe6dde98499..7d4c8eb775a5 100644 --- a/Documentation/devicetree/bindings/mtd/atmel-nand.txt +++ b/Documentation/devicetree/bindings/mtd/atmel-nand.txt | |||
@@ -1,7 +1,7 @@ | |||
1 | Atmel NAND flash | 1 | Atmel NAND flash |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "atmel,at91rm9200-nand". | 4 | - compatible : should be "atmel,at91rm9200-nand" or "atmel,sama5d4-nand". |
5 | - reg : should specify localbus address and size used for the chip, | 5 | - reg : should specify localbus address and size used for the chip, |
6 | and hardware ECC controller if available. | 6 | and hardware ECC controller if available. |
7 | If the hardware ECC is PMECC, it should contain address and size for | 7 | If the hardware ECC is PMECC, it should contain address and size for |
diff --git a/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt b/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt index 823d13412195..4461dc71cb10 100644 --- a/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt +++ b/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | |||
@@ -1,7 +1,7 @@ | |||
1 | * Freescale Quad Serial Peripheral Interface(QuadSPI) | 1 | * Freescale Quad Serial Peripheral Interface(QuadSPI) |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : Should be "fsl,vf610-qspi" | 4 | - compatible : Should be "fsl,vf610-qspi" or "fsl,imx6sx-qspi" |
5 | - reg : the first contains the register location and length, | 5 | - reg : the first contains the register location and length, |
6 | the second contains the memory mapping address and length | 6 | the second contains the memory mapping address and length |
7 | - reg-names: Should contain the reg names "QuadSPI" and "QuadSPI-memory" | 7 | - reg-names: Should contain the reg names "QuadSPI" and "QuadSPI-memory" |
diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt index a011fdf61dbf..d02acaff3c35 100644 --- a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt +++ b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt | |||
@@ -1,7 +1,7 @@ | |||
1 | * Freescale General-Purpose Media Interface (GPMI) | 1 | * Freescale General-Purpose Media Interface (GPMI) |
2 | 2 | ||
3 | The GPMI nand controller provides an interface to control the | 3 | The GPMI nand controller provides an interface to control the |
4 | NAND flash chips. We support only one NAND chip now. | 4 | NAND flash chips. |
5 | 5 | ||
6 | Required properties: | 6 | Required properties: |
7 | - compatible : should be "fsl,<chip>-gpmi-nand" | 7 | - compatible : should be "fsl,<chip>-gpmi-nand" |
diff --git a/Documentation/devicetree/bindings/mtd/hisi504-nand.txt b/Documentation/devicetree/bindings/mtd/hisi504-nand.txt new file mode 100644 index 000000000000..2e35f0662912 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/hisi504-nand.txt | |||
@@ -0,0 +1,47 @@ | |||
1 | Hisilicon Hip04 Soc NAND controller DT binding | ||
2 | |||
3 | Required properties: | ||
4 | |||
5 | - compatible: Should be "hisilicon,504-nfc". | ||
6 | - reg: The first contains base physical address and size of | ||
7 | NAND controller's registers. The second contains base | ||
8 | physical address and size of NAND controller's buffer. | ||
9 | - interrupts: Interrupt number for nfc. | ||
10 | - nand-bus-width: See nand.txt. | ||
11 | - nand-ecc-mode: Support none and hw ecc mode. | ||
12 | - #address-cells: Partition address, should be set 1. | ||
13 | - #size-cells: Partition size, should be set 1. | ||
14 | |||
15 | Optional properties: | ||
16 | |||
17 | - nand-ecc-strength: Number of bits to correct per ECC step. | ||
18 | - nand-ecc-step-size: Number of data bytes covered by a single ECC step. | ||
19 | |||
20 | The following ECC strength and step size are currently supported: | ||
21 | |||
22 | - nand-ecc-strength = <16>, nand-ecc-step-size = <1024> | ||
23 | |||
24 | Flash chip may optionally contain additional sub-nodes describing partitions of | ||
25 | the address space. See partition.txt for more detail. | ||
26 | |||
27 | Example: | ||
28 | |||
29 | nand: nand@4020000 { | ||
30 | compatible = "hisilicon,504-nfc"; | ||
31 | reg = <0x4020000 0x10000>, <0x5000000 0x1000>; | ||
32 | interrupts = <0 379 4>; | ||
33 | nand-bus-width = <8>; | ||
34 | nand-ecc-mode = "hw"; | ||
35 | nand-ecc-strength = <16>; | ||
36 | nand-ecc-step-size = <1024>; | ||
37 | #address-cells = <1>; | ||
38 | #size-cells = <1>; | ||
39 | |||
40 | partition@0 { | ||
41 | label = "nand_text"; | ||
42 | reg = <0x00000000 0x00400000>; | ||
43 | }; | ||
44 | |||
45 | ... | ||
46 | |||
47 | }; | ||
diff --git a/Documentation/devicetree/bindings/mtd/mtd-physmap.txt b/Documentation/devicetree/bindings/mtd/mtd-physmap.txt index 6b9f680cb579..4a0a48bf4ecb 100644 --- a/Documentation/devicetree/bindings/mtd/mtd-physmap.txt +++ b/Documentation/devicetree/bindings/mtd/mtd-physmap.txt | |||
@@ -36,6 +36,11 @@ are defined: | |||
36 | - vendor-id : Contains the flash chip's vendor id (1 byte). | 36 | - vendor-id : Contains the flash chip's vendor id (1 byte). |
37 | - device-id : Contains the flash chip's device id (1 byte). | 37 | - device-id : Contains the flash chip's device id (1 byte). |
38 | 38 | ||
39 | For ROM compatible devices (and ROM fallback from cfi-flash), the following | ||
40 | additional (optional) property is defined: | ||
41 | |||
42 | - erase-size : The chip's physical erase block size in bytes. | ||
43 | |||
39 | The device tree may optionally contain sub-nodes describing partitions of the | 44 | The device tree may optionally contain sub-nodes describing partitions of the |
40 | address space. See partition.txt for more detail. | 45 | address space. See partition.txt for more detail. |
41 | 46 | ||