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 15:14:01 +0000 (17:14 +0200)
commitbd2e070557cfa0dd77ee0f726cdab262c82cd5c1
tree11272dbf9d8ef597c58c600431df0c1da10b6ebd
parent43723e6db9a5fca33ccdc1f9344cc6f7cf04e7df
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