ath79: add gpio-latch driver for MikroTik RouterBOARDs
authorDenis Kalashnikov <denis281089@gmail.com>
Thu, 27 May 2021 08:16:44 +0000 (11:16 +0300)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
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 <juhosg@openwrt.org>.

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

Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Denis Kalashnikov <denis281089@gmail.com>
(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]