On Wed, Aug 07, 2019 at 05:21:34PM +0800, Rahul Tanwar wrote: > There is a new Intel Atom based Lightning Mountain(LGM) network processor SoC which > reuses Lantiq ASC serial controller IP. This patch adds new compatible string > and its expected property value in order to support the driver for LGM as well. I think it makes sense to convert to YAML before adding new properties. > > Signed-off-by: Rahul Tanwar <rahul.tanwar@xxxxxxxxxxxxxxx> > --- > Documentation/devicetree/bindings/serial/lantiq_asc.txt | 17 +++++++++++++++-- > 1 file changed, 15 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/serial/lantiq_asc.txt b/Documentation/devicetree/bindings/serial/lantiq_asc.txt > index 40e81a5818f6..18b45dd13a61 100644 > --- a/Documentation/devicetree/bindings/serial/lantiq_asc.txt > +++ b/Documentation/devicetree/bindings/serial/lantiq_asc.txt > @@ -1,10 +1,14 @@ > Lantiq SoC ASC serial controller > > Required properties: > -- compatible : Should be "lantiq,asc" > +- compatible : Should be "lantiq,asc" or "intel,lgm-asc" > - reg : Address and length of the register set for the device > -- interrupts: the 3 (tx rx err) interrupt numbers. The interrupt specifier > +- interrupts: > + For "lantiq,asc" - the 3 (tx rx err) interrupt numbers. The interrupt specifier > depends on the interrupt-parent interrupt controller. > + or > + For "intel,lgm-asc" - the common interrupt number for all of tx rx & err interrupts > + followed by level/sense specifier. > > Optional properties: > - clocks: Should contain frequency clock and gate clock > @@ -29,3 +33,12 @@ asc1: serial@e100c00 { > interrupt-parent = <&icu0>; > interrupts = <112 113 114>; > }; > + > +asc0: serial@e0a00000 { > + compatible = "intel,lgm-asc"; > + reg = <0xe0a00000 0x1000>; > + interrupt-parent = <&ioapic1>; > + interrupts = <128 1>; > + clocks = <&cgu0 LGM_CLK_NOC4>, <&cgu0 LGM_GCLK_ASC0>; > + clock-names = "freq", "asc"; > +}; > -- > 2.11.0 > -- With Best Regards, Andy Shevchenko