From patchwork Mon Jul 13 11:01:33 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: 235388 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2727218ilg; Mon, 13 Jul 2020 04:03:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzomeYg98cwTJcB0WiiiEuKP6Y+OS+PhDGvYsj6h3nsneTJpk+PEtTFjs3wh/MAid0DUmUr X-Received: by 2002:a17:907:4240:: with SMTP id oi24mr71213063ejb.23.1594638194218; Mon, 13 Jul 2020 04:03:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594638194; cv=none; d=google.com; s=arc-20160816; b=jEHVhmTOBs7NJ1bIT2Bzl+DyARPMEUYLd4j4wacjUwCU0D1gcynE+i1ApiRQXtIcqf dovmOvUug12kA77hFPF9tvxfG8NFRQn9ksBEO+5roIlQC3UAoYM2dLnh0azBNTe4flGH OZ9zWvIvz71K8aNxo3iA8Yi53AYkqG03apoMQjIpNsc+2OXHyXV2ZUmcXSQZfQeC0ogg LnrugTZrkjPNLtK2RmqDwi7byft+X1npF7Cv2YpMHDxO1vnbDQrAWLMQ2v1MgUuSWCRg d4Dxt7R33zmDyv2xH4U3OjYZLaKqjzMxZ3XhoNTnQvwtOjmHgwKRH3L0PSAZ9YQaKTev 7Kkw== 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=e5/tyyq8J6+isJLEswBptZ6Bpl40hJrERLE1HJF6RZPJYHrcfAIY+Bj4x9UMz58ySQ RGBrfjPxTno3m8o059VbiTQYbjIUerAr699tc22Bybly8RusQwx1Cew3MG08SvTGgYBo 06kcJizUrU4Ttm93xY0uL6yRxnmeaZeexkgJdFboQ6V2PMsrKLK5DgxHRH4MIK5+Z4a+ +EoSmX7hScHVPFI244NDn7+f1zTfSt2WI0sW6HOl54ErkkdQAUPCofw598YjLoCl/Ftw m3yPz3EEg+0Ae10LgoxpPs4LsN5xstXdQua/3ogilVBez3mswqQlOQHmGZMXDU2LCUkt 6JCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=qiMHLkrB; 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 q22si8491128ejx.87.2020.07.13.04.03.14; Mon, 13 Jul 2020 04:03:14 -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=qiMHLkrB; 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 S1729678AbgGMLCV (ORCPT + 4 others); Mon, 13 Jul 2020 07:02:21 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:56840 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729668AbgGMLCS (ORCPT ); Mon, 13 Jul 2020 07:02:18 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06DB29G9101133; Mon, 13 Jul 2020 06:02:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1594638129; bh=78wWOd3ZsPARwxc3JQyFkWSrWhbfEtK3ytyjWuF48qg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=qiMHLkrBKlg7E2/FI2hGsxpuZtqFYY+jM1jXyNSR+bQtJQvm+lTJ2o+8RDzeX/eeI gG3meQG7klcVSPoxrCuldKkPg77krn3tDA2+OiH+LN1LS4mOSgpkyV5VOzjOSGcVup 8YOuqEC+3+VL5ucz4uV7fVGbaKsL+JYFFEqhCg+w= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06DB29TL005479; Mon, 13 Jul 2020 06:02:09 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 13 Jul 2020 06:02:08 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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 via Frontend Transport; Mon, 13 Jul 2020 06:02:08 -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 06DB1gVg031460; Mon, 13 Jul 2020 06:02:05 -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 v7 06/14] dt-bindings: PCI: cadence: Remove "mem" from reg binding Date: Mon, 13 Jul 2020 16:31:33 +0530 Message-ID: <20200713110141.13156-7-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200713110141.13156-1-kishon@ti.com> References: <20200713110141.13156-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>;