Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp113653ybn; Thu, 3 Oct 2019 02:24:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXJVQK2TxY49f7Nmz+VFGepwZefkZe26sA8nXtJMgUyHtHPF9/nIsWvHZ9xT7/qS8bvJQN X-Received: by 2002:a50:f78a:: with SMTP id h10mr8416109edn.161.1570094663491; Thu, 03 Oct 2019 02:24:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570094663; cv=none; d=google.com; s=arc-20160816; b=YrJo9hBZ0fNxNwxFcxcWDpWV6zcqTqwpvDdagCR1dEVx65x2ABA3L40KRc6tRdfwbM wwjLK20IgL40Q/m2UwSxl4qq7QmzmOhqscIifgrrciAavtqB9ZEmVYHIKa1Dzxd+WBuY a3XrRtlCHgQWIISRX1MrvECta+nLbeDeoIEPPuAxTcerW0SUKdh2ntgkRvI2eYabL18Y gO5fZYorTpAZKhg2xMp33IFUrHV43kId1uC2wZBBh3F/Z+o67DVGOal2sMSGfpQfDBw/ 2NN6Xu3KH7jT8xW9JHyHDW+GE/i+3Q42TRy534QeXAt+4vkykJqgUnCUdfHIA9aeAjYk RzHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ql/E6rc9A3I9gyABQHLE52Zd4X9REf/kICDg7XOYGik=; b=Ofg8Dkc5shUfrJ7/0gC3A8uuDzksElHszYU9nuob0tyvV3rZG96xGidAzJjLXOMPJ+ //iPpd6eKpMVNXLgciAQgGPmBitkLZFcxyOfyZcxcC2fUoCAGzwHu5fUieGryeRpoHZu V/Xd2tGD3qpFGm2oMPSV2Q2qiLl69po9EfmDaMryXSJew/BB/GvssA4ltbz4gCpusIzO 8i/I9tOa231T8c/XDPst6kehyGi76jgmdfJRN3+NxsJWKrr/zFD8NDmXGBLTF5uJwxur AN4K/9kot8DC8y8//OQLBJV9y4WQRSCby24qy+yvuyqfMDfCr54tIpkmIzMeFx4tly9u LruA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@antmicro-com.20150623.gappssmtp.com header.s=20150623 header.b=v2HHfNAp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4si1064290edm.183.2019.10.03.02.23.45; Thu, 03 Oct 2019 02:24:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@antmicro-com.20150623.gappssmtp.com header.s=20150623 header.b=v2HHfNAp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729036AbfJCJXm (ORCPT + 99 others); Thu, 3 Oct 2019 05:23:42 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:43145 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727611AbfJCJXl (ORCPT ); Thu, 3 Oct 2019 05:23:41 -0400 Received: by mail-io1-f65.google.com with SMTP id v2so3823912iob.10 for ; Thu, 03 Oct 2019 02:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antmicro-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ql/E6rc9A3I9gyABQHLE52Zd4X9REf/kICDg7XOYGik=; b=v2HHfNAp37tUO/97CLX3Y+b++M4et7dddSBiL/xijFHG7gL94qkdnPb+jIPpIit9Lt jUS3ZbL7wNWxPMTfXACVJY5iEVWfk3/vF7SqJEL/bvszyrNkaidmxHCBrvktmDjAEzdH jODFetEB7zurunTHadEiSGp3S9TlkRurEM59Oo74PepRKXk+gxE98IgSfG6DsZQYSNnb mOct/FQOKHZSMv3bTGr8HfMQrsnEL/nVyy/so7FmEKIhxCgmsrFUAMkLqQV8gNI6qSBI ss1cFOwMwGX7Za4fWh/t7Hp59IFOC3CysJ06L7e2TQ5gE2j6GOQPZAsF8d8E/QmrMarQ YKVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ql/E6rc9A3I9gyABQHLE52Zd4X9REf/kICDg7XOYGik=; b=gpkt3NWtvBV2HxS9HZmr9MjwVNMlq9Fg4M4WVoLNMbD3vzH2GGaNEydlh6TJjBzSWy aJyghtNA63JgQYkj36kuZ9YKAGQ4yCZclDOU1PxubDB5uhEigunODp4hqkA10wjKspEe vgIAzfWR1kj4dR+KNO/cytY2hMYb98R2tRcZRD8t9KKQLHSaPy/F9KrucXoU/aWb+pUd mn5isqnLXb+PNCcbLkETwCEHe1QxzD7qNtVkZoWhIBDd49qzb01h9TZd0QTjyudS4bct iE9pFUKQvPMMDvQgPiIjEZH2m3Jtf3giBiDai7ZOmCKZSiix/vjnhG3kK1BJlRfZT2Hh q3rg== X-Gm-Message-State: APjAAAV7I7uXCq2ZDAdOMNNqr/hFrfrqUVFGlIfsrgGSKetXvEw/IDGM 6a0i9OlN1YnPk9axYNaNEi3sZTjxscMh8Nbqe20e1w== X-Received: by 2002:a5e:990f:: with SMTP id t15mr7352985ioj.270.1570094620200; Thu, 03 Oct 2019 02:23:40 -0700 (PDT) MIME-Version: 1.0 References: <20190930130430.GA9080@localhost.localdomain> In-Reply-To: From: Mateusz Holenko Date: Thu, 3 Oct 2019 11:23:29 +0200 Message-ID: Subject: Re: [PATCH 2/3] dt-bindings: serial: document LiteUART bindings To: Rob Herring Cc: Greg Kroah-Hartman , Mark Rutland , "open list:SERIAL DRIVERS" , devicetree@vger.kernel.org, Karol Gugala , Jiri Slaby , "linux-kernel@vger.kernel.org" , Maxime Ripard , Shawn Guo , Heiko Stuebner , Sam Ravnborg , Laurent Pinchart , Icenowy Zheng , Mauro Carvalho Chehab , "David S. Miller" , "Paul E. McKenney" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pon., 30 wrz 2019 o 23:32 Rob Herring napisa=C5=82(a): > > On Mon, Sep 30, 2019 at 8:04 AM Mateusz Holenko w= rote: > > > > From: Filip Kokosinski > > > > Add documentation for LiteUART devicetree bindings. > > > > Signed-off-by: Filip Kokosinski > > Signed-off-by: Mateusz Holenko > > --- > > .../devicetree/bindings/serial/litex,liteuart.txt | 12 ++++++++++++ > > MAINTAINERS | 6 ++++++ > > 2 files changed, 18 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/serial/litex,lite= uart.txt > > Please make this a schema. See > Documentation/devicetree/writing-schema.rst (or .md before 5.4). Ok. We will rewrite it. > > > > diff --git a/Documentation/devicetree/bindings/serial/litex,liteuart.tx= t b/Documentation/devicetree/bindings/serial/litex,liteuart.txt > > new file mode 100644 > > index 000000000..13c71a0c9 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/serial/litex,liteuart.txt > > @@ -0,0 +1,12 @@ > > +LiteUART serial controller > > + > > +Required properties: > > +- compatible: should be "litex,liteuart" > > Only 1 version? For the time being there is only one flavor. > > +- reg: base address and length of the register set for this device > > Is there really no interrupt line? That should be added if there's h/w > support even if the driver doesn't yet support it. > > > + > > +Example: > > + > > +uart0: serial@f0001000 { > > Wrong unit address. Should be "@e0001800". Right, address should be consistent with the one in 'reg'. > > > + compatible =3D "litex,liteuart"; > > + reg =3D <0xe0001800 0x100>; > > +}; > > diff --git a/MAINTAINERS b/MAINTAINERS > > index b2326dece..65a6cf296 100644 > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -9462,6 +9462,12 @@ F: Documentation/misc-devices/lis3lv02d.rs= t > > F: drivers/misc/lis3lv02d/ > > F: drivers/platform/x86/hp_accel.c > > > > +LITEX PLATFORM > > +M: Karol Gugala > > +M: Mateusz Holenko > > +S: Maintained > > +F: Documentation/devicetree/bindings/serial/litex,liteuart.txt > > + > > LIVE PATCHING > > M: Josh Poimboeuf > > M: Jiri Kosina > > -- > > 2.23.0 > > Thanks for your comments. I'll address the remarks in V2 of the patchset after receiving a response on the rest of the patches. -- Mateusz Holenko mobile: +48 606 791 789 Antmicro Ltd | www.antmicro.com Zwierzyniecka 3, 60-813 Poznan, Poland