Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1736301 > unrolled thread
| Started by | Chris Packham <chris.packham@alliedtelesis.co.nz> |
|---|---|
| First post | 2017-09-21 03:00 +0200 |
| Last post | 2017-09-21 09:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 1/2] uio: dt-bindings: document binding for uio-pdrv-genirq Chris Packham <chris.packham@alliedtelesis.co.nz> - 2017-09-21 03:00 +0200
Re: [PATCH 1/2] uio: dt-bindings: document binding for uio-pdrv-genirq Greg KH <gregkh@linuxfoundation.org> - 2017-09-21 09:30 +0200
| From | Chris Packham <chris.packham@alliedtelesis.co.nz> |
|---|---|
| Date | 2017-09-21 03:00 +0200 |
| Subject | [PATCH 1/2] uio: dt-bindings: document binding for uio-pdrv-genirq |
| Message-ID | <urY0p-21a-1@gated-at.bofh.it> |
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
---
.../bindings/uio/linux,uio-pdrv-genirq.txt | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 Documentation/devicetree/bindings/uio/linux,uio-pdrv-genirq.txt
diff --git a/Documentation/devicetree/bindings/uio/linux,uio-pdrv-genirq.txt b/Documentation/devicetree/bindings/uio/linux,uio-pdrv-genirq.txt
new file mode 100644
index 000000000000..90447905e886
--- /dev/null
+++ b/Documentation/devicetree/bindings/uio/linux,uio-pdrv-genirq.txt
@@ -0,0 +1,28 @@
+*Generic UIO platform driver with interrupts
+
+Required properties:
+- compatible: Should be "linux,uio-pdrv-genirq" or a value set with the of_id
+ module parameter.
+
+Optional properties:
+- interrupts: Should contain the interrupt to be associated with this device
+ (only a single interrupt is supported per device).
+- interrupt-parent: Specifies the phandle to the parent interrupt controller.
+- reg: Should specify the physical address spaces used by this device.
+
+Example:
+
+/* Device with MM IO and interrupt */
+my-device@10000 {
+ compatible = "linux,uio-pdrv-genirq";
+ reg = <0x10000 0x40>;
+ interrupts = <4 IRQ_TYPE_EDGE_BOTH>;
+ interrupt-parent = <&gic>;
+};
+
+/* Device with interrupt only */
+my-int {
+ compatible = "linux,uio-pdrv-genirq";
+ interrupts = <6 IRQ_TYPE_EDGE_BOTH>;
+ interrupt-parent = <&gic>;
+};
--
2.14.1
[toc] | [next] | [standalone]
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2017-09-21 09:30 +0200 |
| Subject | Re: [PATCH 1/2] uio: dt-bindings: document binding for uio-pdrv-genirq |
| Message-ID | <us45P-6eh-1@gated-at.bofh.it> |
| In reply to | #1736301 |
On Thu, Sep 21, 2017 at 12:53:25PM +1200, Chris Packham wrote: > Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> I can't take patches without any changelog text, sorry. thanks, greg k-h
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web