Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10026556imu; Wed, 5 Dec 2018 14:43:31 -0800 (PST) X-Google-Smtp-Source: AFSGD/WJpbmW6mOD6nckHJBDEI94YclBcpsHJ7PQ+zdRqoYk7IpAhq1QW+rYF8Hya24/rz6atB83 X-Received: by 2002:a17:902:784d:: with SMTP id e13mr26385220pln.188.1544049811599; Wed, 05 Dec 2018 14:43:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544049811; cv=none; d=google.com; s=arc-20160816; b=wVohLHsC3f64mUL2qHu6jYlQefPUK3wILEu3UqfKDop4wgzudWf5Tsc/dAKfX8NUbo huRWvlByXI1ERVsdfSRo5UP83L5nZ/KQpS7+NiXDNqbBwzWkAga58H93YJjlmDawdTaD UuzQF588ek8hacovdnxvrQ5JZm4FU9me70jEF/nQKDrEmThgiRLq4uQR6CKxGkTJ9Mim 9H+/Cy5XM3erDewRd/rVnG/Oar2Bm/vAJx6z41lH7qkhvEts/ivAfZsfpuGCQJWN3/wc DoLXR8sM8O3iBj7bretCoEOTsBX+AbvNNG71FK7iiQImrUuNSoeAKTPJiGz1tIPyO0EL 3LVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=RavMlGmtdKjVz2lw2kwlnqxqZFov3m+UDOOuFmgWEaY=; b=R+zn9Uy5ZQU8FWHytaywe15HzNEdBNOeTWvDFapkPzyLjTBcEdpqn0c0GPCIN8VUcB r+WILBgJkh1XrXkdaZCD4fRDQNVGGJpiitQECgjA9UjeumP21xfPC0mNdVKZ5vXsPxzC UwjRIEtaFm10n7TxFecTWxfmB38pQFf6Ee/FGadjHRSFPZyPYtXA7T1KrlMDHHBNQNwG DN0OBhCJZme7a4AHJCDHbilHkhq9z3TSb0cqyTIvohqfVCH8J0iDpGKjt7zQc6/x6VmN uKYECHgGn4K+DSfCuMJ4fDtAxH0Fbk0SDgW65Argag7TMSMXrC2Dgp9O9H14LEpcrse5 3KyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Km9S9fCI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 133si22413309pfw.64.2018.12.05.14.43.16; Wed, 05 Dec 2018 14:43:31 -0800 (PST) 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=@kernel.org header.s=default header.b=Km9S9fCI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728748AbeLEWlE (ORCPT + 99 others); Wed, 5 Dec 2018 17:41:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:41492 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727337AbeLEWlD (ORCPT ); Wed, 5 Dec 2018 17:41:03 -0500 Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A41F320989; Wed, 5 Dec 2018 22:41:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544049662; bh=QGid9c8fcmYrIrtsqICzM5hBjYULD6bUpSZfRiAxfbw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Km9S9fCI68QsJOnhn+KUzVDICYMEWArrMxjLPw5f/kmjvSrE5/ti6DikCjDlG7kUp A9VWjCZpxN2rDePF2yUBlR4pF49mG/5I7ILMO7q/8HnIeWXABzjUFDhQqKQFDFfymh mEkW6kQuBWM+c4jw7sRBAgfToqupfQnpAFdWWaPE= Received: by mail-qt1-f179.google.com with SMTP id n21so24245503qtl.6; Wed, 05 Dec 2018 14:41:02 -0800 (PST) X-Gm-Message-State: AA+aEWbKXIOKL2H9lABM1LKEc5Ym3LdVkVXyxDZSeb8lJ3RcxMF7PQc6 4sLJsY7cmahC3Wn8NwTBwTKtkvkSZawmmeMQRg== X-Received: by 2002:a0c:e2ca:: with SMTP id t10mr26328965qvl.77.1544049661848; Wed, 05 Dec 2018 14:41:01 -0800 (PST) MIME-Version: 1.0 References: <20181120092615.11680-1-Zhiqiang.Hou@nxp.com> <20181120092615.11680-23-Zhiqiang.Hou@nxp.com> <20181205223843.GA2125@bogus> In-Reply-To: <20181205223843.GA2125@bogus> From: Rob Herring Date: Wed, 5 Dec 2018 16:40:49 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCHv2 22/25] dt-bindings: pci: Add NXP Layerscape SoCs PCIe Gen4 controller To: "Z.Q. Hou" Cc: linux-pci@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Bjorn Helgaas , Mark Rutland , Subrahmanya Lingappa , Shawn Guo , Yang-Leo Li , Lorenzo Pieralisi , Catalin Marinas , Will Deacon , Mingkai Hu , Minghuan Lian , Xiaowei Bao Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 5, 2018 at 4:38 PM Rob Herring wrote: > > On Tue, Nov 20, 2018 at 09:27:51AM +0000, Z.q. Hou wrote: > > From: Hou Zhiqiang > > > > Add PCIe Gen4 controller DT bindings of NXP Layerscape SoCs. > > > > Signed-off-by: Hou Zhiqiang > > --- > > V2: > > - Change to use the layerscape-pci.txt for PCIe Gen4 controller > > dt-bindings > > Sorry someone suggested this, but it seems there's no point in having > these in the same file. New IP block, do a new file. > > > > > .../bindings/pci/layerscape-pci.txt | 57 +++++++++++++++++++ > > MAINTAINERS | 8 +++ > > 2 files changed, 65 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/pci/layerscape-pci.txt b/Documentation/devicetree/bindings/pci/layerscape-pci.txt > > index 66df1e81e0b8..3ef8836b6e97 100644 > > --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt > > +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt > > @@ -1,4 +1,6 @@ > > +==================================== > > Freescale Layerscape PCIe controller > > +==================================== > > > > This PCIe host controller is based on the Synopsys DesignWare PCIe IP > > and thus inherits all the common properties defined in designware-pcie.txt. > > @@ -58,3 +60,58 @@ Example: > > <0000 0 0 3 &gic GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, > > <0000 0 0 4 &gic GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; > > }; > > + > > +=================================== > > +NXP Layerscape PCIe Gen4 controller > > +=================================== > > + > > +This PCIe controller is based on the Mobiveil PCIe IP and thus inherits all > > +the common properties defined in mobiveil-pcie.txt. > > + > > +Required properties: > > +- compatible: should contain the platform identifier such as: > > + "fsl,lx2160a-pcie" > > +- reg: base addresses and lengths of the PCIe controller register blocks. > > + "config_axi_slave": PCIe controller registers > > + "csr_axi_slave": Bridge config registers > > Wouldn't 'config' and 'csr' be sufficient? And these should be listed > under reg-names. NM on the names. I see these are inherited. Rob