Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2535175ybl; Thu, 19 Dec 2019 15:36:33 -0800 (PST) X-Google-Smtp-Source: APXvYqxRaV6maPJdLJyKxHchooqvJzUYslqn7w++g9f1udiIRSn7a226ydH9cJHINx8hxgKpNt8O X-Received: by 2002:a05:6830:1407:: with SMTP id v7mr11875151otp.58.1576798593716; Thu, 19 Dec 2019 15:36:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576798593; cv=none; d=google.com; s=arc-20160816; b=UrR+idF69n5q9XEB9CDCLaVQe2Xv9EzuNUYHvmKuJBCp4upYrBdSTonk0d8mcPqbOL ehwMMprmxGPVkzaMjC9JBhmMXt+KqIS6uFsZycJG9KLKPzQ/kf8P4OgmLDN9t72dv73v Ene9C8opu+K+OMBE7ci7DUo7h+nR6TLdlRXniJ54+r46qPWpCjxzlxcJDz4Di0jxVjF0 reQeIGyZ4UYaf8CsC781mkdPpiU13PTbshka8v7u18gpzfwLK7tzoHMSpP+ffGe26LvK vnQXTDM9jMueeu3BcpDuJgovacUB7gVD/PZulof2N9cC+X+wQr6j1bYE2ij6S3OyDZCG WWtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=RRqDAkLWobOuOYSCFG7J0bbEa5xYLcQverv9nWpPuIA=; b=QkBXrRNf0e5Efvop/sL0fk6bpn+L8jw3OuxnS6dfAaNBFup85SMiSMGu6q8Wdz1rcp eu+DFL1LKFwLDtB5QEcivYAro1IqhuESy8cmxYoo3FTvxnxo++YEP9kfkaXltqxMQdEb rXpd25X0O07Mh5SuzQkoEZfLLk2NuXNPnQV0lGX0w69wnhEwGkrhNb1xfr5RwKp64CxC X01+53u2yS+8YFBhhU1Q1moiMI9O+4MGo8l6BLwDFG18ZiKOsHEEZHx+695YQ53dpLhw 6UQy6fvUZfTT1gKxKcl0xsb52/tnHCIhtLGUn5LXQwNMrqc9gecwu8FCFYr9qINcszvC 8Q0Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g1si902260otj.115.2019.12.19.15.36.20; Thu, 19 Dec 2019 15:36:33 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727024AbfLSXfa (ORCPT + 99 others); Thu, 19 Dec 2019 18:35:30 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:39977 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726963AbfLSXf3 (ORCPT ); Thu, 19 Dec 2019 18:35:29 -0500 Received: by mail-ot1-f66.google.com with SMTP id w21so1567300otj.7; Thu, 19 Dec 2019 15:35:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=RRqDAkLWobOuOYSCFG7J0bbEa5xYLcQverv9nWpPuIA=; b=NloW0NIe8rSvYLdL5vThD/P9xy0DF/fAVISnCid+T7rbCfrIY39tgOTfB9z2AxAjEz M3RWNRv7Auysp8jBnlZAKEYwzwU4/ELqCNppHMHt3LX/zjh6RVj0My48m5kaVBxjdkmV +568c5/rs9md5QdL48C4CESZwkcTvC5z3fI3RB+0GX6fnT/16me2LL78LErMH9oigzbp JvYg9xX0aJj8HyUDl/9EDdJwYtp5uyHEoGAAnn5otOjJ4A2nH7nlO2aigQLeJHHDylYw MQAWIlj/H1Fgh5kzfS0sQjA6Rp+KSS48GGL9W0InVRFJ7dLtFZ21p1QxRaex+mLO750J nDOQ== X-Gm-Message-State: APjAAAXULZl4fCB1m1tjWhrWu5qX/xrQpgSWCzXzGpO4xvDn6nr1pMaR mAmAVWrFS69ulFu0clafvA== X-Received: by 2002:a9d:7b4e:: with SMTP id f14mr11756439oto.355.1576798528860; Thu, 19 Dec 2019 15:35:28 -0800 (PST) Received: from localhost (ip-184-205-174-147.ftwttx.spcsdns.net. [184.205.174.147]) by smtp.gmail.com with ESMTPSA id m68sm2525707oig.50.2019.12.19.15.35.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 15:35:27 -0800 (PST) Date: Thu, 19 Dec 2019 17:35:25 -0600 From: Rob Herring To: Lad Prabhakar Cc: Bjorn Helgaas , Mark Rutland , Geert Uytterhoeven , Magnus Damm , Kishon Vijay Abraham I , Marek Vasut , Yoshihiro Shimoda , linux-pci@vger.kernel.org, Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Arnd Bergmann , Greg Kroah-Hartman , Andrew Murray , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, Chris Paterson , Frank Rowand , Gustavo Pimentel , Jingoo Han , Simon Horman , Shawn Lin , Tom Joseph , Heiko Stuebner , linux-rockchip@lists.infradead.org, "Lad, Prabhakar" Subject: Re: [v2 4/6] dt-bindings: PCI: rcar: Add bindings for R-Car PCIe endpoint controller Message-ID: <20191219233525.GA9478@bogus> References: <20191213084748.11210-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20191213084748.11210-5-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191213084748.11210-5-prabhakar.mahadev-lad.rj@bp.renesas.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 13, 2019 at 08:47:46AM +0000, Lad Prabhakar wrote: > From: "Lad, Prabhakar" > > This patch adds the bindings for the R-Car PCIe endpoint driver. > > Signed-off-by: Lad, Prabhakar > --- > .../devicetree/bindings/pci/rcar-pci-ep.txt | 37 ++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pci/rcar-pci-ep.txt Please make this a DT schema. > > diff --git a/Documentation/devicetree/bindings/pci/rcar-pci-ep.txt b/Documentation/devicetree/bindings/pci/rcar-pci-ep.txt > new file mode 100644 > index 0000000..7f0a97e > --- /dev/null > +++ b/Documentation/devicetree/bindings/pci/rcar-pci-ep.txt > @@ -0,0 +1,37 @@ > +* Renesas R-Car PCIe Endpoint Controller DT description > + > +Required properties: > + "renesas,pcie-ep-r8a774c0" for the R8A774C0 SoC; Normal ordering is: renesas,r8a774c0-pcie-ep > + "renesas,pcie-ep-rcar-gen3" for a generic R-Car Gen3 or > + RZ/G2 compatible device. > + > + When compatible with the generic version, nodes must list the > + SoC-specific version corresponding to the platform first > + followed by the generic version. > + > +- reg: base address and length of the PCIe controller registers. > +- outbound-ranges: outbound windows base address and length including the flags. > +- resets: Must contain phandles to PCIe-related reset lines exposed by IP block How many? > +- clocks: from common clock binding: clock specifiers for the PCIe controller > + clock. > +- clock-names: from common clock binding: should be "pcie". > + > +Optional Property: > +- max-functions: Maximum number of functions that can be configured (default 1). > + > +Example: > + > +SoC-specific DT Entry: > + > + pcie_ep: pcie_ep@fe000000 { pcie-ep@ > + compatible = "renesas,pcie-ep-r8a774c0", "renesas,pcie-rcar-gen2"; > + reg = <0 0xfe000000 0 0x80000>; > + outbound-ranges = <0xa 0x0 0xfe100000 0 0x000100000 > + 0xa 0x0 0xfe200000 0 0x000200000 > + 0x6 0x0 0x30000000 0 0x008000000 > + 0x6 0x0 0x38000000 0 0x008000000>; > + clocks = <&cpg CPG_MOD 319>; > + clock-names = "pcie"; > + power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>; > + resets = <&cpg 319>; > + }; > -- > 2.7.4 >