linux/drivers/mtd/nand/raw
William Zhang 8e7daa8564 mtd: rawnand: brcmnand: Support write protection setting from dts
The write protection feature is controlled by the module parameter wp_on
with default set to enabled. But not all the board use this feature
especially in BCMBCA broadband board. And module parameter is not
sufficient as different board can have different option.  Add a device
tree property and allow this feature to be configured through the board
dts on per board basis.

Signed-off-by: William Zhang <william.zhang@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Kamal Dasu <kamal.dasu@broadcom.com>
Reviewed-by: David Regan <dregan@broadcom.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240223034758.13753-14-william.zhang@broadcom.com
2024-03-15 00:04:50 +01:00
..
atmel mtd: rawnand: atmel: Annotate struct atmel_nand with __counted_by 2023-09-22 16:33:24 +02:00
bcm47xxnflash mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
brcmnand mtd: rawnand: brcmnand: Support write protection setting from dts 2024-03-15 00:04:50 +01:00
gpmi-nand mtd: Explicitly include correct DT includes 2023-07-27 17:03:41 +02:00
ingenic The main load of changes is related to Uwe's work converting platform 2023-11-04 11:04:30 -10:00
ams-delta.c mtd: Explicitly include correct DT includes 2023-07-27 17:03:41 +02:00
arasan-nand-controller.c The main load of changes is related to Uwe's work converting platform 2023-11-04 11:04:30 -10:00
au1550nd.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
cadence-nand-controller.c The raw NAND subsystem has, as usual, seen a bit of cleanup being done 2023-11-04 11:50:34 +01:00
cafe_nand.c mtd: rawnand: cafe: Use correct function name in comment block 2022-09-21 10:38:46 +02:00
cs553x_nand.c mtd: rawnand: cs553x: simplify the return expression of cs553x_write_ctrl_byte() 2022-05-12 16:43:03 +02:00
davinci_nand.c mtd: Explicitly include correct DT includes 2023-07-27 17:03:41 +02:00
denali_dt.c mtd: Explicitly include correct DT includes 2023-07-27 17:03:41 +02:00
denali_pci.c mtd: rawnand: denali: Use managed device resources 2022-04-21 09:34:00 +02:00
denali.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
denali.h mtd: rawnand: denali: Annotate struct denali_chip with __counted_by 2023-09-22 16:33:26 +02:00
diskonchip.c mtd: rawnand: diskonchip: fix a potential double free in doc_probe 2023-12-14 16:42:01 +01:00
fsl_elbc_nand.c mtd: rawnand: fsl_elbc: Let .probe retry if local bus is missing 2024-02-05 14:22:16 +01:00
fsl_ifc_nand.c mtd: rawnand: Increment IFC_TIMEOUT_MSECS for nand controller response 2023-11-20 10:48:04 +01:00
fsl_upm.c Core MTD changes: 2023-09-03 09:59:53 -07:00
fsmc_nand.c mtd: rawnand: fsmc: Use helper function devm_clk_get_enabled() 2023-08-21 09:39:22 +02:00
gpio.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
hisi504_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
intel-nand-controller.c mtd: rawnand: intel: check return value of devm_kasprintf() 2023-10-27 19:43:18 +02:00
internals.h mtd: rawnand: remove 'nand_exit_status_op()' prototype 2023-09-11 17:49:58 +02:00
Kconfig mtd: rawnand: marvell: add support for AC5 SoC 2023-07-15 18:05:38 +02:00
lpc32xx_mlc.c mtd: rawnand: lpc32xx_mlc: fix irq handler prototype 2024-02-26 11:36:19 +01:00
lpc32xx_slc.c mtd: rawnand: lpc32xx_slc: Use helper function devm_clk_get_enabled() 2023-08-21 09:39:25 +02:00
Makefile nand: oxnas_nand: remove obsolete raw nand driver 2023-07-12 13:42:49 +02:00
marvell_nand.c The main load of changes is related to Uwe's work converting platform 2023-11-04 11:04:30 -10:00
meson_nand.c mtd: rawnand: meson: fix scrambling mode value in command macro 2024-02-26 11:36:14 +01:00
mpc5121_nfc.c Raw NAND core changes: 2023-08-28 16:37:38 +02:00
mtk_nand.c mtd: rawnand: Prefer struct_size over open coded arithmetic 2024-02-26 11:36:17 +01:00
mxc_nand.c Raw NAND core changes: 2023-08-28 16:37:38 +02:00
mxic_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
nand_amd.c
nand_base.c * Raw NAND 2023-12-22 12:45:52 +01:00
nand_bbt.c mtd: rawnand: remove redundant assignment to variable bbtblocks 2024-02-26 11:36:11 +01:00
nand_esmt.c mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
nand_hynix.c mtd: rawnand: hynix: fix up bit 0 of sdr_timing_mode 2023-03-22 17:05:51 +01:00
nand_ids.c mtd: rawnand: add support for the Sandisk SDTNQGAMA chip 2023-06-19 10:20:56 +02:00
nand_jedec.c mtd: rawnand: Ensure the nand chip supports cached reads 2023-10-16 10:47:22 +02:00
nand_legacy.c mtd: rawnand: Avoid accessing NV-DDR timings from legacy code 2021-05-26 10:43:52 +02:00
nand_macronix.c mtd: rawnand: macronix: OTP access for MX30LFxG18AC 2023-06-19 10:21:00 +02:00
nand_micron.c mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
nand_onfi.c mtd: rawnand: Ensure the nand chip supports cached reads 2023-10-16 10:47:22 +02:00
nand_samsung.c mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
nand_sandisk.c mtd: rawnand: add basic sandisk manufacturer ops 2023-06-19 10:20:55 +02:00
nand_timings.c mtd: rawnand: Add a helper to find the closest ONFI NV-DDR mode 2021-05-26 10:43:59 +02:00
nand_toshiba.c mtd: rawnand: kioxia: Add support for TH58NVG3S0HBAI4 2022-05-12 16:43:01 +02:00
nandsim.c mtd: rawnand: nandsim: Artificially prevent sequential page reads 2023-03-22 16:59:29 +01:00
ndfc.c mtd: Explicitly include correct DT includes 2023-07-27 17:03:41 +02:00
omap2.c mtd: rawnand: omap2: Fix check 0 for platform_get_irq() 2023-09-11 17:49:56 +02:00
omap_elm.c mtd: rawnand: omap_elm: Fix incorrect type in assignment 2023-07-12 13:39:46 +02:00
orion_nand.c mtd: rawnand: orion: Use helper function devm_clk_get_optional_enabled() 2023-08-21 09:44:23 +02:00
pasemi_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
pl35x-nand-controller.c mtd: rawnand: pl353: Fix kernel doc 2023-12-14 16:41:56 +01:00
plat_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
qcom_nandc.c mtd: rawnand: qcom: Unmap the right resource upon probe failure 2023-09-22 16:46:41 +02:00
r852.c mtd: rawnand: r852: use DEVICE_ATTR_RO() helper macro 2021-06-18 09:45:21 +02:00
r852.h mtd: rawnand: r852: Move the ECC initialization to ->attach_chip() 2020-11-20 12:30:53 +01:00
renesas-nand-controller.c mtd: rawnand: renesas: Annotate struct rnand_chip with __counted_by 2023-09-22 16:33:31 +02:00
rockchip-nand-controller.c mtd: rawnand: rockchip: Add missing title to a kernel doc comment 2023-12-14 16:41:59 +01:00
s3c2410.c mtd: rawnand: s3c2410: fix Excess struct member description kernel-doc warnings 2023-12-20 10:11:26 +01:00
sh_flctl.c mtd: rawnand: sh_flctl: Convert to module_platform_driver() 2023-10-27 19:43:16 +02:00
sharpsl.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
sm_common.c mtd: always initialize 'stats' in struct mtd_oob_ops 2022-09-21 10:38:07 +02:00
sm_common.h
socrates_nand.c mtd: Explicitly include correct DT includes 2023-07-27 17:03:41 +02:00
stm32_fmc2_nand.c mtd: rawnand: stm32_fmc2: add MP25 support 2024-02-26 11:36:27 +01:00
sunxi_nand.c mtd: rawnand: sunxi: Annotate struct sunxi_nand_chip with __counted_by 2023-09-22 16:33:33 +02:00
tegra_nand.c mtd: rawnand: tegra: add missing check for platform_get_irq() 2023-09-11 17:49:55 +02:00
txx9ndfmc.c mtd: rawnand: txx9ndfmc: Convert to platform remove callback returning void 2023-11-13 12:06:49 +01:00
vf610_nfc.c mtd: Use device_get_match_data() 2023-10-16 11:13:27 +02:00
xway_nand.c mtd: rawnand: Remove unused of_gpio.h inclusion 2023-10-16 11:24:10 +02:00