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>
Mon, 21 Jun 2021 08:48:27 +0000 (10:48 +0200)
commit7b8931678c36c8d8c333b446258a653b1358bf70
treef00022f0d3991f06c1dbb8a9b8c328eb3ae5c3ae
parentfd0d9909bf50f114d5e7f7cedf53e542de878a2c
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>
target/linux/ath79/files/drivers/gpio/gpio-latch.c [new file with mode: 0644]
target/linux/ath79/patches-5.10/939-mikrotik-rb91x.patch [new file with mode: 0644]
target/linux/ath79/patches-5.4/939-mikrotik-rb91x.patch [new file with mode: 0644]