From patchwork Tue Aug 22 08:10:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oza Pawandeep X-Patchwork-Id: 9914575 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2603D603FF for ; Tue, 22 Aug 2017 08:23:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 23D4D28831 for ; Tue, 22 Aug 2017 08:23:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 18A3728835; Tue, 22 Aug 2017 08:23:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 01AD328831 for ; Tue, 22 Aug 2017 08:23:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+Rga9Urjqf0iPxrAFZ5W3RWK5gTECfFIs3rkQuzFfsE=; b=EuoH/00tgrYxcQ roSHqi1lJY3BFSlJUyTz9EsJNSyCrvMhqD4kb2WY1WGb4bFk3JfSGt8uhgXD/deKr3lhJ+95W5mlZ DIj0+ISB5IluBS8u9Kf4pTjQCm+xR6eI+UhbOu/ADVumvLv/ph9B4LKx0KtB+PLfTKAYWZxk19uM7 630vXk2PkQ6PVpVNMcysIEdiWw8delWhCa/ZO1XdATtaX2MAP7kH3djcMyH903SpP4OvvXlgHTMxs PKmnB2uKKW5M46sVpzSp+iAgdXX7H+bkYgg5pgZpxL2sL6EzoRnLI04ZFXKIev/m8OJCrypZ/6pRS mGACdD1TQItiQP8xI0/Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dk4SQ-0007BN-53; Tue, 22 Aug 2017 08:22:42 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dk4QZ-00053g-Hc for linux-arm-kernel@bombadil.infradead.org; Tue, 22 Aug 2017 08:20:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:To:From:Sender:Reply-To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=o6cEcsqRAuGlI1YidfFLpTmrRn4mX6equzUQ9hChpWM=; b=jTiQ7dtblWQUYVkuiXrlEbvIj XY5SECTlXD9mGdiva0zkxsbs7ge4P6DMJbdDDLSQqm+oFjb+Qs1vveLFPlrGdsEclqqTJ/79uMzr2 MYPgiCdxVIu1QWgqKuVCONmK7NjfI8O97WZbqRCMLCg1aZkXoT96ouGMPhvU21kx9IAzq6WMY+y8u 5WH1sDzebXV7i/dnHNr53aTr0ozI90DSTL6wmgskkQSDy+PC5LbMYjcvRTazS2wYzHrN3rMwcelVk K6X83fzZVZx5F/iPWRJUlXJAC54ESmRL8I7/2Wtxa5lGL2gXhtgDAaI3zFGdXUC89g9unjuFRqmKf Rk5tt+BCg==; Received: from mail-wr0-x229.google.com ([2a00:1450:400c:c0c::229]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dk4I4-0005yM-OU for linux-arm-kernel@lists.infradead.org; Tue, 22 Aug 2017 08:12:06 +0000 Received: by mail-wr0-x229.google.com with SMTP id k46so43486318wre.2 for ; Tue, 22 Aug 2017 01:11:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=o6cEcsqRAuGlI1YidfFLpTmrRn4mX6equzUQ9hChpWM=; b=BzSBWQgqqgLZJQbiLmgxXhrI3vB+Sm3cZahjPE9owsdBcHEEl7qA6DDMRlffb27Vny tQCvcGpLGLLa74ycef4fPwKVsh/oWhtldvuMSH0icrm6CwyYXWPJIEJVDF5Y8SyfTPSt 8DOkBV9sLjt/Paql8R0tp2885j8fwjXDX32uI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=o6cEcsqRAuGlI1YidfFLpTmrRn4mX6equzUQ9hChpWM=; b=EEgyIBR0VU6klZmbVlW/o1/5qARCZd5Rg9y0N5RkOcWo4iiOollHhdTS/OgoFFVnKb xEAZZ3sf8Xh0H6B29kO5krIdfE/RrnrdWMWXVy821Li1s1vdSqFJt9lOmud96fKMi4fH lPBwJFZR/UdeM6dnasUjQXGBYohDzgxD7ri4fVpkv/YQKgTMYODcq6JNuPGfZMk6mqFb x57LRxqkFnO5qoQd0qGRMQG1TSdZ6y8AcjdYOaz7ujBj7GO9l9hqUSSZDFXn4yUABN7b KOWjaJQBPmc5Ca/iYCI7LRZMtyvL+bZx07U26Eru2pSJqt/AfDfzP9YGfV/U9kFaaKY1 Jitw== X-Gm-Message-State: AHYfb5gp624sto17BSioKQHUMGflXFEIrXbyXu6IAbVSwny/rU3ODRKW zWEWgiSpHPOLgVOE X-Received: by 10.28.49.136 with SMTP id x130mr3768824wmx.148.1503389498665; Tue, 22 Aug 2017 01:11:38 -0700 (PDT) Received: from anjanavk-OptiPlex-7010.dhcp.avagotech.net ([192.19.237.250]) by smtp.gmail.com with ESMTPSA id 6sm11300681wrn.52.2017.08.22.01.11.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Aug 2017 01:11:37 -0700 (PDT) From: Oza Pawandeep To: Bjorn Helgaas , , Rob Herring , Mark Rutland , Ray Jui , Scott Branden , Jon Mason , bcm-kernel-feedback-list@broadcom.com, Oza Pawandeep , Andy Gospodarek , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Oza Pawandeep Subject: [PATCH v3 3/3] dt-bindings: PCI iproc: Add optional property prsnt-gpios Date: Tue, 22 Aug 2017 13:40:56 +0530 Message-Id: <1503389456-27373-4-git-send-email-oza.oza@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503389456-27373-1-git-send-email-oza.oza@broadcom.com> References: <1503389456-27373-1-git-send-email-oza.oza@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170822_091200_838703_0A142AD5 X-CRM114-Status: UNSURE ( 9.20 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add description for optional device tree property 'prsnt-gpios' for PCI hotplug feature. Signed-off-by: Oza Pawandeep Reviewed-by: Ray Jui diff --git a/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt b/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt index b8e48b4..0c5f631 100644 --- a/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt +++ b/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt @@ -72,6 +72,20 @@ Optional properties: - brcm,pcie-msi-inten: Needs to be present for some older iProc platforms that require the interrupt enable registers to be set explicitly to enable MSI +Optional properties: +- slot-pluggable: PCI hotplug feature is supported. +- prsnt-gpios: Array of gpios, needs to be present if Hotplug is supported. + +Refer to the following binding documents for more detailed description on +the use of 'slot-pluggable' and 'prsnt-gpios'. + Documentation/devicetree/bindings/pci/pci.txt + +Example: +prsnt-gpios: <&pca9505 32 1>, <&pca9505 33 1>; +This is x4 connector: monitoring max 2 present lines. +prsnt-gpios: <&pca9505 32 1>, <&pca9505 33 1>, <&pca9505 34 1>; +This is x8 connector: monitoring max 3 present lines. + Example: pcie0: pcie@18012000 { compatible = "brcm,iproc-pcie";