From patchwork Mon Mar 25 09:39:24 2019 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: 161055 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3749461jan; Mon, 25 Mar 2019 02:42:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLRGj/+Aw51UIxcddqEQ1B0pHCaMlHuVK4KexcxevM77ykLQJMNEzJKGVgjHPRTmKmRXL8 X-Received: by 2002:a63:e848:: with SMTP id a8mr21498019pgk.357.1553506943252; Mon, 25 Mar 2019 02:42:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553506943; cv=none; d=google.com; s=arc-20160816; b=tcGHMX6LxTNYDt3leUUn39CaA5iLb5uQhiBZxmV+EdvqeYUKhokCXFgp85J5Kyg5lS X3dj1VYmaMj2yYPxRyKwRnVL7TD3u+NX/czPXNSgKeM8x4yAMu47zXOMwxO2S3ZDO8Wt n/7h4la3EYXYY6yGnJQdssL4eJPaBtUIXrZ+BJGugiCEl64Pu6W+UP4Y6eUJ1YJ9ef2S 5UBq7R+ymIm1uU6/M8EOaNDY8rYSGlIB42dDMzitLIkJ9Omm7eVLVtq9jkkGF5LgJCC1 QSZzm/T0xu78P0w8Ak4hZmqER2u/9KYNn3j8iH2l4jmDjMzAfRImToF9EqLehAH3bQWd z/Zw== 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=ihkyMdfsHkHD9vI9gQR+6re/ZkoL2kW9Ay/31C8nCOI=; b=S+ZNp0Tg2sxvl1B1WFFJmBoqozOvaRWzTYwF6qJdO/wO7/8TcOPrPD1mi3hjyjQ0aJ 4apHJ1Xp5hT0xC3xPAmHYAavZCt0Lt2Fq3KFGsRsECP4+on9qgifo1n00FiaeZWg50SO 3tp1DajlZnn+HPeeaZJU8cwa+sy1gDoRvJ8DTpIfsDTtTnFIePxtFSZ++IBYAKE044IF pZFhJUz5rEHugykXC5GpnBPlItEwUjxy0P9/F9M6H+GLYL5j8JpXtiseTjMpO2J0A54M Bas7zoba76ZeNhB5LpVCmUtTaiuowoy4c+wJVYiZMPM9tiIjEWK8nw/bqO9oQ7Wj+g8v Zabg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="tvDd6/Wu"; 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 l13si13173673pgg.281.2019.03.25.02.42.22; Mon, 25 Mar 2019 02:42:23 -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="tvDd6/Wu"; 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 S1730476AbfCYJmW (ORCPT + 31 others); Mon, 25 Mar 2019 05:42:22 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:37404 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730399AbfCYJmT (ORCPT ); Mon, 25 Mar 2019 05:42:19 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x2P9g25h012616; Mon, 25 Mar 2019 04:42:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1553506923; bh=ihkyMdfsHkHD9vI9gQR+6re/ZkoL2kW9Ay/31C8nCOI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=tvDd6/WuYmRV/N4/iKEiqyLVnhJqE6JzDh4TPm/S8Xvsd+mSrySJJHW9n2PECusWD X+hEmoWlKvfN4nmLU4EysWMFH3MV35vxN4mfkfaSoAGl7Eo/pKaNLglgabOgQBjsnT HkIDg8UlDTWk8vNtMVDp31XJ1/gtGB3hR27EoIcg= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x2P9g2qx052533 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 25 Mar 2019 04:42:02 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 25 Mar 2019 04:42:02 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1713.5 via Frontend Transport; Mon, 25 Mar 2019 04:42:02 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x2P9feaI028077; Mon, 25 Mar 2019 04:41:57 -0500 From: Kishon Vijay Abraham I To: Gustavo Pimentel , Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi , Arnd Bergmann , Murali Karicheri CC: Kishon Vijay Abraham I , Jingoo Han , Greg Kroah-Hartman , , , , , , , Minghuan Lian , Mingkai Hu , Roy Zang , Jesper Nilsson Subject: [PATCH v3 03/26] dt-bindings: PCI: keystone: Add "reg-names" binding information Date: Mon, 25 Mar 2019 15:09:24 +0530 Message-ID: <20190325093947.32633-4-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190325093947.32633-1-kishon@ti.com> References: <20190325093947.32633-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 "reg-names" binding information in order for device tree node to be populated with the correct register strings. This will break old dt compatibility. However Keystone PCI has never worked in upstream kernel due to lack of SERDES support. Before SERDES support is added, cleanup the Keystone PCI dt-bindngs. This new binding will also be used by PCI in AM654 platform. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/pci/pci-keystone.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/pci/pci-keystone.txt b/Documentation/devicetree/bindings/pci/pci-keystone.txt index 2030ee0dc4f9..3a551687cfa2 100644 --- a/Documentation/devicetree/bindings/pci/pci-keystone.txt +++ b/Documentation/devicetree/bindings/pci/pci-keystone.txt @@ -12,8 +12,10 @@ described here as well as properties that are not applicable. Required Properties:- compatibility: "ti,keystone-pcie" -reg: index 1 is the base address and length of DW application registers. - index 2 is the base address and length of PCI device ID register. +reg: Three register ranges as listed in the reg-names property +reg-names: "dbics" for the DesignWare PCIe registers, "app" for the + TI specific application registers, "config" for the + configuration space address pcie_msi_intc : Interrupt controller device node for MSI IRQ chip interrupt-cells: should be set to 1