Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3948212ybl; Tue, 21 Jan 2020 09:58:48 -0800 (PST) X-Google-Smtp-Source: APXvYqxNOsWjG1stxNm2eGZh0K48Ox1/2CglBuby5tyxBXpHn6sqthNjcqGj/XRgDek8fBAk/aNX X-Received: by 2002:a05:6808:4c7:: with SMTP id a7mr3869391oie.83.1579629528574; Tue, 21 Jan 2020 09:58:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579629528; cv=none; d=google.com; s=arc-20160816; b=Nx8nOAJuHtqfM4e7fzgsrm4MLsMuZmecU/3dUY4zJTRBFQjblktafL6Rv2PFQtWKXt F5t5/JiueXV4SbYKIindNhmvw80H7/rbKBoiNAIoqXCmCVVgmw3awZCnJnvMlijMTnE4 8SYLI/7ZEKwp+rfKsxB+J00MLXxkUBvh9sIrgLEY1GcbQj5RlsQbUQyVIqXK4wluxSFe Wr/cBxq1maOqM6jqiRjpRcxYOSrK/+nJOfwjWBtpV78ZgyR3evGKHuoqzQNRaNvb9gO9 7CzOIaQTlHA6gfFXQEDqgHv6gvb5yrLLgWDBBls1MLRwv+kJLsyzIdMOm31TWTuQBAJ6 CzsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Mp6DdFVSXVePI6iSGCnPMxvllFc7taA3faXPCTrJyOk=; b=m+rkuPp3qty7i4cRX258xVHQg2/tXFZBbbglYHkMgmMVmKBdMGFrSTE525W7NwmYj/ CQOma4+dmnDJxWQzhh24AuA5s71R9R16gjRDo5NejBoR+O8iddSIfX+I+9jTHJ2vIVeE Yz9w1/zo80H5e48QHs8GjdFDNAHO0YIlThupN9ZubNaDeu7joVTX/uDhYhWwd8nAiwzq ZCyUxWdQgm3R5bxJ0JCsQglH/UJm9V3V/dmfPVkDVLj8FTFxdwMfKArLfYucDu2cx/jl pje6jsDax+TfBHSR+GT++F3lrh0Sc+Q/IPPpe4MMlzSKGF4N0Bvl1OJLu4aBIYYZ9h6I tGzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fvs0k64W; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y9si20258801oiy.81.2020.01.21.09.58.36; Tue, 21 Jan 2020 09:58:48 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fvs0k64W; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729277AbgAUR5n (ORCPT + 99 others); Tue, 21 Jan 2020 12:57:43 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:34796 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728186AbgAUR5n (ORCPT ); Tue, 21 Jan 2020 12:57:43 -0500 Received: by mail-oi1-f194.google.com with SMTP id l136so3437057oig.1; Tue, 21 Jan 2020 09:57:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Mp6DdFVSXVePI6iSGCnPMxvllFc7taA3faXPCTrJyOk=; b=fvs0k64WTpLPoEYSU10yB4vhu1oKNCS3z851fAJBpMS31H71pFpdt95LE6mt0lodMh Jdqv99H4gGi4rcE1ufxinz/IjL1qBRzTshBYn4yImdugBHqsI/JvBDKbrLNnszNs8xDQ 7CACHghR7TC+u1H1Yz57CoWfMmQiueT0PCEvJJHkVw72rFCT5yBklHSpu+SqGcn8vxNN 8/lDvlGdM44tQFfDAWN260vjs6rXfoO5JpDNlqIuhvQJWCGbaCFHPIxVhRtMpVzJM3ye NPI62fQL1BoPCFs8rgxB6F9lcQFjMQlGgM4h7Y0zL2uDpQAFC7BdMYhoTEx8/xAwnt7p C3Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Mp6DdFVSXVePI6iSGCnPMxvllFc7taA3faXPCTrJyOk=; b=hfQGcjjWghvA35CTt3kKlehWLtCMqUhn7rxmgEig062Hd0y6yyO87TaC8hZxeDmnEL Ql+2l5/ny9wMgTZJzZtlfB16WhB3vV+5eybDi1ZKcuN5SjHLI+oQ1SJfrURq2Yp+ipE0 bdtkPns61LsupGBIFp3RKknA4NcqPiIJ7R/AxC453b+0Bpu/uRwlUJ12evAFAzCY20J3 0fzi2tf5SohtoUS4ckfwgLgC70a4ULFv0n1t6KE7GmVucFDv2a0zPjmv0TKy1MLAR5vE hq7U+fRbCCbnlZXjrSXI39KKpHs3s5LsnXL+BumfcxnmlUbpU+V6BmOuczUy+STzNbGt fdiQ== X-Gm-Message-State: APjAAAV185nsAcdawaUq0BRvHnviOLKoeSDXrYqndt35QKN+GTV39YYb pe8E6BsGnv3kXQ4FUiimagx8mmY2VoJzfWS4cHw= X-Received: by 2002:aca:4ad5:: with SMTP id x204mr3773363oia.162.1579629462726; Tue, 21 Jan 2020 09:57:42 -0800 (PST) MIME-Version: 1.0 References: <20200108162211.22358-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20200108162211.22358-5-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: <20200108162211.22358-5-prabhakar.mahadev-lad.rj@bp.renesas.com> From: "Lad, Prabhakar" Date: Tue, 21 Jan 2020 17:57:18 +0000 Message-ID: Subject: Re: [v3 4/6] dt-bindings: PCI: rcar: Add bindings for R-Car PCIe endpoint controller To: Rob Herring , Bjorn Helgaas , Mark Rutland , Geert Uytterhoeven , Magnus Damm , Kishon Vijay Abraham I , Marek Vasut , Yoshihiro Shimoda , linux-pci Cc: Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Arnd Bergmann , Greg Kroah-Hartman , Andrew Murray , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , LAK , Linux-Renesas , Chris Paterson , Frank Rowand , Gustavo Pimentel , Jingoo Han , Simon Horman , Shawn Lin , Tom Joseph , Heiko Stuebner , "open list:ARM/Rockchip SoC..." , Lad Prabhakar Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob/Kishon, On Wed, Jan 8, 2020 at 4:22 PM Lad Prabhakar wrote: > > This patch adds the bindings for the R-Car PCIe endpoint driver. > > Signed-off-by: Lad Prabhakar > --- > .../devicetree/bindings/pci/rcar-pci-ep.yaml | 76 +++++++++++++++++++ > 1 file changed, 76 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml > > diff --git a/Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml b/Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml > new file mode 100644 > index 000000000000..99c2a1174463 > --- /dev/null > +++ b/Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml > @@ -0,0 +1,76 @@ > +# SPDX-License-Identifier: GPL-2.0 > +# Copyright (C) 2020 Renesas Electronics Europe GmbH - https://www.renesas.com/eu/en/ > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pci/rcar-pcie-ep.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Renesas R-Car PCIe Endpoint > + > +maintainers: > + - Lad Prabhakar > + > +properties: > + compatible: > + items: > + - const: renesas,r8a774c0-pcie-ep > + - const: renesas,rcar-gen3-pcie-ep > + > + reg: > + maxItems: 5 > + > + reg-names: > + items: > + - const: apb-base > + - const: memory0 > + - const: memory1 > + - const: memory2 > + - const: memory3 > + > + power-domains: > + maxItems: 1 > + > + resets: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + items: > + - const: pcie > + > + max-functions: > + minimum: 1 > + maximum: 6 > + > +required: > + - compatible > + - reg > + - reg-names > + - resets > + - power-domains > + - clocks > + - clock-names > + - max-functions > + apart from dt_binding_check error are we OK with dt bindings ? Cheers, --Prabhakar > +examples: > + - | > + #include > + #include > + > + pcie0_ep: pcie-ep@fe000000 { > + compatible = "renesas,r8a774c0-pcie-ep", > + "renesas,rcar-gen3-pcie-ep"; > + reg = <0 0xfe000000 0 0x80000>, > + <0x0 0xfe100000 0 0x100000>, > + <0x0 0xfe200000 0 0x200000>, > + <0x0 0x30000000 0 0x8000000>, > + <0x0 0x38000000 0 0x8000000>; > + reg-names = "apb-base", "memory0", "memory1", "memory2", "memory3"; > + resets = <&cpg 319>; > + power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>; > + clocks = <&cpg CPG_MOD 319>; > + clock-names = "pcie"; > + max-functions = /bits/ 8 <1>; > + }; > -- > 2.20.1 >