<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/devicetree/bindings/mtd, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-09-22T09:41:27Z</updated>
<entry>
<title>dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation</title>
<updated>2021-09-22T09:41:27Z</updated>
<author>
<name>Miquel Raynal</name>
</author>
<published>2021-06-10T14:39:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=530a750f8a43e5c25266c886d0a388303b06573b'/>
<id>urn:sha1:530a750f8a43e5c25266c886d0a388303b06573b</id>
<content type='text'>
[ Upstream commit 778cb8e39f6ec252be50fc3850d66f3dcbd5dd5a ]

"PAGESIZE / 512" is the number of ECC chunks.
"ECC_BYTES" is the number of bytes needed to store a single ECC code.
"2" is the space reserved by the bad block marker.

"2 + (PAGESIZE / 512) * ECC_BYTES" should of course be lower or equal
than the total number of OOB bytes, otherwise it won't fit.

Fix the equation by substituting s/&gt;=/&lt;=/.

Suggested-by: Ryan J. Barnett &lt;ryan.barnett@collins.com&gt;
Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Acked-by: Rob Herring &lt;robh@kernel.org&gt;
Link: https://lore.kernel.org/linux-mtd/20210610143945.3504781-1-miquel.raynal@bootlin.com
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>doc: dt: mtd: partitions: add compatible property to "partitions" node</title>
<updated>2015-12-09T01:10:20Z</updated>
<author>
<name>Brian Norris</name>
</author>
<published>2015-12-03T22:47:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e488ca9f8d4f62c2dc36bfa5c32f68e7f05ab381'/>
<id>urn:sha1:e488ca9f8d4f62c2dc36bfa5c32f68e7f05ab381</id>
<content type='text'>
As noted here [1], there are potentially future conflicts if we try to
use MTD's "partitions" subnode to describe anything besides just the
fixed-in-the-device-tree partitions currently described in this
document. Particularly, there was a proposal to use this node for the
AFS parser too.

It can pose a (small) problem to try to differentiate the following
nodes:

	// using binding as currently specified
	partitions {
		#address-cells = &lt;x&gt;;
		#size-cells = &lt;y&gt;;
		partition@0 {
			...;
		};
	};

and

	// proposed future binding
	partitions {
		compatible = "arm,arm-flash-structure";
	};

It's especially difficult if other uses of this node start having
subnodes.

So, since the "partitions" node is new in v4.4, let's fixup the binding
before release so that it requires a compatible property, so it's much
clearer to distinguish. e.g.:

	// proposed
	partitions {
		compatible = "fixed-partitions";
		#address-cells = &lt;x&gt;;
		#size-cells = &lt;y&gt;;
		partition@0 {
			...;
		};
	};

[1] Subject: "mtd: create a partition type device tree binding"
    http://lkml.kernel.org/g/20151113220039.GA74382@google.com
    http://lists.infradead.org/pipermail/linux-mtd/2015-November/063355.html
    http://lists.infradead.org/pipermail/linux-mtd/2015-November/063364.html

Cc: Michal Suchanek &lt;hramrach@gmail.com&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Acked-by: Rob Herring &lt;robh@kernel.org&gt;
</content>
</entry>
<entry>
<title>doc: dt: mtd: support partitions in a special 'partitions' subnode</title>
<updated>2015-10-30T21:00:42Z</updated>
<author>
<name>Michal Suchanek</name>
</author>
<published>2015-10-28T22:48:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe2585e9c29a650af26824684e5033757fd6bc0c'/>
<id>urn:sha1:fe2585e9c29a650af26824684e5033757fd6bc0c</id>
<content type='text'>
To avoid conflict with other drivers using subnodes of the mtd device
create only one ofpart-specific node rather than any number of
arbitrary partition subnodes.

Signed-off-by: Michal Suchanek &lt;hramrach@gmail.com&gt;
Acked-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: fsmc_nand: Add BCH4 SW ECC support for SPEAr600</title>
<updated>2015-10-26T20:19:40Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2015-10-19T06:40:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e278fc71b2c63905d3631b8d7b12ab7bcba9d2be'/>
<id>urn:sha1:e278fc71b2c63905d3631b8d7b12ab7bcba9d2be</id>
<content type='text'>
This patch adds support for 4-bit ECC BCH4 for the SPEAr600 SoC. This can
be used by boards equipped with a NAND chip that requires 4-bit ECC
strength. The SPEAr600 HW ECC only supports 1-bit ECC strength.

To enable SW BCH4, you need to specify this in your nand controller
DT node:

	nand-ecc-mode = "soft_bch";
	nand-ecc-strength = &lt;4&gt;;
	nand-ecc-step-size = &lt;512&gt;;

Tested on a custom SPEAr600 board.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Cc: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
[Brian: tweaked the comments a bit]
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: vf610_nfc: add device tree bindings</title>
<updated>2015-09-29T20:54:54Z</updated>
<author>
<name>Stefan Agner</name>
</author>
<published>2015-09-03T01:06:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a799590005180b1010912be096c1302e2bd06da'/>
<id>urn:sha1:8a799590005180b1010912be096c1302e2bd06da</id>
<content type='text'>
Signed-off-by: Bill Pringlemeir &lt;bpringlemeir@nbsps.com&gt;
Acked-by: Shawn Guo &lt;shawnguo@kernel.org&gt;
Signed-off-by: Stefan Agner &lt;stefan@agner.ch&gt;
[Brian: fixup #size-cells in example]
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'for-linus-20150901' of git://git.infradead.org/linux-mtd</title>
<updated>2015-09-02T19:16:24Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2015-09-02T19:16:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=91a247d7d3694a161092931ea4e0b13c11b8e9a0'/>
<id>urn:sha1:91a247d7d3694a161092931ea4e0b13c11b8e9a0</id>
<content type='text'>
Pull MTD updates from Brian Norris:
 "SPI NOR:
   - reduce virtual address space requirements for fsl-quadspi memory map
   - new fsl-quadspi IP support: imx6ul-qspi and imx7d-qspi
   - add new NOR flash device support
   - add new driver for NXP SPI Flash Interface (SPIFI)
   - stop abusing SPI API structs for non-SPI framework
   - fixup DT table matching for new "jedec,spi-nor" string

  NAND:
   - brcmnand: fix big endian MIPS macro usage
   - denali: refactor to use devres, dev_*() printing, etc.
   - OMAP ELM: change the module alias to actually be usable
   - pxa3xx_nand: fixup a few command sequencing issues -- both new and old
      - race conditions in the IRQ handler status clearing
      - problems when a bootloader left interrupts pending
      - config issues when overriding the bootloader configuration
   - new flash device support
   - sunxi_nand:
      - optimize timing configuration by calculation, rather than fixed
        fail-safe values
      - use EDO setting from ONFI
   - r852: fix compiler warnings
   - davinci: add 4KB page support

  Core:
   - oobtest: correct debug print information"

* tag 'for-linus-20150901' of git://git.infradead.org/linux-mtd: (42 commits)
  mtd: mtd_oobtest: Fix the address offset with vary_offset case
  mtd: blkdevs: fix switch-bool compilation warning
  mtd: spi-nor: stop (ab)using struct spi_device_id
  mtd: nand: add Toshiba TC58NVG0S3E to nand_ids table
  mtd: dataflash: Export OF module alias information
  nand: pxa3xx: Increase READ_ID buffer and make the size static
  mtd: nand: pxa3xx-nand: fix random command timeouts
  mtd: nand: pxa3xx_nand: fix early spurious interrupt
  mtd: pxa3xx_nand: add a default chunk size
  mtd: omap_elm: Fix module alias
  mtd: physmap_of: fix null pointer deference when kzalloc returns null
  mtd: nettel: do not ignore mtd_device_register() failure in nettel_init()
  mtd: denali_pci: switch to dev_err()
  mtd: denali_pci: refactor driver using devres API
  mtd: denali_pci: use module_pci_driver() macro
  mtd: denali: hide core part from user in Kconfig
  mtd: spi-nor: add Spansion S25FL204K support
  mtd: spi-nor: Improve Kconfig help text for SPI_FSL_QUADSPI
  mtd: spi-nor: add driver for NXP SPI Flash Interface (SPIFI)
  doc: dt: add documentation for nxp,lpc1773-spifi
  ...
</content>
</entry>
<entry>
<title>mtd: nand: pxa3xx: add optional dma for pxa architecture</title>
<updated>2015-09-01T13:18:12Z</updated>
<author>
<name>Robert Jarzmik</name>
</author>
<published>2015-08-30T19:44:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d6f85d9fe422aa42f3f337872050fb2a30cd430'/>
<id>urn:sha1:9d6f85d9fe422aa42f3f337872050fb2a30cd430</id>
<content type='text'>
The PXA architecture provides a DMA to pump data from the nand
controller to memory and the other way around. Add it to the binding
description.

Signed-off-by: Robert Jarzmik &lt;robert.jarzmik@free.fr&gt;
Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
</content>
</entry>
<entry>
<title>doc: dt: add documentation for nxp,lpc1773-spifi</title>
<updated>2015-08-14T18:22:54Z</updated>
<author>
<name>Joachim Eastwood</name>
</author>
<published>2015-07-09T20:19:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89f271c4d052063a72af2622f285f70caac91845'/>
<id>urn:sha1:89f271c4d052063a72af2622f285f70caac91845</id>
<content type='text'>
Add device tree binding documentation for the SPI Flash Interface
(SPIFI) found on NXP LPC18xx and LPC43xx devies.

Signed-off-by: Joachim Eastwood &lt;manabian@gmail.com&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>Documentation: fsl-quadspi: Add fsl, imx6ul-qspi compatible string</title>
<updated>2015-08-06T17:07:42Z</updated>
<author>
<name>Frank Li</name>
</author>
<published>2015-08-04T15:25:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb94d0bb41e43b4fdd219ad930686397814bcd8d'/>
<id>urn:sha1:cb94d0bb41e43b4fdd219ad930686397814bcd8d</id>
<content type='text'>
new compatible string: "fsl,imx6ul-qspi".

Signed-off-by: Frank Li &lt;Frank.Li@freescale.com&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>Documentation: fsl-quadspi: Add fsl, imx7d-qspi compatible string</title>
<updated>2015-08-06T17:07:40Z</updated>
<author>
<name>Frank Li</name>
</author>
<published>2015-08-04T15:25:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=151b49e19119da28dfcd29561147ec56913cbe61'/>
<id>urn:sha1:151b49e19119da28dfcd29561147ec56913cbe61</id>
<content type='text'>
new compatible string: "fsl,imx7d-qspi"

Signed-off-by: Frank Li &lt;Frank.Li@freescale.com&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
</feed>
