Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp690391imm; Tue, 15 May 2018 07:47:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp/D7zlZX73oTaG/qIwtDO8heYp4WLJ5+rGJbOQv103zuhqcN5RTj9y7uIbk+KCyi3WPw39 X-Received: by 2002:a17:902:57c7:: with SMTP id g7-v6mr1697175plj.222.1526395635501; Tue, 15 May 2018 07:47:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526395635; cv=none; d=google.com; s=arc-20160816; b=jIZ/lCRtMEvtJ21SM9gB8fTycXNjvew6HNKQOZgqJsnR3oycHZIUA9DGak8ovj+eL1 z83WNUdlwqJrXVyCQ7H2t/y62eVK/x39QKlpcN63LcR+aiT5LHt+uauSJVBC5cOpxx7G H3S4L+rXi+2Q7SLZD+I8pFAukgnaK6uPIAzEQTXNaafcS8Rblq/30oYRXhcKiYxZcuqN AdpwecnWPhMojPpHLvFYqr9FKbxhUsp+atv2Hy0wbuQZ0YAtgDp8ec7HL5aRNHFy9c3P PuWN9LUxoZpY+EH5rYlokFFcXyooT+bl494kL4Vyd+PF2SjUTrYi1ocp8xQYbAJbqQe7 /xMA== 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:dkim-signature :arc-authentication-results; bh=Ei6M0ZFQc+QuUluKnsqkFVxDD+yDaHZ83D7lB7UilBc=; b=cmDGDjVRO882ZjSmQeRDu6QQQ78scjrKILoNHYe8yx+w53rYL+xc60cIfkwTZD4Ky4 GhbSi7dBE7aFfsuNUHUfpGe0zdYyJOBNJLz/CEnv4mV8PZmAYeoxbuK1mNDWTwaGjBQk 6DqjqDiQcgZM3cS1qgTrhFouVC2/t1Qdy9fskLnI++VVb3iHWCarVmoJO8xMWCRXI97x G81OBrLDi5dRdQL2qc8+CvsN3wBzUhKs0drnL33zUJt/QdmGBSMfRjMPwOhrYDZDToEm CQmR6nvxJB8Qgq8rcDKEnc126fKjAM0XaABr5Lej2A/S19IdJ8cACH86MHXYsIkeipA/ U4/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=JmJK0oad; 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=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k4-v6si177492pls.407.2018.05.15.07.46.52; Tue, 15 May 2018 07:47:15 -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=@synopsys.com header.s=mail header.b=JmJK0oad; 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=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754144AbeEOOmO (ORCPT + 99 others); Tue, 15 May 2018 10:42:14 -0400 Received: from smtprelay.synopsys.com ([198.182.37.59]:42926 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754063AbeEOOlu (ORCPT ); Tue, 15 May 2018 10:41:50 -0400 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 225DC1E073A; Tue, 15 May 2018 16:41:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1526395309; bh=cyCBY5b30wMVBE6T1kJ/ajzLYirslUFlyJKUce0M4SI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=JmJK0oadeKbpSgFWg78s0kB5PQfl812CkSnOch2IhKCnqDHI061DQ/IGIpSg/GhoC UF05+RcHMGd6TcFwSti6Tw78C2s+xGElbRW/dzXH3u8tpr4294mhVE8I/+H88H+CwP 9ublrG2/KvCj3rnWYI+CVIcyLQre4Mmc5UkvAO7J4uk7BS5LdauBy4hft42iZ5tQSb sFmbARVeaceQ0tstIJ9zTDfhL358hDarvkzFSOe2+w13FA9BtPtVQbQPz6I9u7aRBw EhIGxfEVgmHKz13jlNw6HSVdEh/8xlLfsUnRPrLCNHM/5nT3sBSH2aX1mimJ0RZQPQ RfLpd8Ho8G7vg== Received: from pt02.synopsys.com (pt02.synopsys.com [10.107.23.240]) by mailhost.synopsys.com (Postfix) with ESMTP id 31B445C29; Tue, 15 May 2018 07:41:48 -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 7D9073E983; Tue, 15 May 2018 15:41:47 +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 Subject: [PATCH v2 1/4] bindings: PCI: designware: Example update Date: Tue, 15 May 2018 15:41:41 +0100 Message-Id: <56306a10c8db9a520bf9e915daf1c38d754db494.1526395185.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 Replace "ctrlreg" reg-name by "dbi" to be coherent with similar drivers, however it still be compatible with any previous DT that uses the old reg-name. Replace the PCIe base address example by a real PCIe base address in use. Signed-off-by: Gustavo Pimentel Reviewed-by: Rob Herring --- 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..7f9804d 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 0x0001000>, /* IP registers */ + <0xd0000000 0x0002000>; /* 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