diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-05-18 13:01:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-05-18 13:01:54 -0400 |
commit | 7cf7d424c309457b21318b05963ff3fd723d5bcd (patch) | |
tree | f24ae5b0bc01978761b285ae546f2076ca705747 /Documentation | |
parent | c0655fe9b0901a968800f56687be3c62b4cce5d2 (diff) | |
parent | 8947e396a8296c5297928b60043f35dfa56baa05 (diff) |
Merge tag 'for-linus-20150516' of git://git.infradead.org/linux-mtd
Pull MTD fixes from Brian Norris:
"Two MTD fixes for 4.1:
- readtest: the signal-handling code was clobbering the error codes
we should be handling/reporting in this test, rendering it useless.
Noticed by Coverity.
- the common SPI NOR flash DT binding (merged for 4.1-rc1) is being
revised, so let's change that before 4.1 is minted"
* tag 'for-linus-20150516' of git://git.infradead.org/linux-mtd:
Documentation: dt: mtd: replace "nor-jedec" binding with "jedec, spi-nor"
mtd: readtest: don't clobber error reports
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt (renamed from Documentation/devicetree/bindings/mtd/m25p80.txt) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/mtd/m25p80.txt b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt index f20b111b502a..2bee68103b01 100644 --- a/Documentation/devicetree/bindings/mtd/m25p80.txt +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt | |||
@@ -8,8 +8,8 @@ Required properties: | |||
8 | is not Linux-only, but in case of Linux, see the "m25p_ids" | 8 | is not Linux-only, but in case of Linux, see the "m25p_ids" |
9 | table in drivers/mtd/devices/m25p80.c for the list of supported | 9 | table in drivers/mtd/devices/m25p80.c for the list of supported |
10 | chips. | 10 | chips. |
11 | Must also include "nor-jedec" for any SPI NOR flash that can be | 11 | Must also include "jedec,spi-nor" for any SPI NOR flash that can |
12 | identified by the JEDEC READ ID opcode (0x9F). | 12 | be identified by the JEDEC READ ID opcode (0x9F). |
13 | - reg : Chip-Select number | 13 | - reg : Chip-Select number |
14 | - spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at | 14 | - spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at |
15 | 15 | ||
@@ -25,7 +25,7 @@ Example: | |||
25 | flash: m25p80@0 { | 25 | flash: m25p80@0 { |
26 | #address-cells = <1>; | 26 | #address-cells = <1>; |
27 | #size-cells = <1>; | 27 | #size-cells = <1>; |
28 | compatible = "spansion,m25p80", "nor-jedec"; | 28 | compatible = "spansion,m25p80", "jedec,spi-nor"; |
29 | reg = <0>; | 29 | reg = <0>; |
30 | spi-max-frequency = <40000000>; | 30 | spi-max-frequency = <40000000>; |
31 | m25p,fast-read; | 31 | m25p,fast-read; |