Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1681743imu; Wed, 12 Dec 2018 02:24:31 -0800 (PST) X-Google-Smtp-Source: AFSGD/U+GqCabZkTREMiGrU3/V64WJrni00x0THcHP70OzqlkToTxWuqjSFzcW/B3biNbbJWHVii X-Received: by 2002:a17:902:5a86:: with SMTP id r6mr18488404pli.301.1544610271021; Wed, 12 Dec 2018 02:24:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544610270; cv=none; d=google.com; s=arc-20160816; b=Us/jOf4AjgK/ZfIuXPKeGCGDGHTBfLkgKzNrDwYj2O20luwGwuCyekV0/yFnSQ+1Jn kBmp4eYKZ81UUJX14XQoBfkBZqDA9iJBruhZRrPNQNx7H62mTcwkaL2Ts45DtbZt+1Bq WgmQQyjzSePR53dNj1+HFUfOAzSbbDgx3cT7SVMUKgznHCzcZThVcHlfT6U2P7+prsYG pF/WknOQ6ZA39jPpfOmZ53QLZxp8ivmW+ToTzkbnwTTTPuQ4InLgG5KOxzLugB0qgufq i2BvE3i2OCY5shRDQrXT9Yt7Wy7/zoJBO2POtWX5x9DYjeeFubW/dc1n/EXozgQDD+DA bwaQ== 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=+rmbMfF4o/xgU5KHBFvyzpQkmhBQVEG5VthZRlrzjbA=; b=j6R6Du1BUiNox8zSOFp0W54C8NOhi8ZA2AJtRvJ9os7iOMPLd45IWlY4oJJHATjo5p xVZGH4JyAN6zqPsB/AZQcmCJkLIthp7HR7SlgiDf3SHg6wk6NzuRNirgDAzp41ci93sl KBEKaH0MGYV8yoAyLV5TuS3DV5N/o/8DzMQ8rDtikwxdPxp9E0oMwKu8Yfw94Beq21h1 wWVIwQ00zzqxx2G49XfAbnwjhR5PDAn0ajH3ZL+M2ldzJiV90Xn0fW1TcP0knt2ohHfD Oww8jHNEYUWskrbNRfGhRMsNyoZUtPdXsA2+h/SZcUPeuv5xsnPI2SkmwYJP6ezcp97B QhyA== 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 z14si13817982pgz.180.2018.12.12.02.24.15; Wed, 12 Dec 2018 02:24:30 -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 S1727276AbeLLKWs (ORCPT + 99 others); Wed, 12 Dec 2018 05:22:48 -0500 Received: from mail.bootlin.com ([62.4.15.54]:57501 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727151AbeLLKWH (ORCPT ); Wed, 12 Dec 2018 05:22:07 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id C58E8208E3; Wed, 12 Dec 2018 11:22:04 +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-89-7.w90-88.abo.wanadoo.fr [90.88.30.7]) by mail.bootlin.com (Postfix) with ESMTPSA id 10F2920C4D; Wed, 12 Dec 2018 11:21:46 +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 v2 06/12] dt-bindings: PCI: aardvark: Describe the reset-gpios property Date: Wed, 12 Dec 2018 11:21:36 +0100 Message-Id: <20181212102142.16053-7-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181212102142.16053-1-miquel.raynal@bootlin.com> References: <20181212102142.16053-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 Reviewed-by: Rob Herring --- 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