From: Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Subject: Re: [PATCH v2] devicetree: serial: Add documentation for imx serial
Date: Tue, 21 Aug 2012 13:27:27 -0500 [thread overview]
Message-ID: <5033D30F.5060909@gmail.com> (raw)
In-Reply-To: <1345568699-31842-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
On 08/21/2012 12:04 PM, Fabio Estevam wrote:
> Add documentation for imx serial.
>
> Signed-off-by: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> ---
Applied for 3.7.
Rob
> Changes since v1:
> - Add 'alias' entry
> .../devicetree/bindings/serial/fsl-imx-uart.txt | 35 ++++++++++++++++++++
> 1 file changed, 35 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/serial/fsl-imx-uart.txt
>
> diff --git a/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt b/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt
> new file mode 100644
> index 0000000..c58573b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt
> @@ -0,0 +1,35 @@
> +* Freescale i.MX UART controller
> +
> +Required properties:
> +- compatible : should be "fsl,imx21-uart"
> +- reg : Address and length of the register set for the device
> +- interrupts : Should contain UART interrupt number
> +
> +Optional properties:
> +- fsl,uart-has-rtscts: indicate that RTS/CTS signals are used
> +
> +Note: Each uart controller should have an alias correctly numbered
> +in "aliases" node.
> +
> +Example:
> +
> +- From imx51.dtsi:
> +aliases {
> + serial0 = &uart1;
> + serial1 = &uart2;
> + serial2 = &uart3;
> +};
> +
> +uart1: serial@73fbc000 {
> + compatible = "fsl,imx51-uart", "fsl,imx21-uart";
> + reg = <0x73fbc000 0x4000>;
> + interrupts = <31>;
> + status = "disabled";
> +}
> +
> +- From imx51-babbage.dts:
> +uart1: serial@73fbc000 {
> + fsl,uart-has-rtscts;
> + status = "okay";
> +};
> +
>
next parent reply other threads:[~2012-08-21 18:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1345568699-31842-1-git-send-email-fabio.estevam@freescale.com>
[not found] ` <1345568699-31842-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2012-08-21 18:27 ` Rob Herring [this message]
2012-08-22 5:06 ` [PATCH v2] devicetree: serial: Add documentation for imx serial Shawn Guo
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=5033D30F.5060909@gmail.com \
--to=robherring2-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).