openwrt/target/linux/ath79/patches-4.19
Michal Cieslakiewicz 758a4d1766 ath79: add AR934x NAND Flash Controller driver
This patch contains updated driver for Atheros NAND Flash Controller
written originally by Gabor Juhos for ar71xx (aka 'ar934x-nfc').
ath79 version has adapted to work with kernel 4.19 and Device Tree.
It has also been renamed to 'ar934x-nand' to avoid confusion with
Near-Field Communication technology.
Controller is present on Atheros AR934x SoCs and required for accessing
internal flash storage on routers like Netgear WNDR4300.
This port preserves all NAND programming code while moving platform
configuration to Device Tree and replacing some kernel functions marked
for retirement by 4.19.
Suitable definition is included in 'ar934x.dtsi' ('nand@1b000200' section).

Most important changes to ar71xx version are:
* old kernel sections of code removed
* 'bool swap_dma' provided by platform data is now set by boolean DT
  property 'qca,nand-swap-dma'
* board-supplied (mach-*.c code) platform data removed - its elements
  become either unused, redundant or replaced by DT methods (like reset)
* IRQ is reserved by devm_request_irq() so free_irq() is not needed anymore
* calls to deprecated nand_scan_ident() + nand_scan_tail() function pair
  replaced by using recommended nand_scan() with attach_chip() callback
* ECC is set to hardware by default, can be overriden by standard DT
  'nand-ecc-*' properties (software Hamming or BCH are other options)

This driver has been successfully tested on Netgear WNDR4300 running
experimental ath79 OpenWrt master branch.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
[add reset control]
Signed-off-by: David Bauer <mail@david-bauer.net>
2019-10-20 15:32:53 +02:00
..
004-register_gpio_driver_earlier.patch
403-mtd_fix_cfi_cmdset_0002_status_check.patch kernel: bump 4.19 to 4.19.76 2019-10-04 15:48:28 +02:00
404-mtd-cybertan-trx-parser.patch
405-mtd-tp-link-partition-parser.patch
408-mtd-redboot_partition_scan.patch ath79: fix FIS partition detection for 4.19 kernel 2019-09-01 00:12:03 +02:00
420-net-ar71xx_mac_driver.patch
430-drivers-link-spi-before-mtd.patch
440-mtd-ar934x-nand-driver.patch ath79: add AR934x NAND Flash Controller driver 2019-10-20 15:32:53 +02:00
470-MIPS-ath79-swizzle-pci-address-for-ar71xx.patch
490-usb-ehci-add-quirks-for-qca-socs.patch
900-mdio_bitbang_ignore_ta_value.patch
901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch
910-unaligned_access_hacks.patch kernel: bump 4.19 to 4.19.75 2019-09-24 12:52:05 +02:00
0002-watchdog-ath79-fix-maximum-timeout.patch
0003-leds-add-reset-controller-based-driver.patch
0004-phy-add-ath79-usb-phys.patch
0005-usb-add-more-OF-quirk-properties.patch
0007-irqchip-irq-ath79-intc-add-irq-cascade-driver-for-QC.patch
0008-irqchip-irq-ath79-cpu-drop-OF-init-helper.patch
0011-MIPS-ath79-select-the-PINCTRL-subsystem.patch
0017-dt-bindings-PCI-qcom-ar7100-adds-binding-doc.patch
0018-MIPS-pci-ar71xx-convert-to-OF.patch
0019-dt-bindings-PCI-qcom-ar7240-adds-binding-doc.patch
0020-MIPS-pci-ar724x-convert-to-OF.patch
0021-MIPS-ath79-add-helpers-for-setting-clocks-and-expose.patch
0022-MIPS-ath79-move-legacy-wdt-and-uart-clock-aliases-ou.patch
0023-MIPS-ath79-pass-PLL-base-to-clock-init-functions.patch
0024-MIPS-ath79-make-specifying-the-reference-clock-in-DT.patch
0025-MIPS-ath79-support-setting-up-clock-via-DT-on-all-So.patch
0026-MIPS-ath79-export-switch-MDIO-reference-clock.patch
0027-MIPS-ath79-drop-legacy-IRQ-code.patch kernel: bump 4.19 to 4.19.52 2019-06-18 14:47:53 +02:00
0028-MIPS-ath79-drop-machfiles.patch kernel: bump 4.19 to 4.19.52 2019-06-18 14:47:53 +02:00
0029-MIPS-ath79-drop-legacy-pci-code.patch
0030-MIPS-ath79-drop-platform-device-registration-code.patch
0031-MIPS-ath79-drop-OF-clock-code.patch
0032-MIPS-ath79-sanitize-symbols.patch
0033-spi-ath79-drop-pdata-support.patch
0034-MIPS-ath79-ath9k-exports.patch
0036-GPIO-add-named-gpio-exports.patch kernel: bump 4.19 to 4.19.42 2019-05-13 19:17:41 +02:00
0036-MIPS-ath79-remove-irq-code-from-pci.patch
0037-missing-registers.patch