ath79: add NAND driver for MikroTik RB91xG series
authorDenis Kalashnikov <[email protected]>
Thu, 27 May 2021 08:16:45 +0000 (11:16 +0300)
committerKoen Vandeputte <[email protected]>
Fri, 9 Jul 2021 11:15:17 +0000 (13:15 +0200)
commit86b7359860321fd634ecc6497812de9fcff611a6
tree11272dbf9d8ef597c58c600431df0c1da10b6ebd
parentb41da906ff0be46f0efb61176c94b3690a3a0722
ath79: add NAND driver for MikroTik RB91xG series

Main part is copied from ar71xx original driver rb91x_nand
written by Gabor Juhos <[email protected]>.

What is done:
* Support of kernel 5.4 and 5.10,
* DTS support,
* New gpio API (gpiod_*) support.

Reviewed-by: Sergey Ryazanov <[email protected]>
Signed-off-by: Denis Kalashnikov <[email protected]>
(cherry-picked from commit 820e660cd7463aa6d5ed9d31baf0f3c35596ce57)
target/linux/ath79/files/drivers/mtd/nand/raw/rb91x_nand.c [new file with mode: 0644]
target/linux/ath79/mikrotik/config-default
target/linux/ath79/patches-5.4/939-mikrotik-rb91x.patch