From patchwork Wed Aug 9 14:14:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9890743 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 C9B3160384 for ; Wed, 9 Aug 2017 14:15:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A2ACB28A9C for ; Wed, 9 Aug 2017 14:15:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9727928AA4; Wed, 9 Aug 2017 14:15:21 +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 EFBCD28A9C for ; Wed, 9 Aug 2017 14:15:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752780AbdHIOOn (ORCPT ); Wed, 9 Aug 2017 10:14:43 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:38174 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751704AbdHIOOm (ORCPT ); Wed, 9 Aug 2017 10:14:42 -0400 Received: by mail-lf0-f52.google.com with SMTP id y15so28485008lfd.5 for ; Wed, 09 Aug 2017 07:14:42 -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=CDuRDBxplIKWIPKCdMpIWskNS8xomnUHQlKShqtOZro=; b=T+wEghN9olG7e+ya4su46BJQY2ae5McPQ14PPw/3oz9mD5lw5+LlIRGj7dBiT7phHT culjy7dQteeLrP6Vdj4BeaHT7UmpoZsFG0QN00lTbcuMBVWky5Uz2+PGpS9cjCb9QEP8 9HfF0ZorS6DiLpq3caxHSnFVIVh/itvzOYf9w= 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=CDuRDBxplIKWIPKCdMpIWskNS8xomnUHQlKShqtOZro=; b=NIwpeBnOhYNRZaO3QQbHL/swoc8HamXy4wuNY2Cg0USKDoA5anNioH6My8GcOM0cr6 ljrHAuE+rav4KQazsxduHsC2tt5CuFHozMY0f4crS+JEugX5jQDej/cPjqtH4Cvbh4Tl WZBVXQo4QTJyfHRA7mF9szplz1tOb7wy4cSflmYtOVwp9UAxwxyH84nMNlEpbuXjnXV0 j5zfrDdr292QA/f1VYEh3AEn86PyGNAo8/Mn/BByEi75eK7dl3QALs6U5hwbjy1kQT0+ P0WXAlTYIKFbB74CuzykwtDM+ZwhdeBgSEejZTST4UpRl4jZfgxZKNysq/cCjK2Nt707 /AMQ== X-Gm-Message-State: AHYfb5g0k/igcwkBswDx63vxCYLbtKjLSBwjpiyQpG811vKKsoFKBQdT 25FzT2OyjAowK3cd3asfoA== X-Received: by 10.46.69.136 with SMTP id s130mr2847580lja.6.1502288081342; Wed, 09 Aug 2017 07:14:41 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id 1sm638116lju.63.2017.08.09.07.14.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Aug 2017 07:14:35 -0700 (PDT) From: Linus Walleij To: Bjorn Helgaas , Lorenzo Pieralisi , Arnd Bergmann Cc: linux-pci@vger.kernel.org, Linus Walleij Subject: [PATCH 1/2 v2] PCI: v3: Update the device tree bindings Date: Wed, 9 Aug 2017 16:14:30 +0200 Message-Id: <20170809141431.22146-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. Acked-by: Rob Herring Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Added Rob's ACK. Bjorn: please merge this when you feel confident with it. --- .../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.