Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3229800imu; Sat, 24 Nov 2018 00:37:12 -0800 (PST) X-Google-Smtp-Source: AFSGD/WSGknWTlXVJQ3dl6S947yLpN23MrluP+CVKcyNNVKL0cP6YRRhQLhrApy6jRCaAblrI8li X-Received: by 2002:a17:902:6b85:: with SMTP id p5-v6mr4824435plk.94.1543048632304; Sat, 24 Nov 2018 00:37:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543048632; cv=none; d=google.com; s=arc-20160816; b=pDuzH9sw6oVczM7ttGZ1dVxmWMEJm6NFdIXQiPJL8miDgXoMWXMEZfiG3deUbyg39Q hDvOGjxSagx4iLp2KGV6dTfmB1U4vhbXQAOswHvHNILLhTjUILNk+sd095HL2XRjbNO9 ruORn2cIeBRgGHPE1SIY2nFOdGlY8AeP+Vc0g2EKLhsK7Bs9N3YRc0r+C6Jb+POLIEYU O9yTcZnjKPchsZuF9p2eSUMsuaQ/vDI2VQMwnen6x5Rolyy7z3E72Bu1gfVUDf2DZ8nP sLlKUHUdl+DY8yeIV+ty/NFC1GPoUDdu0zwPyq0YpN5VdbCL1MzaJBlrL8l4Gyg6Rrud HYpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=3EbrqjKWvbnjNQju4X/gbvlUZ9XJOR3aseal05o8alc=; b=smxjjjmjb5wWyO2GrWdji77z1MN5nDyLykQmMV/jrbKYTf0O7DMY80plDJoMV57vnj knKWxo0OJXTbgC7lNIgRR4Lt0f4pQpm7oSgANIzpx6QzT6VycJD3s8LI5+yuMCPmufI/ C8iesigWcdKAueoYcnMH4Fdxctzv3LlTu7VUedk+nFwFX3vl1z7ZDuD2mNdVOWCHeXKF wM5dSzx/ddiEHCr5ZP0sC+xYF/LHpCEHHWb6VnDxPbXC+SPzlG8PcmTaaE3AA+vzuE4U 7XCVvLnHRoG5DmS2q0lOESNPdSWpEr/zNvL9pEFARwKsk9bL8U0rnGPMs9QJcyR+sI4B ph8w== 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 q32si54576803pgm.410.2018.11.24.00.36.57; Sat, 24 Nov 2018 00:37:12 -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; 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 S2439976AbeKXBD0 (ORCPT + 99 others); Fri, 23 Nov 2018 20:03:26 -0500 Received: from mail.bootlin.com ([62.4.15.54]:33959 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436608AbeKXBDB (ORCPT ); Fri, 23 Nov 2018 20:03:01 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id B312220DBE; Fri, 23 Nov 2018 15:18:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost.localdomain (aaubervilliers-681-1-94-205.w90-88.abo.wanadoo.fr [90.88.35.205]) by mail.bootlin.com (Postfix) with ESMTPSA id 5197020741; Fri, 23 Nov 2018 15:18:36 +0100 (CET) From: Miquel Raynal To: Gregory Clement , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Thomas Petazzoni , Bjorn Helgaas Cc: , Rob Herring , Mark Rutland , Lorenzo Pieralisi , linux-pci@vger.kernel.org, , , Antoine Tenart , Maxime Chevallier , Nadav Haklai , Miquel Raynal Subject: [PATCH 06/12] dt-bindings: PCI: aardvark: describe the reset-gpios property Date: Fri, 23 Nov 2018 15:18:25 +0100 Message-Id: <20181123141831.8214-7-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181123141831.8214-1-miquel.raynal@bootlin.com> References: <20181123141831.8214-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A GPIO might be used to reset the PCI IP. Describe the property needed in this case. Signed-off-by: Miquel Raynal --- Documentation/devicetree/bindings/pci/aardvark-pci.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/aardvark-pci.txt b/Documentation/devicetree/bindings/pci/aardvark-pci.txt index 310ef7145c47..252934237138 100644 --- a/Documentation/devicetree/bindings/pci/aardvark-pci.txt +++ b/Documentation/devicetree/bindings/pci/aardvark-pci.txt @@ -20,6 +20,10 @@ contain the following properties: define the mapping of the PCIe interface to interrupt numbers. - bus-range: PCI bus numbers covered +The following are optional properties: + + - reset-gpios: GPIO to reset the device + In addition, the Device Tree describing an Aardvark PCIe controller must include a sub-node that describes the legacy interrupt controller built into the PCIe controller. This sub-node must have the following @@ -48,6 +52,7 @@ Example: <0 0 0 2 &pcie_intc 1>, <0 0 0 3 &pcie_intc 2>, <0 0 0 4 &pcie_intc 3>; + reset-gpios = <&gpiosb 3 GPIO_ACTIVE_HIGH>; pcie_intc: interrupt-controller { interrupt-controller; #interrupt-cells = <1>; -- 2.19.1