public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: shubhrajyoti.datta@gmail.com
Cc: linux-serial@vger.kernel.org, devicetree@vger.kernel.org,
	gregkh@linuxfoundation.org, jacmet@sunsite.dk,
	Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Subject: Re: [PATCHv3 4/4] dt-bindings: serial: Add binding for uartlite
Date: Mon, 16 Jul 2018 10:02:51 -0600	[thread overview]
Message-ID: <20180716160251.GA11275@rob-hp-laptop> (raw)
In-Reply-To: <1531718634-17939-4-git-send-email-shubhrajyoti.datta@gmail.com>

On Mon, Jul 16, 2018 at 10:53:54AM +0530, shubhrajyoti.datta@gmail.com wrote:
> From: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
> 
> Add binding doc for uartlite

A note that this binding is already in use and was undocumented would be 
nice.

> 
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
> ---
> v2:
> lowercase for hex values
> interrupt description updated
> v3:
> squashed the clock changes
> 
>  .../bindings/serial/xlnx,opb-uartlite.txt          | 23 ++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.txt
> 
> diff --git a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.txt b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.txt
> new file mode 100644
> index 0000000..52719b9
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.txt
> @@ -0,0 +1,23 @@
> +Xilinx Axi Uartlite controller Device Tree Bindings
> +---------------------------------------------------------
> +
> +Required properties:
> +- compatible		: Can be either of
> +				"xlnx,xps-uartlite-1.00.a"
> +				"xlnx,opb-uartlite-1.00.b"
> +- reg			: Physical base address and size of the Axi Uartlite
> +			  registers map.
> +- interrupts		: Should contain UART controller interrupts.

How many?

> +
> +Optional properties:
> +- port-number		: Set Uart port number
> +- clock-names		: Should be "s_axi_aclk"
> +- clocks		: Input clock specifier. Refer to common clock bindings.

How do you calc baud rates if this is omitted?

> +
> +Example:
> +serial@800c0000 {
> +	compatible = "xlnx,xps-uartlite-1.00.a";
> +	reg = <0x0 0x800c0000 0x10000>;
> +	interrupts = <0x0 0x6e 0x1>;
> +	port-number = <0>;
> +};
> -- 
> 2.7.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2018-07-16 16:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-16  5:23 [PATCHv3 1/4] tty: serial: uartlite: Add structure for private data shubhrajyoti.datta
2018-07-16  5:23 ` [PATCHv3 2/4] tty: serial: uartlite: Add clock adaptation shubhrajyoti.datta
2018-07-16  5:23 ` [PATCHv3 3/4] tty: serial: uartlite: Add support for suspend and resume shubhrajyoti.datta
2018-07-16  5:23 ` [PATCHv3 4/4] dt-bindings: serial: Add binding for uartlite shubhrajyoti.datta
2018-07-16 16:02   ` Rob Herring [this message]
2018-07-18  5:42     ` Shubhrajyoti Datta
2018-08-06  8:57     ` Maarten Brock
  -- strict thread matches above, loose matches on Subject: below --
2018-07-18  5:40 [PATCHv4 1/4] tty: serial: uartlite: Add structure for private data Shubhrajyoti Datta
2018-07-18  5:41 ` [PATCHv3 4/4] dt-bindings: serial: Add binding for uartlite Shubhrajyoti Datta

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=20180716160251.GA11275@rob-hp-laptop \
    --to=robh@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jacmet@sunsite.dk \
    --cc=linux-serial@vger.kernel.org \
    --cc=shubhrajyoti.datta@gmail.com \
    --cc=shubhrajyoti.datta@xilinx.com \
    /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