From patchwork Wed Jul 22 11:03:09 2020 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: 246999 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp427164ilg; Wed, 22 Jul 2020 04:04:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8vObz8UFuhOkPmqxluFCYbF8DrDSK8cByUjYucrXQTZhxG+aLe3jxcsGo3dffqqwJk61f X-Received: by 2002:a17:906:fa15:: with SMTP id lo21mr31084012ejb.156.1595415842436; Wed, 22 Jul 2020 04:04:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595415842; cv=none; d=google.com; s=arc-20160816; b=lj4MEyskvBQX8Hr4YuPJF/IIymld73KkxOebla4CN5eQrd7fLDAlFFNvAju2f5l+d4 rcwej5wjG8ZoWFCGFzyANmNu5DxuaquMwZJTzgEEd3voqW31oWr+BV/cFl0mW6ZODw1S z/sEsYoGXUkpLo3HFDTH1abYh93jDSZk94YnGtOXnocxtqaLMOiMgX1VKd+T3+m21Uzj /HM7pKSJfyADNjL5wYAZNC2fASbpn9MOqYOpY+pdfhTUeXchPnaRMv/Dit1Q147pPufa DqRf6Q3+pA7hKCoLGS51uJh2Lz6alziI/Nz7HBzeQUFPPlySXERvJ0RPK+KoQ6HNM7lk wZhA== 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=78wWOd3ZsPARwxc3JQyFkWSrWhbfEtK3ytyjWuF48qg=; b=MEnIxgDo4/iMYv3QAYN2504h2KF7LskRUKBiWRAuCfXl9zdlkTleZM4WEFFKYR9r1j 4Fw7NSrd6cUzTomxqYSVfZbUjEDLZ9znsSXa4f2g0WfJqpXzcxq6oNUgx2XBle5S9oI6 E+l+tRnF/lIVBrubenXXsSSAE5rF2ziGQSaa/LR1GZftNujxQxOiH7ElYEJdvx94vPmp +goPeAgDUHT3FWvEcrVr6iC9vggrKLE009Wki8Ybzk4YpsdVOVBXzBw4DZ+V2bpxoH9a 9QHIeyRxQ9xGkp5CzQAYfkw1wDC/8MEtfG4tfTC04jRYH7XlR1f5SCBQVhxnJyUVBry6 tR2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=F9+8gvkS; spf=pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-omap-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. [23.128.96.18]) by mx.google.com with ESMTP id k27si13691243ejs.676.2020.07.22.04.04.02; Wed, 22 Jul 2020 04:04:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=F9+8gvkS; spf=pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-omap-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 S1732053AbgGVLEB (ORCPT + 4 others); Wed, 22 Jul 2020 07:04:01 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:39050 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726462AbgGVLEA (ORCPT ); Wed, 22 Jul 2020 07:04:00 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06MB3o21070475; Wed, 22 Jul 2020 06:03:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1595415830; bh=78wWOd3ZsPARwxc3JQyFkWSrWhbfEtK3ytyjWuF48qg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=F9+8gvkSiWc/MMVzVax/PG5UVT1BGX9Hvdir9cWEDIu+mcT7E4wzA+MeC3A9DyHJD QqBvxILk9YxP0svsNKzlffpgPDmF6exYSvD58mdgOLfax89BCo6vm5QdQghpbCR/aQ KTX4cC1z3o7fOiCNOTFCB/twyWCmUhmgQuBIjuwA= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 06MB3oqp005891 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 22 Jul 2020 06:03:50 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 22 Jul 2020 06:03:49 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Wed, 22 Jul 2020 06:03:49 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06MB3IFf078616; Wed, 22 Jul 2020 06:03:46 -0500 From: Kishon Vijay Abraham I To: Tom Joseph , Bjorn Helgaas , Rob Herring , Kishon Vijay Abraham I , Lorenzo Pieralisi , Arnd Bergmann CC: Greg Kroah-Hartman , , , , , Subject: [PATCH v8 07/15] dt-bindings: PCI: cadence: Remove "mem" from reg binding Date: Wed, 22 Jul 2020 16:33:09 +0530 Message-ID: <20200722110317.4744-8-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200722110317.4744-1-kishon@ti.com> References: <20200722110317.4744-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org "mem" is not a memory resource and it overlaps with PCIe config space and memory region. Remove "mem" from reg binding. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Rob Herring --- .../devicetree/bindings/pci/cdns,cdns-pcie-host.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml index 84a8f095d031..6d67067843bf 100644 --- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml +++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml @@ -18,13 +18,12 @@ properties: const: cdns,cdns-pcie-host reg: - maxItems: 3 + maxItems: 2 reg-names: items: - const: reg - const: cfg - - const: mem msi-parent: true @@ -49,9 +48,8 @@ examples: device-id = <0x0200>; reg = <0x0 0xfb000000 0x0 0x01000000>, - <0x0 0x41000000 0x0 0x00001000>, - <0x0 0x40000000 0x0 0x04000000>; - reg-names = "reg", "cfg", "mem"; + <0x0 0x41000000 0x0 0x00001000>; + reg-names = "reg", "cfg"; ranges = <0x02000000 0x0 0x42000000 0x0 0x42000000 0x0 0x1000000>, <0x01000000 0x0 0x43000000 0x0 0x43000000 0x0 0x0010000>;