From patchwork Thu Aug 31 04:50:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oza Pawandeep X-Patchwork-Id: 9931195 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 DAAFE602F0 for ; Thu, 31 Aug 2017 04:52:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CAC4526538 for ; Thu, 31 Aug 2017 04:52:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF89A287C8; Thu, 31 Aug 2017 04:52:10 +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 55D2C26538 for ; Thu, 31 Aug 2017 04:52:10 +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=aabBI11dyCfoF8eb7rpS2UTVR1HhfLMmtSQdo0JQoDM=; b=PXRNtZ5UzV8Uk5 MA1u/2mQm6C57MbaM4H+TDMUzVFQCFTdEql0UCOgOwI2ccbK6MpP+baCsCmLN7js1B2TQUkaj+ypm Bi6emOBFwgIFAd24rNL1QYaEbhUeJPN5oVRh2M8eGUOzHpjBWV3+AnBoJ6k45aKaNc0Yc+fLLfNTB wqNWLU6fT6wyxZYr6vGpJSViWmXmXQ3OccDVkDF7gjMK/Dwe90R5kQmkdKF/ZP72sUScubtFbNKCo CuP43Q5b6JBSwLvy9n6zLaqLwE5jENEIHh2YNEu98Q7a1iB/QnxVB8c8TkV7plxhgBjD1PfXQ0dTG GiWZgxSt0Nl4syOqCqow==; 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 1dnHSW-00006F-T3; Thu, 31 Aug 2017 04:52:04 +0000 Received: from mail-qt0-x232.google.com ([2607:f8b0:400d:c0d::232]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dnHRt-0007xA-EO for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2017 04:51:32 +0000 Received: by mail-qt0-x232.google.com with SMTP id v20so6827554qtg.3 for ; Wed, 30 Aug 2017 21:51:05 -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=3o6z67VVvSAgDyMuDgcPN1Cl5mKzEg4NQKgcnY2t2Wg=; b=IG5erG/MNl5QLTe+Rp4N8rY5han7lvrmDXDwUBz8nzxXjA0T5+iPVPMIdVW24KCRyO tErhsnx3ZDyB9lw/le2OeKI68WwIaHPAoikSpYV0+Y1Hibbk3Hgh14JeAy1qMWXJOXae G7a2/jQV+ztgz3EhL//77t4FF7eExv39NbONw= 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=3o6z67VVvSAgDyMuDgcPN1Cl5mKzEg4NQKgcnY2t2Wg=; b=Wbp6qaGEjvRG0ay//L4mItPLv19JJFFnXn3MmTsOlIkg0alp+6O7dQmpltpM5gGQTL Y3LuyH2t4E0J0/ezggKCdKigVfAXFf9+xIO9t/WRNl6tH2SSAeTn63AxtyNNFsefWjpB oxHesr44+yJwIUhcrkMQthf6p6qwZALkRNqQpU8XoeJhmODwoGYp5m33mC3vjYyUhi3y KuX/tHyB5jdtCUqxau0nV9gBcih3iC/B0PYRCVFf12BfkxRcDChcNLqK0cGe5b3lud0/ CMqvwaQh67NYLo7epTh6Ds8Kar8kSDXisD4GoGTGO5oPWoKFV9F7y0FN0qlVMwU0V7iP cDQA== X-Gm-Message-State: AHYfb5jT6uamWerFFJy2cQQIeGcDgeR9LfisUXDrHG6Ddvo4PqRT5JJ7 ZK6PHy62f+E1KU79 X-Received: by 10.200.35.18 with SMTP id a18mr5200460qta.307.1504155064134; Wed, 30 Aug 2017 21:51:04 -0700 (PDT) Received: from anjanavk-OptiPlex-7010.dhcp.avagotech.net ([192.19.237.250]) by smtp.gmail.com with ESMTPSA id q2sm4857729qti.45.2017.08.30.21.50.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Aug 2017 21:51:03 -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 v6 2/3] dt-bindings: PCI iproc: Implement optional property prsnt-gpios Date: Thu, 31 Aug 2017 10:20:28 +0530 Message-Id: <1504155029-24729-3-git-send-email-oza.oza@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504155029-24729-1-git-send-email-oza.oza@broadcom.com> References: <1504155029-24729-1-git-send-email-oza.oza@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170830_215126_085391_5C1EA459 X-CRM114-Status: UNSURE ( 8.02 ) 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 Acked-by: Rob Herring 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";