Received: by 10.213.65.68 with SMTP id h4csp336404imn; Wed, 28 Mar 2018 04:40:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx482aSp9Tge2X5DFuGLipJmWfWL79B7EpeJlm3/M8KdAP3Nn3N/QiLTeA2VdJ8UV+RIxOgJC X-Received: by 10.98.171.7 with SMTP id p7mr2703650pff.215.1522237252074; Wed, 28 Mar 2018 04:40:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522237252; cv=none; d=google.com; s=arc-20160816; b=X3zg7yzGIozwPhmVtFMto3VG20XogWEpp4sFeS1hYmRqeI9eD3GfAdxa4ZjeY2fkkm iBqUchcs0CwgAi87owu6zUMNT+vQPMUh51Np2Fd+aehFE69U3yYhEiycBlfWSsnjxrJS re9a6KIq/K9Z5YkrlBqwi1WmGBsy3JWHAyW8UNEf30HKutTAGNrb9ZvujzyakpzG0hbq mQAWZ536MDADuajPAg1o61HNVWYxIZWaNNomEgxMLmAgj1f6Sr8Wg6CDGxtaQVpjQPgw qkWPn27UFcq3oRj3Jj8kWwlqU9RxWD2qksnyi9Xtgp07/L2rYdHULJug9XIAOTMIvJ6s fJiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=THs0OXBMgjHwj3dNmCbc/DUWuKZWgOhGJI2A3h/LKNo=; b=Hgq2hB+V6my4Nb6L26qGwmKsXZ3wHr+Eix7nLn4IOliFxlZ5Y5UmOZIoQ2kgY2qAvM 5h4rd1XUo+E7UchHqR5gTIvWZdiT1Mth6lqGAuUT8r/QQXWmDyRDFhWShO0KxjsBhQrw BYjl3S9rm3qGAnJXv0/gXD7eUH63I/+X0qo+Ocj4kret3olm79vz7w81zEqK2ZW9FhTj zhSVcGTRxcTym35z8aOkrXT77J3xj0mAMrbomgvhezQH2JIzUBA1Mz7vvBqp7WsjukOX 5kl20Sq7/H9LKdzQacVFpfyVFN0uXMFrvMTvr45CVgco2d/ENAs6tT5Daqezy9Ws6Bfo lddw== 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=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si2369339pgc.14.2018.03.28.04.40.37; Wed, 28 Mar 2018 04:40:52 -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=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752377AbeC1Liq (ORCPT + 99 others); Wed, 28 Mar 2018 07:38:46 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:50977 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750753AbeC1Lin (ORCPT ); Wed, 28 Mar 2018 07:38:43 -0400 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 7218B24E219B; Wed, 28 Mar 2018 04:38:43 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 5558C3CDE; Wed, 28 Mar 2018 04:38:43 -0700 (PDT) Received: from pt02.synopsys.com (pt02.synopsys.com [10.107.23.240]) by mailhost.synopsys.com (Postfix) with ESMTP id 0D6303CD0; Wed, 28 Mar 2018 04:38:43 -0700 (PDT) Received: from UbuntuMate-64Bits.internal.synopsys.com (gustavo-e7480.internal.synopsys.com [10.107.25.102]) by pt02.synopsys.com (Postfix) with ESMTP id 650833EC46; Wed, 28 Mar 2018 12:38:42 +0100 (WEST) From: Gustavo Pimentel To: bhelgaas@google.com, lorenzo.pieralisi@arm.com, Joao.Pinto@synopsys.com, jingoohan1@gmail.com, kishon@ti.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, gustavo.pimentel@synopsys.com Subject: [PATCH 1/8] bindings: PCI: designware: Example update Date: Wed, 28 Mar 2018 12:38:31 +0100 Message-Id: <33aa86ee667e8b435db080b8c683cb5df1bd6544.1522235224.git.gustavo.pimentel@synopsys.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes the IP registers size to accommodate the ATU unroll space. Replaces "ctrlreg" reg-name by "dbi" to be coherent with similar drivers. Replaces the pcie base address example by a real pcie base address in use. Signed-off-by: Gustavo Pimentel --- Documentation/devicetree/bindings/pci/designware-pcie.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt index 1da7ade..6300762 100644 --- a/Documentation/devicetree/bindings/pci/designware-pcie.txt +++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt @@ -1,7 +1,8 @@ * Synopsys DesignWare PCIe interface Required properties: -- compatible: should contain "snps,dw-pcie" to identify the core. +- compatible: + "snps,dw-pcie" for RC 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" @@ -41,11 +42,11 @@ EP mode: Example configuration: - pcie: pcie@dffff000 { + pcie: pcie@dfc00000 { compatible = "snps,dw-pcie"; - reg = <0xdffff000 0x1000>, /* Controller registers */ - <0xd0000000 0x2000>; /* PCI config space */ - reg-names = "ctrlreg", "config"; + reg = <0xdfc00000 0x302000>, /* IP registers */ + <0xd0000000 0x002000>; /* Configuration space */ + reg-names = "dbi", "config"; #address-cells = <3>; #size-cells = <2>; device_type = "pci"; @@ -54,5 +55,4 @@ Example configuration: interrupts = <25>, <24>; #interrupt-cells = <1>; num-lanes = <1>; - num-viewport = <3>; }; -- 2.7.4