Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp609303ybx; Wed, 6 Nov 2019 23:41:05 -0800 (PST) X-Google-Smtp-Source: APXvYqzibFBxjw8zo42g51BWSsn6qlQcfdpN+j11kvPyh1yNxbOL9g/ACWy8/tt2Vu8+80vptip1 X-Received: by 2002:a17:906:5e52:: with SMTP id b18mr1665055eju.318.1573112465204; Wed, 06 Nov 2019 23:41:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573112465; cv=pass; d=google.com; s=arc-20160816; b=l1h2wgbqZwelQupgILibXCmfCpKF8X4jmvBT5U36bfSzPdHGW529A8Xh+cLnRwHhYc L3m89TMMHyQgFrvpvbmxW4+YqLQ50A95BrdSCpQpLybOB63CLl4cnjVepKCMcxYAQjCQ 20sPdu+PA2dUWMNbcyMzLtKiJLP9wMiLVrD4FjF9XqdEcCI8guxbq2aBZ1yinvUhTEq8 RluzDJ6HUXtKWqDI7mCVkZBlH+Y1jMS/Onv0BdeLR93f2M/3qv5ctoHD23ay1JvPu9dy ACdCSjcOQLjTBx5Ix/Nvkzjd/ySJTxgNHOSKT5fjBTFzMOWMUffE8kh23PiMf6ToX9Gt HavA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=czWyYTWZRhB+7KG+3GZVGdw8cuqOHqhRFrrCf2B5qKI=; b=hsFrBPuJUhSsc/aekm/kzTTKToyBUmjLzHiLSksGf5xGmNLH41ZwoDG6In/USZE8T3 qNSTQHmAGBWT6lRhuEDZyApt+15uNrX5lf6kaYwf4EBpVrvNJZAzhnsRntP6sHkKOoD/ 55DlTNbCOCm6YUpFixqlo87M0RrPGsCWX0osF2PPdAnVeZiNv0LXzFGZsKv+STprm5mm VBztRRR88Gm19MfC96J+85OGnrvnJMl5ZBcNad2QOBroQXd9Iex/3gqOKkK1pQW/MlaQ 458nQrEFd1X0NXJlw71Cse9/PL8z20GQ/hGpJ9A4cJGH9kLAh3XdToxBpMzgaKe50WLh vP2w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@renesasgroup.onmicrosoft.com header.s=selector2-renesasgroup-onmicrosoft-com header.b=go59pu7j; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dkim=pass dkdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c10si814368eda.284.2019.11.06.23.40.41; Wed, 06 Nov 2019 23:41:05 -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=@renesasgroup.onmicrosoft.com header.s=selector2-renesasgroup-onmicrosoft-com header.b=go59pu7j; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dkim=pass dkdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726829AbfKGHjq (ORCPT + 99 others); Thu, 7 Nov 2019 02:39:46 -0500 Received: from mail-eopbgr1400121.outbound.protection.outlook.com ([40.107.140.121]:3541 "EHLO JPN01-TY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726498AbfKGHjq (ORCPT ); Thu, 7 Nov 2019 02:39:46 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b1Xi5RQa6K1naqDQOcvwFmuPRS4TRU8iY/pREqS0lrmjOiLgDGH80isJLnvAQY/Fxi9nFxBZdOi4ccvidIW9oPqwBSFVisbV3k1fFG4LlxWCyTECgUFQFrF1m1hQqtM5rRAjtoE/QIhgjZu3LWiYe7ZLbJo8ElKCniIbRfinoR0NBW4FdZNW0fCRraUCDNHi224jE/DROrwPgxy0fabUVuBYGpfO6W4Na4ofhkveLtyJ1iTDthWPgGCjAga19yLIvxthpHqbIkEvumOmyjPLzlRsVsBDL+eDPkHL2/uRfZaYGtJ/+VwJjJQLG6oIjfC6r7+ZxeacAELgu66Go3QSFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=czWyYTWZRhB+7KG+3GZVGdw8cuqOHqhRFrrCf2B5qKI=; b=L7/jowipYdAzs/6Nbl3nOARs0DTQCSdN97M2eIRTsjNn8Smv3Jx/k2wZKDJkl0rmohBkTZl7Ph34BI1Rwn4sfXVGk4TrA8BgBjxEymHSg7g55WI3EtJpV3414S5OnEwMhpPxAjrrJTYrkO6bJwWzPxte2Kus/mbu5jWKC0NKNH0RIv+cxUZQqsR16lhTLP0MJLQoJuaphVT7lg6OQcPO3AC/ekwquPkr15AqtW0gRfpKdll3XaATu5lwX6URzKgFkRa7yVcq8YWV8WtcbI0J+hP96IPt6E46R05WTHQDC/hu0HXcbJ2qpvMkf7uhC+IVeZcLQnYfujVIeYhr0Gq/mw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bp.renesas.com; dmarc=pass action=none header.from=bp.renesas.com; dkim=pass header.d=bp.renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector2-renesasgroup-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=czWyYTWZRhB+7KG+3GZVGdw8cuqOHqhRFrrCf2B5qKI=; b=go59pu7jmLbHi4vtsgh0ltm4uLRrrBJ5xluMIuemm2BOgUPQmmbHTLOh8w3Lq9vVoaWy5Qfho7VtZVaLa4eB0LidXhkLpC66YNkERy91UrrnHsU5dmSyF6xXREC59uia8DKj9xyThF0js6W+a+iETetgj2+rP/Bs/VPnnA4Uqc8= Received: from OSBPR01MB2103.jpnprd01.prod.outlook.com (52.134.242.17) by OSBPR01MB4168.jpnprd01.prod.outlook.com (20.178.5.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Thu, 7 Nov 2019 07:39:37 +0000 Received: from OSBPR01MB2103.jpnprd01.prod.outlook.com ([fe80::c9e7:5418:764e:69e3]) by OSBPR01MB2103.jpnprd01.prod.outlook.com ([fe80::c9e7:5418:764e:69e3%3]) with mapi id 15.20.2408.024; Thu, 7 Nov 2019 07:39:36 +0000 From: Biju Das To: Lad Prabhakar , Bjorn Helgaas , Rob Herring , Mark Rutland , Geert Uytterhoeven , Magnus Damm , Kishon Vijay Abraham I , Marek Vasut , Yoshihiro Shimoda , "linux-pci@vger.kernel.org" CC: 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 , Prabhakar Mahadev Lad Subject: RE: [PATCH 3/5] PCI: rcar: Add R-Car PCIe endpoint device tree bindings Thread-Topic: [PATCH 3/5] PCI: rcar: Add R-Car PCIe endpoint device tree bindings Thread-Index: AQHVlNmPWeEtWINgRU2UgJ1FcD7vaKd/UtRw Date: Thu, 7 Nov 2019 07:39:36 +0000 Message-ID: References: <20191106193609.19645-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20191106193609.19645-4-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: <20191106193609.19645-4-prabhakar.mahadev-lad.rj@bp.renesas.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=biju.das@bp.renesas.com; x-originating-ip: [193.141.220.21] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d441c6ad-ff2f-4f54-7892-08d76355a3ee x-ms-traffictypediagnostic: OSBPR01MB4168:|OSBPR01MB4168: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0214EB3F68 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(376002)(39860400002)(366004)(396003)(136003)(346002)(189003)(199004)(51914003)(5660300002)(2501003)(9686003)(7416002)(478600001)(6116002)(256004)(74316002)(7736002)(305945005)(2906002)(25786009)(86362001)(99286004)(476003)(6436002)(52536014)(446003)(11346002)(76176011)(4326008)(6246003)(44832011)(7696005)(8676002)(316002)(81156014)(81166006)(107886003)(8936002)(71190400001)(66446008)(3846002)(64756008)(66066001)(66556008)(14454004)(486006)(54906003)(71200400001)(110136005)(186003)(6506007)(26005)(229853002)(102836004)(66476007)(76116006)(66946007)(55016002)(33656002)(921003)(1121003);DIR:OUT;SFP:1102;SCL:1;SRVR:OSBPR01MB4168;H:OSBPR01MB2103.jpnprd01.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:0; received-spf: None (protection.outlook.com: bp.renesas.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Lebl50PFmlsMtNf488sLqvXnXvm6ZAqyoIfDGlnvBoj3lRfS+2hFXz2bhHkA7hwkUqVIzvzqM4aAne+GLOLWcHtYcD2JXvuR4E6EdmG8XkzTOr7IH4V0NVzdQ/3VzTOKkQOdj7Q+yiVhWdmkyKx6eNMwQi5NUHkvC5Gv98T5JBLjJSv18xQAc7GbWPPUo8yHad8eFJcSBgDjdV4ffbRqCvPgPHVbCU/AtAyjIBQOk+IOWhjPfQPnvynhn3qvmGbwXusy2WmBjcU3P8B1qACBNoV7WpNi4Pid/48wTUKSChrGGh9vdJA8LB4XFK2sGdTzMyXPcWJ7Z7VVToJB6LwnzFO1EhjaDzsrImPrwaGndm8wJqUQwHVwTg3BBV+j9luF0EEh+WA6E8HDJ+5oi9MAhVnCcH0pOb0q3ZnEn1C8/qLzaztQGNiKYh7Wv8scDxEo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: bp.renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: d441c6ad-ff2f-4f54-7892-08d76355a3ee X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Nov 2019 07:39:36.5851 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /Me6ift2cE3Zis41oSNSeijNz0oYl/ZkXs92eCJLai1pMF+5H+zWQYJyvM2YwMrV7OsAXFerI1SNrbXaEDr+cA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSBPR01MB4168 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Prabhakar, Thanks for the patch > Subject: [PATCH 3/5] PCI: rcar: Add R-Car PCIe endpoint device tree bindi= ngs >=20 > From: "Lad, Prabhakar" >=20 > This patch adds the bindings for the R-Car PCIe endpoint driver. >=20 > Signed-off-by: Lad, Prabhakar > --- > .../devicetree/bindings/pci/rcar-pci-ep.txt | 43 +++++++++++++++++++ > 1 file changed, 43 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pci/rcar-pci-ep.txt >=20 > 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 000000000000..b8c8616ca007 > --- /dev/null > +++ b/Documentation/devicetree/bindings/pci/rcar-pci-ep.txt > @@ -0,0 +1,43 @@ > +* Renesas R-Car PCIe Endpoint Controller DT description > + > +Required properties: > + "renesas,pcie-ep-r8a774c0" for the R8A774C0 SoC; > + "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: Five register ranges as listed in the reg-names property > +- reg-names: Must include the following names > + - "apb-base" > + - "memory0" > + - "memory1" > + - "memory2" > + - "memory3" > +- resets: Must contain phandles to PCIe-related reset lines exposed by I= P > block > +- clocks: from common clock binding: clock specifiers for the PCIe contr= oller > + 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 { > + compatible =3D "renesas,pcie-r8a7791", "renesas,pcie-rcar- > gen2"; I believe it is currently tested on RZ/G2E. so please use the same. Cheers, Biju > + reg =3D <0 0xfe000000 0 0x80000>, > + <0x0 0xfe100000 0 0x100000>, > + <0x0 0xfe200000 0 0x200000>, > + <0x0 0x30000000 0 0x8000000>, > + <0x0 0x38000000 0 0x8000000>; > + reg-names =3D "apb-base", "memory0", "memory1", > "memory2", "memory3"; > + clocks =3D <&cpg CPG_MOD 319>; > + clock-names =3D "pcie"; > + power-domains =3D <&sysc R8A774C0_PD_ALWAYS_ON>; > + resets =3D <&cpg 319>; > + }; > -- > 2.20.1