[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210615080553.2021061-1-piyush.mehta@xilinx.com>
Date: Tue, 15 Jun 2021 13:35:51 +0530
From: Piyush Mehta <piyush.mehta@...inx.com>
To: <linus.walleij@...aro.org>, <bgolaszewski@...libre.com>,
<robh+dt@...nel.org>, <linux-gpio@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <linux-arm-kernel@...ts.infradead.org>, <git@...inx.com>,
<sgoud@...inx.com>, <michal.simek@...inx.com>,
Piyush Mehta <piyush.mehta@...inx.com>
Subject: [PATCH 0/2] gpio: modepin: Add driver support for modepin GPIO controller
This patch adds support for the mode pin GPIO controller and documented
for the same. GPIO Modepin driver set and get the value and status of
the PS_MODE pin, based on device-tree pin configuration.
These 4-bits boot-mode pins are dedicated configurable as input/output.
After the stabilization of the system,these mode pins are sampled.
Piyush Mehta (2):
dt-bindings: gpio: Add binding documentation for modepin
gpio: modepin: Add driver support for modepin GPIO controller
.../bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml | 41 ++++++
drivers/gpio/Kconfig | 12 ++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-zynqmp-modepin.c | 154 +++++++++++++++++++++
4 files changed, 208 insertions(+)
create mode 100644 Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml
create mode 100644 drivers/gpio/gpio-zynqmp-modepin.c
--
2.7.4
Powered by blists - more mailing lists