From patchwork Mon Jul 31 08:44:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9871267 X-Patchwork-Delegate: bhelgaas@google.com 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 36D386037D for ; Mon, 31 Jul 2017 08:45:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29168285A2 for ; Mon, 31 Jul 2017 08:45:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1BECC285AA; Mon, 31 Jul 2017 08:45:03 +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=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3D27285A2 for ; Mon, 31 Jul 2017 08:45:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751933AbdGaIo7 (ORCPT ); Mon, 31 Jul 2017 04:44:59 -0400 Received: from mail-lf0-f54.google.com ([209.85.215.54]:36732 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751929AbdGaIo5 (ORCPT ); Mon, 31 Jul 2017 04:44:57 -0400 Received: by mail-lf0-f54.google.com with SMTP id o85so51431204lff.3 for ; Mon, 31 Jul 2017 01:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=dCyitkZV1Dja4B3CvKiiRxN63qk+3BHsOxbAWefMKjY=; b=cZekP2hEsD36ZXAd+FVNra01tkryR6U/Ix0vfAXwNbcBM0OO6b666SM82uUTruoOcD M5XIGUWGugXTRo/uKerEsS1gd1+2LswWnRRuMFxC4qsnnWAoXINOs92jUy/JtLchX5bq Rcv3C+ZA0DNWUmmgv0ifsyYDSNs7sdRAkTwjo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=dCyitkZV1Dja4B3CvKiiRxN63qk+3BHsOxbAWefMKjY=; b=MDAHfPtrkr6efrPxiENj8ZJsdRpuVSEbEGx/bXzwBFS0DagueNQ93EP3yJhyhWQB10 JCLnsbqSYkuM0gZH+U641kqb3eNUKEtZYWz6rXJI3fDVek0tUt7qHsLYbvF3JunOrv3D ICIi6bImYhPCLcHJOvsGcTb26154MkgSplKtFnbsfhsTU558fxsGsD+1SgtERyWKGnuD pZIZ4FDYf2GbZSeJB0OrGV6DGaE9NZffRWljwUftpBqD/lxbv4kMP3vuvy5bzrnzxZlC j5tCJrPS2v5ogUzsepIMDYv06mlxfw9CK0fHMsCR7hoiQ5IA3O0kZAGRINDS5OWxrVdo p13w== X-Gm-Message-State: AIVw110rrszX6S2sOCqtgWXP0Z9hF8qo5Jid6I+G1Juu9HTOdrLPkWs2 YC/QPk4AJCUsznGA X-Received: by 10.46.64.150 with SMTP id r22mr480147lje.32.1501490696044; Mon, 31 Jul 2017 01:44:56 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id m5sm5300315lfm.82.2017.07.31.01.44.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Jul 2017 01:44:55 -0700 (PDT) From: Linus Walleij To: Bjorn Helgaas , Lorenzo Pieralisi , Arnd Bergmann , devicetree@vger.kernel.org Cc: linux-pci@vger.kernel.org, Linus Walleij Subject: [PATCH 1/2] PCI: v3: Update the device tree bindings Date: Mon, 31 Jul 2017 10:44:51 +0200 Message-Id: <20170731084451.19736-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.4 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The bindings for the V3 Semiconductor PCI bridge are a tad bit outdated and predates the more formal format we have adopted for the bindings. Update them a bit so it is easier to read, and add the Integrator AP- specific compatible so we can detect that we are running on that specific platform. Signed-off-by: Linus Walleij Acked-by: Rob Herring --- .../devicetree/bindings/pci/v3-v360epc-pci.txt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/v3-v360epc-pci.txt b/Documentation/devicetree/bindings/pci/v3-v360epc-pci.txt index 30b364e504ba..bcc5fe2a74cb 100644 --- a/Documentation/devicetree/bindings/pci/v3-v360epc-pci.txt +++ b/Documentation/devicetree/bindings/pci/v3-v360epc-pci.txt @@ -2,14 +2,15 @@ V3 Semiconductor V360 EPC PCI bridge This bridge is found in the ARM Integrator/AP (Application Platform) -Integrator-specific notes: - -- syscon: should contain a link to the syscon device node (since - on the Integrator, some registers in the syscon are required to - operate the V3). - -V360 EPC specific notes: - -- reg: should contain the base address of the V3 adapter. +Required properties: +- compatible: should be one of: + "v3,v360epc-pci" + "arm,integrator-ap-pci", "v3,v360epc-pci" +- reg: should contain the base address of the V3 host bridge. - interrupts: should contain a reference to the V3 error interrupt as routed on the system. + +Integrator-specific required properties: +- syscon: should contain a link to the syscon device node, since + on the Integrator, some registers in the syscon are required to + operate the V3 host bridge.