Re: [PATCH 3/4] doc: uartlite: Add binding for the driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 27, 2018 at 05:53:44PM +0530, Shubhrajyoti Datta wrote:
> Add uartlite binding for the driver
> 
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx>
> ---
>  .../bindings/serial/xlnx,opb-uartlite.txt          | 24 ++++++++++++++++++++++
>  1 file changed, 24 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..df8aba0
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.txt
> @@ -0,0 +1,24 @@
> +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           : Property with a value describing the interrupt
> +                         number.

Just describe how many interrupts, what they are and order.

> +- interrupt-parent     : Must be core interrupt controller.

Doesn't match the example already in bindings/xilinx.txt...

> +
> +Optional properties:
> +- port-number          : Set Uart port number

Nope. Use aliases.

> +
> +Example:
> +serial@800C0000 {

Lower case hex please.

> +       compatible = "xlnx,xps-uartlite-1.00.a";
> +       reg = <0x0 0x800c0000 0x10000>;
> +       interrupt-parent = <&gic>;
> +       interrupts = <0x0 0x6e 0x1>;
> +       port-number = <0>;
> +};
> --
> 2.7.4
> 
> This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux