From: "Marek Behún" <marek.behun@nic.cz>
To: Olof Johansson <olof@lixom.net>
Cc: arm@kernel.org, linux-arm-kernel@lists.infradead.org,
"Marek Behún" <marek.behun@nic.cz>
Subject: [PATCH v5 armsoc/drivers/bus+gpio 0/5] Add Moxtet bus and GPIO over Moxtet bus
Date: Sun, 28 Apr 2019 23:37:44 +0200 [thread overview]
Message-ID: <20190428213749.7017-1-marek.behun@nic.cz> (raw)
Hello,
this is the fifth version of patches to support the Moxtet bus and
GPIOs over it. Moxtet is a Turris Mox specific tiny bus over SPI.
These patches apply to current arm-soc/for-next, linux/master, linux-gpio/devel
and arm-soc/arm/drivers.
Marek
Changes since v4:
- updated dt-bindings documentation as requested by Rob Herring
- added Reviewed-by tags from Linus Walleij and Rob Herring
Changes since v3:
- added module_description file in /sys/bus/moxtet/devices/*/
- moved debugging into debugfs:
- removed input_value and output_value debug files from
/sys/bus/moxtet/devices/*/
- added input and output debug files to debugfs/moxtet
- added support for interrupts into moxtet driver:
Some modules send interrupt via a shared line for all modules.
In addition to this, they also send interrupt information via the SPI
shift register, so that the system can distinguish which modules exactly
sent it and won't have to check all modules.
This is also needed to fix some bugs when one module sent IRQ and then
another module sent another IRQ before the first was handled by the system,
but the handling was already in progress. Since the shared line is
falling-edge, the second IRQ was never handled.
- since moxtet driver is now also interrupt controller, device-tree binding
documentation is also changed
Changes since v2:
- addressed the issues in device tree documentation pointed by Rob Herring
- cosmetic changes suggested by Linus Walleij
- added sysfs ABI documentation for /sys/bus/moxtet/devices attribute files
as suggested by Linus Walleij
Marek Behún (5):
bus: Add support for Moxtet bus
dt-bindings: bus: Document moxtet bus binding
bus: moxtet: Add sysfs and debugfs documentation
drivers: gpio: Add support for GPIOs over Moxtet bus
dt-bindings: gpio: Document GPIOs via Moxtet bus
Documentation/ABI/testing/debugfs-moxtet | 23 +
.../ABI/testing/sysfs-bus-moxtet-devices | 17 +
.../devicetree/bindings/bus/moxtet.txt | 46 +
.../devicetree/bindings/gpio/gpio-moxtet.txt | 18 +
MAINTAINERS | 12 +
drivers/bus/Kconfig | 10 +
drivers/bus/Makefile | 1 +
drivers/bus/moxtet.c | 886 ++++++++++++++++++
drivers/gpio/Kconfig | 9 +
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-moxtet.c | 179 ++++
include/dt-bindings/bus/moxtet.h | 16 +
include/linux/moxtet.h | 109 +++
13 files changed, 1327 insertions(+)
create mode 100644 Documentation/ABI/testing/debugfs-moxtet
create mode 100644 Documentation/ABI/testing/sysfs-bus-moxtet-devices
create mode 100644 Documentation/devicetree/bindings/bus/moxtet.txt
create mode 100644 Documentation/devicetree/bindings/gpio/gpio-moxtet.txt
create mode 100644 drivers/bus/moxtet.c
create mode 100644 drivers/gpio/gpio-moxtet.c
create mode 100644 include/dt-bindings/bus/moxtet.h
create mode 100644 include/linux/moxtet.h
--
2.21.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2019-04-28 21:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-28 21:37 Marek Behún [this message]
2019-04-28 21:37 ` [PATCH v5 armsoc/drivers/bus+gpio 1/5] bus: Add support for Moxtet bus Marek Behún
2019-04-28 21:37 ` [PATCH v5 armsoc/drivers/bus+gpio 2/5] dt-bindings: bus: Document moxtet bus binding Marek Behún
2019-04-28 21:37 ` [PATCH v5 armsoc/drivers/bus+gpio 3/5] bus: moxtet: Add sysfs and debugfs documentation Marek Behún
2019-04-28 21:37 ` [PATCH v5 armsoc/drivers/bus+gpio 4/5] drivers: gpio: Add support for GPIOs over Moxtet bus Marek Behún
2019-04-28 21:37 ` [PATCH v5 armsoc/drivers/bus+gpio 5/5] dt-bindings: gpio: Document GPIOs via " Marek Behún
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190428213749.7017-1-marek.behun@nic.cz \
--to=marek.behun@nic.cz \
--cc=arm@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=olof@lixom.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.