Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: gpio: Document GPIOs via Moxtet bus

This patch adds documentation of the device tree bindings for GPIOs
on the devices connected via Moxtet bus.

Link: https://lore.kernel.org/r/20190812161118.21476-6-marek.behun@nic.cz
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Marek Behún and committed by
Arnd Bergmann
8c9e465b 856ed97a

+19
+18
Documentation/devicetree/bindings/gpio/gpio-moxtet.txt
··· 1 + Turris Mox Moxtet GPIO expander via Moxtet bus 2 + 3 + Required properties: 4 + - compatible : Should be "cznic,moxtet-gpio". 5 + - gpio-controller : Marks the device node as a GPIO controller. 6 + - #gpio-cells : Should be two. For consumer use see gpio.txt. 7 + 8 + Other properties are required for a Moxtet bus device, please refer to 9 + Documentation/devicetree/bindings/bus/moxtet.txt. 10 + 11 + Example: 12 + 13 + moxtet_sfp: gpio@0 { 14 + compatible = "cznic,moxtet-gpio"; 15 + gpio-controller; 16 + #gpio-cells = <2>; 17 + reg = <0>; 18 + }
+1
MAINTAINERS
··· 1633 1633 F: Documentation/ABI/testing/debugfs-moxtet 1634 1634 F: Documentation/ABI/testing/sysfs-bus-moxtet-devices 1635 1635 F: Documentation/devicetree/bindings/bus/moxtet.txt 1636 + F: Documentation/devicetree/bindings/gpio/gpio-moxtet.txt 1636 1637 F: include/linux/moxtet.h 1637 1638 F: drivers/bus/moxtet.c 1638 1639 F: drivers/gpio/gpio-moxtet.c