diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-03-23 18:07:51 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-03-23 18:08:03 +0100 |
commit | 6cadd424abb63120f8346a4509dc43bddc9401d3 (patch) | |
tree | 181897890fec78b6cfc71a997dcfa4514cbb6951 /include/linux/platform_data/brcmnand.h | |
parent | 4e371d996590f3a7e82a086d499c912c1930e968 (diff) | |
parent | fecbd4a317c95d73c849648c406bcf1b6a0ec1cf (diff) | |
download | linux-6cadd424abb63120f8346a4509dc43bddc9401d3.tar.gz linux-6cadd424abb63120f8346a4509dc43bddc9401d3.tar.bz2 linux-6cadd424abb63120f8346a4509dc43bddc9401d3.zip |
Merge tag 'nand/for-5.18' into mtd/next
Raw NAND core changes:
* Rework of_get_nand_bus_width()
* Remove of_get_nand_on_flash_bbt() wrapper
* Protect access to rawnand devices while in suspend
* bindings: Document the wp-gpios property
Rax NAND controller driver changes:
* atmel: Fix refcount issue in atmel_nand_controller_init
* nandsim:
- Add NS_PAGE_BYTE_SHIFT macro to replace the repeat pattern
- Merge repeat codes in ns_switch_state
- Replace overflow check with kzalloc to single kcalloc
* rockchip: Fix platform_get_irq.cocci warning
* stm32_fmc2: Add NAND Write Protect support
* pl353: Set the nand chip node as the flash node
* brcmnand: Fix sparse warnings in bcma_nand
* omap_elm: Remove redundant variable 'errors'
* gpmi:
- Support fast edo timings for mx28
- Validate controller clock rate
- Fix controller timings setting
* brcmnand:
- Add BCMA shim
- BCMA controller uses command shift of 0
- Allow platform data instantation
- Add platform data structure for BCMA
- Allow working without interrupts
- Move OF operations out of brcmnand_init_cs()
- Avoid pdev in brcmnand_init_cs()
- Allow SoC to provide I/O operations
- Assign soc as early as possible
Onenand changes:
* Check for error irq
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux/platform_data/brcmnand.h')
-rw-r--r-- | include/linux/platform_data/brcmnand.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/platform_data/brcmnand.h b/include/linux/platform_data/brcmnand.h new file mode 100644 index 000000000000..8b8777985dce --- /dev/null +++ b/include/linux/platform_data/brcmnand.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef BRCMNAND_PLAT_DATA_H +#define BRCMNAND_PLAT_DATA_H + +struct brcmnand_platform_data { + int chip_select; + const char * const *part_probe_types; + unsigned int ecc_stepsize; + unsigned int ecc_strength; +}; + +#endif /* BRCMNAND_PLAT_DATA_H */ |