HI Rob, Thanks for the review. > -----Original Message----- > From: Rob Herring [mailto:robh@xxxxxxxxxx] > Sent: Monday, July 16, 2018 9:33 PM > To: shubhrajyoti.datta@xxxxxxxxx > Cc: linux-serial@xxxxxxxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx; > gregkh@xxxxxxxxxxxxxxxxxxx; jacmet@xxxxxxxxxx; Shubhrajyoti Datta > <shubhraj@xxxxxxxxxx> > Subject: Re: [PATCHv3 4/4] dt-bindings: serial: Add binding for uartlite > > On Mon, Jul 16, 2018 at 10:53:54AM +0530, shubhrajyoti.datta@xxxxxxxxx > wrote: > > From: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx> > > > > Add binding doc for uartlite > > A note that this binding is already in use and was undocumented would be > nice. Done in next version. > > > > > Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx> > > --- > > 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? There is just one interrupt.Fixed in next version. > > > + > > +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? This is a PL (programmable logic ) ip the baud cannot be changed runtime it is decided at design. > > > + > > +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@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