- 02 7月, 2018 3 次提交
-
-
由 Stefan Agner 提交于
This adds the devicetree binding for the Tegra 2 NAND flash controller. Signed-off-by: NLucas Stach <dev@lynxeye.de> Signed-off-by: NStefan Agner <stefan@agner.ch> Reviewed-by: NBoris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com>
-
由 Stefan Agner 提交于
Allow to define a NAND chip as a boot device. This can be helpful for the selection of the ECC algorithm and strength in case the boot ROM supports only a subset of controller provided options. Signed-off-by: NStefan Agner <stefan@agner.ch> Reviewed-by: NBoris Brezillon <boris.brezillon@bootlin.com> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com>
-
由 Stefan Agner 提交于
Add Reed-Solomon (RS) to the enumeration of ECC algorithms. Signed-off-by: NStefan Agner <stefan@agner.ch> Reviewed-by: NBoris Brezillon <boris.brezillon@bootlin.com> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com>
-
- 23 5月, 2018 1 次提交
-
-
由 Rafał Miłecki 提交于
Broadcom based home router devices use partitions which have to be discovered in a specific way. They are not fixed and there is not any standard partition table. This commit adds and describes a new custom binding for such devices. Signed-off-by: NRafał Miłecki <rafal@milecki.pl> Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
- 29 4月, 2018 3 次提交
-
-
由 Xiaolei Li 提交于
Update ecc step size, ecc strength, and parity bits supported on each MTK NAND controller. Signed-off-by: NXiaolei Li <xiaolei.li@mediatek.com> Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
由 Boris Brezillon 提交于
None of the existing platforms connect the R/B pin to a GPIO (they all use one of the dedicated R/B pin). Anyway, if we ever get short of native R/B pins, it's probably better to fallback to STATUS reg polling than trying to poll a GPIO. Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: NRob Herring <robh@kernel.org>
-
由 Stefan Agner 提交于
Document newly supported device tree properties nand-ecc-strength/ nand-ecc-step-size to specify ECC strength/size. Signed-off-by: NStefan Agner <stefan@agner.ch> Acked-by: NHan Xu <han.xu@nxp.com> Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
- 28 4月, 2018 1 次提交
-
-
由 Rob Herring 提交于
Bindings are supposed to be organized by device class/function. Move a couple of powerpc 4xx bindings to the correct binding directory. Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: NRob Herring <robh@kernel.org>
-
- 18 4月, 2018 1 次提交
-
-
由 Rob Herring 提交于
Whack-a-mole some more occurrences of status in examples. Acked-by: NVinod Koul <vinod.koul@intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: Ulf Hansson <ulf.hansson@linaro.org> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Brian Norris <computersforpeace@gmail.com> Cc: Boris Brezillon <boris.brezillon@bootlin.com> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Richard Weinberger <richard@nod.at> Cc: Matthias Brugger <matthias.bgg@gmail.com> Cc: Tanmay Inamdar <tinamdar@apm.com> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Rodolfo Giometti <giometti@enneenne.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 30 3月, 2018 1 次提交
-
-
由 Fabio Estevam 提交于
Improve the bindings example by adding an example of how to represent two SPI NOR devices. Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com> Acked-by: NHan Xu <han.xu@nxp.com> Signed-off-by: NCyrille Pitchen <cyrille.pitchen@wedev4u.fr> Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
- 29 3月, 2018 3 次提交
-
-
由 Boris Brezillon 提交于
This mode is not used by any existing setup and should not be used because it overwrites the BBMs. Let's just remove it before someone starts using it. Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com> Acked-by: NMaxime Ripard <maxime.ripard@bootlin.com> Tested-by: NMiquel Raynal <miquel.raynal@bootlin.com>
-
由 Gregory CLEMENT 提交于
On Armada 7K/8K we need to explicitly enable the register clock. This clock is optional because not all the SoCs using this IP need it but at least for Armada 7K/8K it is actually mandatory. The binding documentation is updated accordingly. Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
由 Prabhakar Kushwaha 提交于
Provide a way to specify the endianness to use when accessing a memory-mapped flash. Signed-off-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
- 03 3月, 2018 1 次提交
-
-
由 Miquel Raynal 提交于
The deprecated pxa3xx_nand.c driver does not exist anymore, it has been replaced by marvell_nand.c which has its own up-to-date documentation. Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: NRob Herring <robh@kernel.org> Tested-by: NRobert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
- 12 1月, 2018 3 次提交
-
-
由 Ladislav Michl 提交于
Compatible property is required for OMAP2+ mtd driver. Also add INT pin gpio description and delete unused dma-channel property. Signed-off-by: NLadislav Michl <ladis@linux-mips.org> Reviewed-by: NPeter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: NRoger Quadros <rogerq@ti.com> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-
由 Miquel Raynal 提交于
Document the legacy and the new bindings for Marvell NAND controller. The pxa3xx_nand.c driver does only support legacy bindings, which are incomplete and inaccurate. A rework of this controller (called marvell_nand.c) does support both. Signed-off-by: NMiquel Raynal <miquel.raynal@free-electrons.com> Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-
由 Miquel Raynal 提交于
There are already an atmel,rb and an allwinner,rb properties, let's not make other ones and instead use a generic term: nand-rb to define NAND chips Ready/Busy lines. Signed-off-by: NMiquel Raynal <miquel.raynal@free-electrons.com> Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-
- 27 12月, 2017 1 次提交
-
-
由 Rob Herring 提交于
DT unit addresses should be lower case hex. Fix all the binding examples. Converted with the following command from Krzysztof Kozlowski: sed -e 's/@\([a-fA-F0-9_-]*\) {/@\L\1 {/' -i $(find Documentation/devicetree/bindings -name '*.txt') Signed-off-by: NRob Herring <robh@kernel.org>
-
- 14 12月, 2017 1 次提交
-
-
由 RogerCC Lin 提交于
Add MT7622 NAND Flash Controller dt bindings documentation. Signed-off-by: NRogerCC Lin <rogercc.lin@mediatek.com> Reviewed-by: NMatthias Brugger <matthias.bgg@gmail.com> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-
- 13 12月, 2017 2 次提交
-
-
由 Fabio Estevam 提交于
In order to improve the bindings documentation, explicitly pass the name of the clocks: "qspi_en" and "qspi", which are mandatory. Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com> Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
-
由 Cyrille Pitchen 提交于
This reverts commit b07815d4. The reverted commit was merged into v4-15-rc1 by mistake: it was taken from the IMX tree but the patch has never been sent to linux-mtd nor reviewed by any spi-nor maintainers. Actually, it would have been rejected since we add new values for the 'compatible' DT property only for SPI NOR memories that don't support the JEDEC READ ID op code (0x9F). Both en25s64 and sst25wf040b support the JEDEC READ ID op code, hence should use the "jedec,spi-nor" string alone as 'compatible' value. See the following link for more details: http://lists.infradead.org/pipermail/linux-mtd/2017-November/077425.htmlSigned-off-by: NCyrille Pitchen <cyrille.pitchen@wedev4u.fr> Acked-by: NMarek Vasut <marek.vasut@gmail.com>
-
- 07 12月, 2017 1 次提交
-
-
由 Mathieu Malaterre 提交于
Improve the binding example by removing all the leading 0x to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading "0x" Converted using the following command: find Documentation/devicetree/bindings -name "*.txt" -exec sed -i -e 's/([^ ])\@0x([0-9a-f])/$1\@$2/g' {} + This is a follow up to commit 48c926cdSigned-off-by: NMathieu Malaterre <malat@debian.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 10 11月, 2017 1 次提交
-
-
由 Marco Franchi 提交于
Improve the binding example by removing all the leading zeros to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading 0s Converted using the following command: perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find ./Documentation/devicetree/bindings "*.txt"` Some unnecessary changes were manually fixed. Signed-off-by: NMarco Franchi <marco.franchi@nxp.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 30 10月, 2017 1 次提交
-
-
由 Philipp Puschmann 提交于
Add Everspin mr25h128 16KB MRAM to the list of supported chips. Signed-off-by: NPhilipp Puschmann <pp@emlix.com> Signed-off-by: NCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
-
- 25 10月, 2017 1 次提交
-
-
由 Guochun Mao 提交于
Add "mediatak,mt2712-nor" and "mediatek,mt7622-nor" for nor flash node's compatible strings. Explicate the fallback compatible. Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NGuochun Mao <guochun.mao@mediatek.com> Signed-off-by: NCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
-
- 18 10月, 2017 2 次提交
-
-
由 Vignesh R 提交于
Cadence QSPI IP has a adapted loop-back circuit which can be enabled by setting BYPASS field to 0 in READCAPTURE register. It enables use of QSPI return clock to latch the data rather than the internal QSPI reference clock. For high speed operations, adapted loop-back circuit using QSPI return clock helps to increase data valid window. Add DT parameter cdns,rclk-en to help enable adapted loop-back circuit for boards which do have QSPI return clock provided. Update binding documentation for the same. Signed-off-by: NVignesh R <vigneshr@ti.com> Acked-by: NRob Herring <robh@kernel.org> Acked-by: NMarek Vasut <marek.vasut@gmail.com> Signed-off-by: NCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
-
由 Vignesh R 提交于
Update binding documentation to add a new compatible for TI 66AK2G SoC, to handle TI SoC specific quirks in the driver. Signed-off-by: NVignesh R <vigneshr@ti.com> Acked-by: NRob Herring <robh@kernel.org> Acked-by: NMarek Vasut <marek.vasut@gmail.com> Signed-off-by: NCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
-
- 07 10月, 2017 1 次提交
-
-
由 Miquel Raynal 提交于
Document the new pxa3xx_nand driver compatible string for A7k/A8k SoCs that need to access system controller registers in order to enable the NAND controller through the use of a phandle pointed to by the 'marvell,system-controller' property. Signed-off-by: NMiquel Raynal <miquel.raynal@free-electrons.com> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-
- 22 9月, 2017 1 次提交
-
-
由 Masahiro Yamada 提交于
This example allocates much more than needed for address regions. As for "denali_reg", as you see in drivers/mtd/nand/denali.h, all registers fit in 0x1000. As for "nand_data", this IP is generally configured to use Indexed Addressing mode, where there are only two registers in the address translation module (CTRL: 0x00, DATA: 0x10). Altera SOCFPGA is also this case. So, 0x20 is enough. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-
- 20 9月, 2017 1 次提交
-
-
由 Yuan Yao 提交于
The chip sst25wf040b and en25s64 are compatible with SPI NOR flash. Signed-off-by: NYuan Yao <yao.yuan@nxp.com> Signed-off-by: NHou Zhiqiang <Zhiqiang.Hou@nxp.com> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 05 9月, 2017 1 次提交
-
-
由 Rob Herring 提交于
Pretty much any node can have a status property, so it doesn't need to be in examples. Converted with the following command and removed examples with SoC and board specific splits: git grep -l -E 'status.*=.*' Documentation/devicetree/ | xargs sed -i -E '/\sstatus.*=.*"(disabled|ok|okay)/d' Acked-by: NMark Rutland <mark.rutland@arm.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 23 8月, 2017 4 次提交
-
-
由 Abhishek Sahu 提交于
Qualcom IPQ8074 SoC uses QPIC NAND controller version 1.5.0 which uses BAM DMA Engine. Signed-off-by: NAbhishek Sahu <absahu@codeaurora.org> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-
由 Abhishek Sahu 提交于
1. Qualcom IPQ4019 SoC uses QPIC NAND controller version 1.4.0 which uses BAM DMA Engine while IPQ806x uses EBI2 NAND which uses ADM DMA Engine. 2. QPIC NAND will 3 BAM channels: command, data tx and data rx while EBI2 NAND uses only single ADM channel. 3. CRCI is only required for ADM DMA and its not required for BAM DMA. Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NAbhishek Sahu <absahu@codeaurora.org> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-
由 Abhishek Sahu 提交于
1. Correct the compatible string for IPQ806x 2. Change the NAND controller and NAND chip nodes name for more clarity. Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NAbhishek Sahu <absahu@codeaurora.org> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-
由 Abhishek Sahu 提交于
Currently the compatible “qcom,nandcs” is being used for each connected NAND device to support for multiple NAND devices in the same bus. The same thing can be achieved by looking reg property for each sub nodes which contains the chip select number so this patch removes the use of “qcom,nandcs” for specifying NAND device sub nodes. Since there is no user for this driver currently in so changing compatible string is safe. Signed-off-by: NAbhishek Sahu <absahu@codeaurora.org> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-
- 23 6月, 2017 2 次提交
-
-
由 Tom Rini 提交于
The binding bus/ti-gpmc.txt has been moved to memory-controllers/omap-gpmc.txt. Update all references to this in order to make reading and understanding a given binding easier. Cc: David Woodhouse <dwmw2@infradead.org> Cc: Brian Norris <computersforpeace@gmail.com> Cc:Boris Brezillon <boris.brezillon@free-electrons.com> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Richard Weinberger <richard@nod.at> Cc: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: NTom Rini <trini@konsulko.com> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-
由 Tom Rini 提交于
The binding says that the compatible string must be "ti,am33xx-elm" but the code checks only for, and all functioning users set, this as "ti,am3352-elm" so correct the binding. Cc: David Woodhouse <dwmw2@infradead.org> Cc: Brian Norris <computersforpeace@gmail.com> Cc: Boris Brezillon <boris.brezillon@free-electrons.com> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Richard Weinberger <richard@nod.at> Cc: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: NTom Rini <trini@konsulko.com> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-
- 21 6月, 2017 1 次提交
-
-
由 Brian Norris 提交于
Currently the only documented partitioning is "fixed-partitions" but there are more methods in use that we may want to support in the future. Mention them and make it clear Fixed Partitions are just a single case. Signed-off-by: NBrian Norris <computersforpeace@gmail.com> Signed-off-by: NRafał Miłecki <rafal@milecki.pl> Acked-by: NRob Herring <robh@kernel.org>
-
- 10 6月, 2017 2 次提交
-
-
由 Masahiro Yamada 提交于
Add two compatible strings for UniPhier SoC family. "socionext,uniphier-denali-nand-v5a" is used on UniPhier sLD3, LD4, Pro4, sLD8. "socionext,uniphier-denali-nand-v5b" is used on UniPhier Pro5, PXs2, LD6b, LD11, LD20. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-
由 Masahiro Yamada 提交于
This driver was originally written for the Intel MRST platform with several platform-specific parameters hard-coded. Currently, the ECC settings are hard-coded as follows: #define ECC_SECTOR_SIZE 512 #define ECC_8BITS 14 #define ECC_15BITS 26 Therefore, the driver can only support two cases. - ecc.size = 512, ecc.strength = 8 --> ecc.bytes = 14 - ecc.size = 512, ecc.strength = 15 --> ecc.bytes = 26 However, these are actually customizable parameters, for example, UniPhier platform supports the following: - ecc.size = 1024, ecc.strength = 8 --> ecc.bytes = 14 - ecc.size = 1024, ecc.strength = 16 --> ecc.bytes = 28 - ecc.size = 1024, ecc.strength = 24 --> ecc.bytes = 42 So, we need to handle the ECC parameters in a more generic manner. Fortunately, the Denali User's Guide explains how to calculate the ecc.bytes. The formula is: ecc.bytes = 2 * CEIL(13 * ecc.strength / 16) (for ecc.size = 512) ecc.bytes = 2 * CEIL(14 * ecc.strength / 16) (for ecc.size = 1024) For DT platforms, it would be reasonable to allow DT to specify ECC strength by either "nand-ecc-strength" or "nand-ecc-maximize". If none of them is specified, the driver will try to meet the chip's ECC requirement. For PCI platforms, the max ECC strength is used to keep the original behavior. Newer versions of this IP need ecc.size and ecc.steps explicitly set up via the following registers: CFG_DATA_BLOCK_SIZE (0x6b0) CFG_LAST_DATA_BLOCK_SIZE (0x6c0) CFG_NUM_DATA_BLOCKS (0x6d0) For older IP versions, write accesses to these registers are just ignored. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
-