From patchwork Tue Nov 4 11:47:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Stach X-Patchwork-Id: 406529 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id B7C791400A8 for ; Tue, 4 Nov 2014 22:47:52 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752125AbaKDLrv (ORCPT ); Tue, 4 Nov 2014 06:47:51 -0500 Received: from metis.ext.pengutronix.de ([92.198.50.35]:53971 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751999AbaKDLru (ORCPT ); Tue, 4 Nov 2014 06:47:50 -0500 Received: from dude.hi.4.pengutronix.de ([10.1.0.7] helo=dude.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XlcaN-0003Wu-9g; Tue, 04 Nov 2014 12:47:43 +0100 From: Lucas Stach To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala Cc: devicetree@vger.kernel.org, Bjorn Helgaas , linux-pci@vger.kernel.org, Liviu Dudau Subject: [PATCH] PCI: add missing DT binding for linux,pci-domain property Date: Tue, 4 Nov 2014 12:47:40 +0100 Message-Id: <1415101660-26450-1-git-send-email-l.stach@pengutronix.de> X-Mailer: git-send-email 2.1.1 X-SA-Exim-Connect-IP: 10.1.0.7 X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-pci@vger.kernel.org Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org This property was added by 41e5c0f81d3e (of/pci: Add pci_get_new_domain_nr() and of_get_pci_domain_nr()) without the required binding documentation. As this property will be supported by a number of host bridge drivers going forward, add it to the common PCI binding doc. Signed-off-by: Lucas Stach --- This is a non-critical fix, but may still qualify for 3.18-rc as the property was added in this release cycle. --- Documentation/devicetree/bindings/pci/pci.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/pci.txt b/Documentation/devicetree/bindings/pci/pci.txt index 41aeed38926d..b754f786ed5e 100644 --- a/Documentation/devicetree/bindings/pci/pci.txt +++ b/Documentation/devicetree/bindings/pci/pci.txt @@ -7,3 +7,13 @@ And for the interrupt mapping part: Open Firmware Recommended Practice: Interrupt Mapping http://www.openfirmware.org/1275/practice/imap/imap0_9d.pdf + +Additionally to the properties specified in the above standards a host bridge +driver implementation may support the following properties: + +- linux,pci-domain: + If present this property assigns a fixed PCI domain number to a host bridge, + otherwise an unstable (across boots) unique number will be assigned. + It is recommended to either not set this property at all or set it for all + host bridges in the system, otherwise potentially conflicting domain numbers + may be assigned to root buses behind different host bridges.