gpio: add gpio-hog support
authorHeiko Schocher <hs@denx.de>
Wed, 12 Jun 2019 04:11:46 +0000 (06:11 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 13 Jul 2019 15:11:30 +0000 (11:11 -0400)
commit5fc7cf8c8e268590f3b0037eecea7f6798209f78
tree73ec4655db11a32f1fe7a8495b9c42d81093de76
parent42f15397275c6341abbdbb7a2d1188992274c5bb
gpio: add gpio-hog support

add gpio-hog support. GPIO hogging is a mechanism
providing automatic GPIO request and configuration
as part of the gpio-controller's driver probe function.

for more infos see:
doc/device-tree-bindings/gpio/gpio.txt

Signed-off-by: Heiko Schocher <hs@denx.de>
Tested-by: Michal Simek <michal.simek@xilinx.com> (zcu102)
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
common/board_r.c
doc/device-tree-bindings/gpio/gpio.txt
drivers/gpio/Kconfig
drivers/gpio/gpio-uclass.c
include/asm-generic/gpio.h