ath79: add gpio-latch driver for MikroTik RouterBOARDs
authorDenis Kalashnikov <[email protected]>
Thu, 27 May 2021 08:16:44 +0000 (11:16 +0300)
committerKoen Vandeputte <[email protected]>
Fri, 9 Jul 2021 15:14:01 +0000 (17:14 +0200)
commit43723e6db9a5fca33ccdc1f9344cc6f7cf04e7df
tree3db2913eadb89ba18d937020059d5601d9c79e4c
parent3eb34bc2516b0f3e51f5710ab537d13c427ecbb0
ath79: add gpio-latch driver for MikroTik RouterBOARDs

This is a slighty modified version of ar71xx gpio-latch driver
written by Gabor Juhos <[email protected]>.

Changes:
* DTS support,
* New gpio API (gpiod_*).

Reviewed-by: Sergey Ryazanov <[email protected]>
Signed-off-by: Denis Kalashnikov <[email protected]>
(cherry-picked from commit 7b8931678c36c8d8c333b446258a653b1358bf70)
target/linux/ath79/files/drivers/gpio/gpio-latch.c [new file with mode: 0644]
target/linux/ath79/patches-5.4/939-mikrotik-rb91x.patch [new file with mode: 0644]