forked from torvalds/linux
-
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 'nand/for-5.8' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/mtd/linux into mtd/next Raw NAND core changes: * Stop using nand_release(), patched all drivers. * Give more information about the ECC weakness when not matching the chip's requirement. * MAINTAINERS updates. * Support emulated SLC mode on MLC NANDs. * Support "constrained" controllers, adapt the core and ONFI/JEDEC table parsing and Micron's code. * Take check_only into account. * Add an invalid ECC mode to discriminate with valid ones. * Return an enum from of_get_nand_ecc_algo(). * Drop OOB_FIRST placement scheme. * Introduce nand_extract_bits(). * Ensure a consistent bitflips numbering. * BCH lib: - Allow easy bit swapping. - Rework a little bit the exported function names. * Fix nand_gpio_waitrdy(). * Propage CS selection to sub operations. * Add a NAND_NO_BBM_QUIRK flag. * Give the possibility to verify a read operation is supported. * Add a helper to check supported operations. * Avoid indirect access to ->data_buf(). * Rename the use_bufpoi variables. * Fix comments about the use of bufpoi. * Rename a NAND chip option. * Reorder the nand_chip->options flags. * Translate obscure bitfields into readable macros. * Timings: - Fix default values. - Add mode information to the timings structure. Raw NAND controller driver changes: * Fixed many error paths. * Arasan - New driver * Au1550nd: - Various cleanups - Migration to ->exec_op() * brcmnand: - Misc cleanup. - Support v2.1-v2.2 controllers. - Remove unused including <linux/version.h>. - Correctly verify erased pages. - Fix Hamming OOB layout. * Cadence - Make cadence_nand_attach_chip static. * Cafe: - Set the NAND_NO_BBM_QUIRK flag * cmx270: - Remove this controller driver. * cs553x: - Misc cleanup - Migration to ->exec_op() * Davinci: - Misc cleanup. - Migration to ->exec_op() * Denali: - Add more delays before latching incoming data * Diskonchip: - Misc cleanup - Migration to ->exec_op() * Fsmc: - Change to non-atomic bit operations. * GPMI: - Use nand_extract_bits() - Fix runtime PM imbalance. * Ingenic: - Migration to exec_op() - Fix the RB gpio active-high property on qi, lb60 - Make qi_lb60_ooblayout_ops static. * Marvell: - Misc cleanup and small fixes * Nandsim: - Fix the error paths, driver wide. * Omap_elm: - Fix runtime PM imbalance. * STM32_FMC2: - Misc cleanups (error cases, comments, timeout valus, cosmetic changes).
- Loading branch information
Showing
82 changed files
with
4,258 additions
and
2,536 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml
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,63 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/mtd/arasan,nand-controller.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Arasan NAND Flash Controller with ONFI 3.1 support device tree bindings | ||
|
||
allOf: | ||
- $ref: "nand-controller.yaml" | ||
|
||
maintainers: | ||
- Naga Sureshkumar Relli <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
- items: | ||
- enum: | ||
- xlnx,zynqmp-nand-controller | ||
- enum: | ||
- arasan,nfc-v3p10 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
items: | ||
- description: Controller clock | ||
- description: NAND bus clock | ||
|
||
clock-names: | ||
items: | ||
- const: controller | ||
- const: bus | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
"#address-cells": true | ||
"#size-cells": true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- interrupts | ||
|
||
additionalProperties: true | ||
|
||
examples: | ||
- | | ||
nfc: nand-controller@ff100000 { | ||
compatible = "xlnx,zynqmp-nand-controller", "arasan,nfc-v3p10"; | ||
reg = <0x0 0xff100000 0x0 0x1000>; | ||
clock-names = "controller", "bus"; | ||
clocks = <&clk200>, <&clk100>; | ||
interrupt-parent = <&gic>; | ||
interrupts = <0 14 4>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1284,6 +1284,13 @@ S: Supported | |
W: http://www.aquantia.com | ||
F: drivers/net/ethernet/aquantia/atlantic/aq_ptp* | ||
|
||
ARASAN NAND CONTROLLER DRIVER | ||
M: Naga Sureshkumar Relli <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml | ||
F: drivers/mtd/nand/raw/arasan-nand-controller.c | ||
|
||
ARC FRAMEBUFFER DRIVER | ||
M: Jaya Kumar <[email protected]> | ||
S: Maintained | ||
|
@@ -3741,9 +3748,8 @@ F: Documentation/devicetree/bindings/media/cdns,*.txt | |
F: drivers/media/platform/cadence/cdns-csi2* | ||
|
||
CADENCE NAND DRIVER | ||
M: Piotr Sroka <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
S: Orphan | ||
F: Documentation/devicetree/bindings/mtd/cadence-nand-controller.txt | ||
F: drivers/mtd/nand/raw/cadence-nand-controller.c | ||
|
||
|
@@ -10727,9 +10733,8 @@ F: Documentation/devicetree/bindings/i2c/i2c-mt7621.txt | |
F: drivers/i2c/busses/i2c-mt7621.c | ||
|
||
MEDIATEK NAND CONTROLLER DRIVER | ||
M: Xiaolei Li <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
S: Orphan | ||
F: Documentation/devicetree/bindings/mtd/mtk-nand.txt | ||
F: drivers/mtd/nand/raw/mtk_* | ||
|
||
|
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.