All of lore.kernel.org
 help / color / mirror / Atom feed
From: jon@ringle.org
To: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: gregkh@linuxfoundation.org, shc_work@mail.ru,
	Jon Ringle <jringle@gridpoint.com>
Subject: [PATCH v7 2/2] serial: sc16is7xx: Add bindings documentation for the SC16IS7XX UARTs
Date: Thu, 24 Apr 2014 20:56:07 -0400	[thread overview]
Message-ID: <1398387367-4047-2-git-send-email-jon@ringle.org> (raw)
In-Reply-To: <1398387367-4047-1-git-send-email-jon@ringle.org>

From: Jon Ringle <jringle@gridpoint.com>

This patch adds the devicetree documentation for the NXP SC16IS7XX UARTs.

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
---
 .../devicetree/bindings/serial/nxp,sc16is7xx.txt   | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/serial/nxp,sc16is7xx.txt

diff --git a/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.txt b/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.txt
new file mode 100644
index 0000000..246c795
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.txt
@@ -0,0 +1,33 @@
+* NXP SC16IS7xx advanced Universal Asynchronous Receiver-Transmitter (UART)
+
+Required properties:
+- compatible: Should be one of the following:
+  - "nxp,sc16is740" for NXP SC16IS740,
+  - "nxp,sc16is741" for NXP SC16IS741,
+  - "nxp,sc16is750" for NXP SC16IS750,
+  - "nxp,sc16is752" for NXP SC16IS752,
+  - "nxp,sc16is760" for NXP SC16IS760,
+  - "nxp,sc16is762" for NXP SC16IS762.
+- reg: I2C address of the SC16IS7xx device.
+- interrupt-parent: The phandle for the interrupt controller that
+  services interrupts for this IC.
+- interrupts: Should contain the UART interrupt
+- clocks: Reference to the IC source clock.
+
+Optional properties:
+- gpio-controller: Marks the device node as a GPIO controller.
+- #gpio-cells: Should be two. The first cell is the GPIO number and
+  the second cell is used to specify the GPIO polarity:
+    0 = active high,
+    1 = active low.
+
+Example:
+        sc16is750: sc16is750@51 {
+                compatible = "nxp,sc16is750";
+                reg = <0x51>;
+                clocks = <&clk20m>;
+                interrupt-parent = <&gpio3>;
+                interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
+                gpio-controller;
+                #gpio-cells = <2>;
+        };
-- 
1.8.5.4

  reply	other threads:[~2014-04-25  0:56 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-25  0:56 [PATCH v7 1/2] serial: sc16is7xx jon
2014-04-25  0:56 ` jon [this message]
2014-04-25 13:21 ` Charles Coldwell
2014-04-25 13:35   ` Alexander Shiyan
2014-04-25 13:35     ` Alexander Shiyan
2014-04-25 14:11     ` Jon Ringle
2014-04-25 13:44   ` Charles Coldwell
2014-04-25 14:08     ` Jon Ringle
2014-04-25 14:24       ` Charles Coldwell
2014-04-25 14:33         ` Alexander Shiyan
2014-04-25 14:33           ` Alexander Shiyan
2014-04-25 14:36           ` Charles Coldwell
2014-04-25 14:41         ` Jon Ringle
2014-04-25 14:54           ` Alexander Shiyan
2014-04-25 16:48         ` One Thousand Gnomes
2014-04-25 17:26 ` Greg KH
2014-04-25 17:26   ` Greg KH
2014-04-25 17:40   ` Alexander Shiyan
2014-04-25 18:24     ` Jon Ringle
2014-04-25 18:28       ` Alexander Shiyan

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=1398387367-4047-2-git-send-email-jon@ringle.org \
    --to=jon@ringle.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jringle@gridpoint.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=shc_work@mail.ru \
    /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.