dt-bindings: gpio: zynqmp: Add binding documentation for modepin
authorPiyush Mehta <piyush.mehta@xilinx.com>
Wed, 22 Sep 2021 13:53:18 +0000 (19:23 +0530)
committerBartosz Golaszewski <brgl@bgdev.pl>
Thu, 23 Sep 2021 08:09:48 +0000 (10:09 +0200)
commitd7f4a65cdf4f671296fab1e5b331fd3f5ab776e5
tree651d5048918bfe124a99e17b8545b1dcc5edf764
parent23c64d7618a7e76e46db99444d184ef75498fb71
dt-bindings: gpio: zynqmp: Add binding documentation for modepin

This patch adds DT binding document for zynqmp modepin GPIO controller.
Modepin GPIO controller has four GPIO pins which can be configurable
as input or output.

Modepin driver is a bridge between the peripheral driver and GPIO pins.
It has set and get APIs for accessing GPIO pins, based on the device-tree
entry of reset-gpio property in the peripheral driver, every pin can be
configured as input/output and trigger GPIO pin.

For more information please refer zynqMp TRM link:
Link: https://www.xilinx.com/support/documentation/user_guides/ug1085-zynq-ultrascale-trm.pdf
Chapter 2: Signals, Interfaces, and Pins
Table 2-2: Clock, Reset, and Configuration Pins - PS_MODE

Signed-off-by: Piyush Mehta <piyush.mehta@xilinx.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml [new file with mode: 0644]