From patchwork Wed Jul 8 09:30:10 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: 235052 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp265088ilg; Wed, 8 Jul 2020 02:31:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAJLDtJaYr/seQDHPWRY2zXe4/Df1S00qA0gQ00IeetjKR3KEcyMldbvgCHfT8ijn/1/R4 X-Received: by 2002:a17:906:fa15:: with SMTP id lo21mr53188398ejb.156.1594200662272; Wed, 08 Jul 2020 02:31:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594200662; cv=none; d=google.com; s=arc-20160816; b=yudoc4+BGcdz3VnYQ8fOW/6V0WpMwSB4nQaKM0gqZbTrmFItN5dPy+VSVuWVUg+1Jt gQpL2nCIQUxmgFAyORteghdEa/fToWs4VpSxG5Xo2AHsVpciNmN69BPXFUakIgE8X9Ok PJba08y5mmRHZASU5hEXjPluqVKxeDTTiV/ca+OpMHZ1b7jF15sGIQ9+t6dF9nhLF16r omIdkvm3GGztGSZPey3Bmwum574w7wc6Yk8crBVmBWjY/nGxUdvb0pUtm+ZPjjCzkyoe LDr/88Ntoe4nj5wrh+rv4j0DK29Z7QId+KlP6XYb8Bnk6Mc5ALq6y/2DnAY9CTAqwKhY FJIQ== 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=wA/DJIaqqbKg+dmv5MdTfjimJ83LKxdmuu8q+r4WzXM=; b=shfKiAAwQ5AfHlBX0jzBDexRJbA2dSA1UXHmFCB6rpcR9Ji2w7OuXnp38LCCFMhC/f diKjxTSq1vCjOT08qVQu6kiJvjUNfTW1rmf/cCEGaq3DCFbnXVj/dNBRiuIj2wO1Na/G 4Oxac33RW6uRuFqLkRfMIOuABxa2FRxKrE9K3h6euhzJl38cJxbPYJCiKodwtZt0Djx2 8NKbKqlA311gM2PQUy2RebAezaJjJF/4aa7nn2iFS7a/FarWgndjf5Chtdo6tnRA6PWq i4TfHjQh98ZMA6jsegZQssM4YQ/0IF4Ytn7pcDpm1IBDYYsz0/qIE+5gthjwpJ4C49rH 17Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="jAu4/3B0"; 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 w9si17326727edr.171.2020.07.08.02.31.02; Wed, 08 Jul 2020 02:31: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="jAu4/3B0"; 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 S1728406AbgGHJa5 (ORCPT + 4 others); Wed, 8 Jul 2020 05:30:57 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:55924 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728396AbgGHJaz (ORCPT ); Wed, 8 Jul 2020 05:30:55 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0689Uk4F068221; Wed, 8 Jul 2020 04:30:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1594200646; bh=wA/DJIaqqbKg+dmv5MdTfjimJ83LKxdmuu8q+r4WzXM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=jAu4/3B0R471zRdVpir+e181McmhHAMrQ+yslY/46qF4TRy47Y7+waG2bBsFmDNx9 v4kBlvawZJqYTxslTEA+G/fk+VHr6EvUrdqm1QHnaJHQBGLWwMLWFf5FfGAr1f9eGh aTJNkveanl1hJ1Oh7w5rxEMnvkvTlpOZT6pXE35k= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0689UkUo095732 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 8 Jul 2020 04:30:46 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 8 Jul 2020 04:30:45 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE113.ent.ti.com (157.170.170.24) 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, 8 Jul 2020 04:30:45 -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 0689UJEN098512; Wed, 8 Jul 2020 04:30:42 -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 v6 06/14] dt-bindings: PCI: cadence: Remove "mem" from reg binding Date: Wed, 8 Jul 2020 15:00:10 +0530 Message-ID: <20200708093018.28474-7-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200708093018.28474-1-kishon@ti.com> References: <20200708093018.28474-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. Removve "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>;