From patchwork Fri Sep 21 10:21:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 147205 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp629191ljw; Fri, 21 Sep 2018 03:24:44 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdadc0EgiqgxPd7TzYgzO53x6J03SXKJXwwGQVb8e3LLF3EayZsDrwqR+pYogpRKtrFIFLIX X-Received: by 2002:a62:5a01:: with SMTP id o1-v6mr46193231pfb.0.1537525484234; Fri, 21 Sep 2018 03:24:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537525484; cv=none; d=google.com; s=arc-20160816; b=KmeVX8oo+ZFRjXoxSfwap10lqKRlUoHDOnjlFQjQJk/p7zGrMMqrjCIC2FWcFiEBXw wiw6haosErSaYFHp3G9jg1ylgVEeZLwerotCXV9uy5fOzcTqmMX2rQVqVJQfbdXPte+D Hy5QvnbyMbb5uPVO1h61JkdrgCK3eeTUkNwmReDhsz+YlF5pN2itdH3vQWh8CXCsoxFZ OrtAaqAg991e4S4aNaH5ykDjmCOZ4ypSbIN/PyDky4HDZ9y0+raEp1jWNXHDqZR7n0jz /2KpJqiLNRv8eXhgsWkQbsiMBAAp7cF/v2ZAu6XYHexCruIAacSeBbNsH18PyjmuZu6/ LODQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Oy9h1kP8jbCXe+8kD93AkYommSwhxCLq/ir/s6HONHk=; b=cPv/vullIHQEK83Av+czj5v85CNT0J5BWVYZkolnE3aJf8BEc8VlZsNb7WXyBUwMRW YbLf50IztAPlL98NrKUZ8X9/mhnwma8N2XXVPDBVLeL6SUlNHNi7olQWixyzLjjZnl6r u+xWzb0JbtB+cezmKoAl8laeo2XeGPdKKSy8zkXvhNhvwORNDqmMqSPIxfRTc4x8eBLQ Nldcxx+BupweFbTwXvM8E885Eh7OGh/tBAeRi3X5XjqOT3P+x3+bfHKNlerSqQfhEsAW 2iZygF0+8qakl+FnG/4G7ugLixdIWIQwNu3J+NrhR5ooqxZ43ATexIfIJ0Lj/r5ofunO OFvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TTDsla0+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 85-v6si27681083pgh.381.2018.09.21.03.24.43; Fri, 21 Sep 2018 03:24:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TTDsla0+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390117AbeIUQMy (ORCPT + 32 others); Fri, 21 Sep 2018 12:12:54 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:54622 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727776AbeIUQMx (ORCPT ); Fri, 21 Sep 2018 12:12:53 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8LAOGCI033032; Fri, 21 Sep 2018 05:24:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1537525457; bh=Oy9h1kP8jbCXe+8kD93AkYommSwhxCLq/ir/s6HONHk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TTDsla0+qw0fOos7SiyBlN9shgEmejgPp2Prs4yaOEVXQ+nYTswognIYWoINtOTR8 LDvksH6Y/BD7ncQ66JYTt+yUIOx+eCjrHn5O21gxGGoG0ZahBd8DvYwEqwMLE3ScaS m7l4sjKbuu/DcleMh2dhpz5d9k2m73KFi89YdWIk= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8LAOGZD030984; Fri, 21 Sep 2018 05:24:16 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 21 Sep 2018 05:24:16 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 21 Sep 2018 05:24:16 -0500 Received: from a0393678ub.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8LAMEtT032280; Fri, 21 Sep 2018 05:24:12 -0500 From: Kishon Vijay Abraham I To: Jingoo Han , Joao Pinto , Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi , Murali Karicheri , Kishon Vijay Abraham I , CC: Mark Rutland , Santosh Shilimkar , Tero Kristo , Nishanth Menon , , , , Subject: [RFC PATCH 25/40] dt-bindings: PCI: Add dt-binding to configure PCIe mode Date: Fri, 21 Sep 2018 15:51:40 +0530 Message-ID: <20180921102155.22839-26-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180921102155.22839-1-kishon@ti.com> References: <20180921102155.22839-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add "ti,syscon-pcie-mode" dt-binding to hold phandle to the syscon register that should be used to configure PCIe in RC mode or EP mode. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/pci/pci-keystone.txt | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/pci/pci-keystone.txt b/Documentation/devicetree/bindings/pci/pci-keystone.txt index 3a551687cfa2..8ee07197a063 100644 --- a/Documentation/devicetree/bindings/pci/pci-keystone.txt +++ b/Documentation/devicetree/bindings/pci/pci-keystone.txt @@ -23,6 +23,8 @@ pcie_msi_intc : Interrupt controller device node for MSI IRQ chip ti,syscon-pcie-id : phandle to the device control module required to set device id and vendor id. +ti,syscon-pcie-mode : phandle to the device control module required to configure + PCI in either RC mode or EP mode. Example: pcie_msi_intc: msi-interrupt-controller {