Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4240794imm; Tue, 25 Sep 2018 13:56:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV63v+zoTP15FMT53xiA3d37tL4V5B6zBpgi8bl8dqY5OJArXud0weN1otQ00Ungqgw7AMwcU X-Received: by 2002:a17:902:a716:: with SMTP id w22-v6mr2851303plq.334.1537908960270; Tue, 25 Sep 2018 13:56:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537908960; cv=none; d=google.com; s=arc-20160816; b=F7la/YrogBJvgSs3q97bhx5qQcVjEZOilYf7QxwI1fGpWgPMX1D39ZMsz9hQ187ic5 ez+9aBoQcSwogGy5QnGBOVFW5w1ywtaCZG8sUwOguNGIF2i0DJblPPgdjohOAUTXprt0 HNJM7HcasJu6EW0EQXLdzysBO7e5+Ho9+CuB7sn9b5zaryWSSOf9ScHmzg2yxTMupcBO 2HMowcx08IdhP1q82R+yFOY9l6CRzcoBjjP5bn9q6PKQpgW/PtjjakpQwo1ztwT6E4C4 kwB/tZZ63jSDjan5ANWfg3Z3mSqX4fouUuK/PSz3Yh19jBcq2mW2RUSchQ9v830BgJwi EU0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=4V4I9cuu0zr7k8htcOxbtJKHIx3sECSRMltRNOfzVhk=; b=ovkecn7WUCU2exYTRSh0pjthVApjTojQd3eApBmFd/7ov9TK4Hi8w4/KXrQxJ1zxvE ViZl049q8YjKnRuqn/ieIOA3J3Z0ghIVVoYNJVtXAMprSXF9vKTpGaUPVVNk0+QHHUuJ O8lEyBs9LO7zcwnghmKT6zMorIuRonUEjX6HiYwh/t4M13gNt7Ho5zlH84sLXZXo0E31 8SqRV3AePV1OXjd7ufMGbtAq9ok/0U5sKrO7TXLoG5Mqh3spT/Pv86uSEBjmKgIK8hBd tXHDyYhPsCQG8SH6BlX6ZT7aXyIhvBXwM9B69hCUhAU1RomawcKiCLu0lB9eCOiIMAwr cXsQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 73-v6si3047685pfx.293.2018.09.25.13.55.44; Tue, 25 Sep 2018 13:56:00 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727048AbeIZDE2 (ORCPT + 99 others); Tue, 25 Sep 2018 23:04:28 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:45825 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726173AbeIZDE2 (ORCPT ); Tue, 25 Sep 2018 23:04:28 -0400 Received: by mail-oi1-f193.google.com with SMTP id d63-v6so2695489oic.12; Tue, 25 Sep 2018 13:55:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4V4I9cuu0zr7k8htcOxbtJKHIx3sECSRMltRNOfzVhk=; b=rUrkCPFkDws5+pBC4w6PF32B1yqpDZ/MWz+axdsMe3TZ9zd4sDcryh1c7tBBsAtymw kQEsPvX0q4B8Hr9cWW4/tb6cHG+g7ZwPoBJgrHBrxpADc5nfUKc8aApdE8A+UT3KeGss UtnmaRUXw4fg+N3PWyOvgCI/oU69NJ7395bDfOpMlgJ/seWjwxBi1QEXJyvNCfmdbr6/ kyuQq8qiDQZsTIK8z3h0BAJESjkkoHgKjsXYskAHonIIOaH9hJdu6dW5Vgpkh2b7QiXm zSGzg0JbxFdt1lUtaM+1aVr0hyVtqTT9qSDCgM2Z1kte4jiwiT3ptlXf+3LTPREadGT7 oeXA== X-Gm-Message-State: ABuFfojxtNyxwmnnkRU2a3Ei/onGi8BTLubHnihhYGnXfYRRTsKdlxO6 waQPvVtkFsD+UmmLcHugsA== X-Received: by 2002:aca:d4cd:: with SMTP id l196-v6mr1685209oig.15.1537908903402; Tue, 25 Sep 2018 13:55:03 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id j2-v6sm1188669ote.50.2018.09.25.13.55.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Sep 2018 13:55:02 -0700 (PDT) Date: Tue, 25 Sep 2018 15:55:02 -0500 From: Rob Herring To: Kunihiko Hayashi Cc: Lorenzo Pieralisi , Bjorn Helgaas , Mark Rutland , Masahiro Yamada , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Masami Hiramatsu , Jassi Brar Subject: Re: [PATCH v2 1/2] dt-bindings: PCI: add UniPhier PCIe host controller description Message-ID: <20180925205502.GA12949@bogus> References: <1536226832-5089-1-git-send-email-hayashi.kunihiko@socionext.com> <1536226832-5089-2-git-send-email-hayashi.kunihiko@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1536226832-5089-2-git-send-email-hayashi.kunihiko@socionext.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 06, 2018 at 06:40:31PM +0900, Kunihiko Hayashi wrote: > Add DT bindings for PCIe controller implemented in UniPhier SoCs when > configured in Root Complex (host) mode. This controller is based on > the DesignWare PCIe core. > > Signed-off-by: Kunihiko Hayashi > --- > .../devicetree/bindings/pci/uniphier-pcie.txt | 78 ++++++++++++++++++++++ > 1 file changed, 78 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pci/uniphier-pcie.txt > > diff --git a/Documentation/devicetree/bindings/pci/uniphier-pcie.txt b/Documentation/devicetree/bindings/pci/uniphier-pcie.txt > new file mode 100644 > index 0000000..a34e167 > --- /dev/null > +++ b/Documentation/devicetree/bindings/pci/uniphier-pcie.txt > @@ -0,0 +1,78 @@ > +Socionext UniPhier PCIe host controller bindings > + > +This describes the devicetree bindings for PCIe host controller implemented > +on Socionext UniPhier SoCs. > + > +UniPhier PCIe host controller is based on the Synopsys DesignWare PCI core. > +It shares common functions with the PCIe DesignWare core driver and inherits > +common properties defined in > +Documentation/devicetree/bindings/pci/designware-pcie.txt. > + > +Required properties: > +- compatible: Should be "socionext,uniphier-pcie". > +- reg: Specifies offset and length of the register set for the device. > + According to the reg-names, appropriate register sets are required. > +- reg-names: Must include the following entries: > + "dbi" - controller configuration registers > + "link" - SoC-specific glue layer registers > + "config" - PCIe configuration space > +- clocks: A phandle to the clock gate for PCIe glue layer including > + the host controller. > +- resets: A phandle to the reset line for PCIe glue layer including > + the host controller. > +- interrupts: A list of interrupt specifiers. According to the > + interrupt-names, appropriate interrupts are required. > +- interrupt-names: Must include the following entries: > + "dma" - DMA interrupt > + "msi" - MSI interrupt > + "intx" - Legacy INTA/B/C/D interrupt > + > +Optional properties: > +- phys: A phandle to generic PCIe PHY. According to the phy-names, appropriate > + phys are required. > +- phy-names: Must be "pcie-phy". > + > +Required sub-node: > +- interrupt-controller: Specifies interrupt controller for legacy PCI > + interrupts. The node name isn't important. No, it is important. With that sentence removed, Reviewed-by: Rob Herring