Received: by 10.192.165.156 with SMTP id m28csp1129390imm; Mon, 16 Apr 2018 14:44:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/pA4FKjbNsXNenysbVwOXttBwwOGgCCgnMegycFhQr9o7zvB7BVtFKEDuee/2KO9soTCgy X-Received: by 10.99.113.26 with SMTP id m26mr14451568pgc.364.1523915091556; Mon, 16 Apr 2018 14:44:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523915091; cv=none; d=google.com; s=arc-20160816; b=DtxvilWdd4J+rWf/pZ13kXpaAMcIrV2t5gY6sixGyqQGFGntZpdKNU0fXa5n5lt/0B yWuBbp17BzK/s/c5aHGB/FwOsE+/kOZR5vIi00MH3Ep82luMFdrX4sZp2KB79pJX/nEq qU/Knz0YqVtYnQ1Q0r/gyniIVL47l87oReET1ppkyGnloXQ+UiTTYfkf7P1EE2HIwMoT GOiJsTwYefbdSXARdFCprBwpfLCzt7Ca8TK9mpqO8W3e2MxH7m8cUcfkFscMTsDy79dO FXSwZV5x5wX7tqYPUVHJXf2JECycwYjcy2camPqnqT82RPQNbmuRJFsQm7zYtumCWr4u FIMQ== 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:arc-authentication-results; bh=ZSA6UaSPXYLmOFHJqljjSUC9uMbjIUgYX5IcZCqn3co=; b=JGhRiDqMjWftLmN6cF7O/6lZrJL5bkiDG7lJhEtJNhQYh2GT/FxaOMv9f24D218y1O cLQAY0qVVXpiuDWdV5wIj697WXwe2MDfsY9lHaEfbHD5sW1IR6UHlQ965L3EHX/pPYWZ DBFUsyDS0IeRnCL6GtZCwjiDxrCSI3WHNq7+QV6qD6Wx7PRbGmT/FMi7WcnhfycLXd3+ N1i8dAe2tcT+WA3Jm+XN6WiPbIkYNRNbstxKQP9DjBqSiKhi6L6kbD0pWoNv+jpPHRix zLdjbXU1lic0KttIsPoSM/ORtQvlC04oriAaEWJqNnYVl5bQ/00FlZNNwJbaUv3J7Ol5 qLIg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d128si10419979pgc.445.2018.04.16.14.44.36; Mon, 16 Apr 2018 14:44:51 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752040AbeDPVn1 (ORCPT + 99 others); Mon, 16 Apr 2018 17:43:27 -0400 Received: from mail-ot0-f195.google.com ([74.125.82.195]:42769 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751110AbeDPVn0 (ORCPT ); Mon, 16 Apr 2018 17:43:26 -0400 Received: by mail-ot0-f195.google.com with SMTP id h55-v6so19123066ote.9; Mon, 16 Apr 2018 14:43:25 -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=ZSA6UaSPXYLmOFHJqljjSUC9uMbjIUgYX5IcZCqn3co=; b=V9T/3cWXeNkfSeFvUGDerRuKQipWhyObZ5mM38B+ubKUhzALA9ekobxxTEL6u1W+jZ ZLa3X1scurT3Towx55nmg2Ipflf163CqlFfym9ksOkhHbiJkzTE50xm5FFLSDv+3BkWs IT1zDXVN6PXTDgI+6HZWpq7nXYvO/KV3m4o0s3VcuotlpujMJ3roiR5V7HzEEjDzHK7b x5jk2gLawgF51yvDyCHDVtqNXS+G979LH5Y6hVPWijNHE9l5tZ674g1oAz6/4fS/9ZNP rPcrMUMJa5XX1Jph9JmkccJJibe06JB2RCT5XpimkuZ1Q6H4uRI6XKrnUwRagmQqWKS8 Daaw== X-Gm-Message-State: ALQs6tBYwui1VqVTKn6zF3NTmgEmtAaVVP/hYUo5DBAn1jfbhhU3loyW gOxXrBvCpmsvEja+r8XK7mf2WILpOQ== X-Received: by 2002:a9d:70d5:: with SMTP id w21-v6mr10909235otj.147.1523915005413; Mon, 16 Apr 2018 14:43:25 -0700 (PDT) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id u32-v6sm8044604otb.9.2018.04.16.14.43.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Apr 2018 14:43:24 -0700 (PDT) Date: Mon, 16 Apr 2018 16:43:24 -0500 From: Rob Herring To: Gustavo Pimentel Cc: bhelgaas@google.com, lorenzo.pieralisi@arm.com, Joao.Pinto@synopsys.com, jingoohan1@gmail.com, kishon@ti.com, mark.rutland@arm.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v4 04/10] bindings: PCI: designware: Add support for the EP in Designware driver Message-ID: <20180416214324.wcyghdwejucoutki@rob-hp-laptop> References: <7d3445e3f8bb15d27987e0d061275d7d69f2c519.1523881182.git.gustavo.pimentel@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7d3445e3f8bb15d27987e0d061275d7d69f2c519.1523881182.git.gustavo.pimentel@synopsys.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 16, 2018 at 03:37:52PM +0100, Gustavo Pimentel wrote: > Add device tree binding documentation for the Endpoint in PCIe Designware > driver. > > Signed-off-by: Gustavo Pimentel > --- > Change v1->v2: > - Add a missing log description. > - Add "snps,dw-pcie" compatible string following Kishon's suggestion. > Change v2->v3: > - Reverted pcie_ep name to pcie. > Changes v3->v4: > - Reverted "snps,dw-pcie-rc" compatible string requested by Rob Herring. > > Documentation/devicetree/bindings/pci/designware-pcie.txt | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt > index 7f9804d..980fc9a 100644 > --- a/Documentation/devicetree/bindings/pci/designware-pcie.txt > +++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt > @@ -3,6 +3,7 @@ > Required properties: > - compatible: > "snps,dw-pcie" for RC mode; > + "snps,dw-pcie-ep" for EP mode; > - reg: Should contain the configuration address space. > - reg-names: Must be "config" for the PCIe configuration space. > (The old way of getting the configuration address space from "ranges" > @@ -56,3 +57,15 @@ Example configuration: > #interrupt-cells = <1>; > num-lanes = <1>; > }; > +or > + pcie: pcie@dfc00000 { > + compatible = "snps,dw-pcie-ep"; > + reg = <0xdfc00000 0x0001000>, /* IP registers 1 */ > + <0xdfc01000 0x0001000>, /* IP registers 2 */ > + <0xd0000000 0x2000000>; /* Configuration space */ > + reg-names = "dbi", "dbi2", "addr_space"; > + device_type = "pci"; This should not be present for endpoints. With that dropped, Reviewed-by: Rob Herring > + num-ib-windows = <6>; > + num-ob-windows = <2>; > + num-lanes = <1>; > + }; > -- > 2.7.4 > >