From patchwork Thu Oct 15 06:47:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "bhupesh.sharma@freescale.com" X-Patchwork-Id: 7403101 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B4BBB9F1D5 for ; Thu, 15 Oct 2015 07:06:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D4AAE2069D for ; Thu, 15 Oct 2015 07:06:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CDDB420686 for ; Thu, 15 Oct 2015 07:06:17 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zmcap-0007Rw-6h; Thu, 15 Oct 2015 07:04:51 +0000 Received: from mail-bn1bbn0103.outbound.protection.outlook.com ([157.56.111.103] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZmcaU-0006vg-Dk for linux-arm-kernel@lists.infradead.org; Thu, 15 Oct 2015 07:04:31 +0000 Received: from BY2PR03CA077.namprd03.prod.outlook.com (10.141.249.50) by BN3PR0301MB1297.namprd03.prod.outlook.com (10.161.210.152) with Microsoft SMTP Server (TLS) id 15.1.293.16; Thu, 15 Oct 2015 07:04:08 +0000 Received: from BY2FFO11FD050.protection.gbl (2a01:111:f400:7c0c::141) by BY2PR03CA077.outlook.office365.com (2a01:111:e400:2c5d::50) with Microsoft SMTP Server (TLS) id 15.1.300.14 via Frontend Transport; Thu, 15 Oct 2015 07:04:07 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD050.mail.protection.outlook.com (10.1.15.187) with Microsoft SMTP Server (TLS) id 15.1.286.14 via Frontend Transport; Thu, 15 Oct 2015 07:04:07 +0000 Received: from localhost.localdomain ([10.214.249.140]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t9F726jt013518; Thu, 15 Oct 2015 00:04:02 -0700 From: Bhupesh Sharma To: , , , , , Subject: [PATCH v3 05/12] doc/bindings: Update Layerscape PCIe devicetree binding to be more flexible Date: Thu, 15 Oct 2015 12:17:45 +0530 Message-ID: <1444891672-32117-6-git-send-email-bhupesh.sharma@freescale.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1444891672-32117-1-git-send-email-bhupesh.sharma@freescale.com> References: <1444891672-32117-1-git-send-email-bhupesh.sharma@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD050; 1:x+v4ZoAE8mJq0uhX8fX2f5MqvrPlX0k5OY/j1aMOYsKrZTy4r9ukDhsbR9m3dvMEe7BubCtftCrT8xt855OKaoE+raK2GINyRmAuD6JAKIqcFQb5lGdrmKxgPoduQ2rbxlKXNQwp7ODzRT60WWpUxzeiVm+kPTba7Oczuy0K/gAEft5FlkmFaSZJpV0FFTX5ipG4xW7GyXXzZd8LUusJcNw3BLS8E9tdmI0Ej7BbWPZeW7kTulXvuoxNUzgEm16SB267fbIqEbwCOZ2yURNPsbdk/erMsA1kXoEP6CfEPdpbRGBj1+195oKdL7dVQQlYfFx/y/At0BgHB0fzcdHVJ1/HZpmBjaXSeNtYHrraFYrRro2pR/nf5iqVCBvFqpA2F2Xjbs9EzhpwKUsRDYxlrw== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(64706001)(50226001)(69596002)(46102003)(48376002)(2201001)(50466002)(36756003)(106466001)(107886002)(5001770100001)(189998001)(104016004)(5008740100001)(97736004)(6806005)(5001960100002)(85426001)(47776003)(50986999)(5003940100001)(19580395003)(49486002)(86362001)(19580405001)(105606002)(2950100001)(92566002)(87936001)(77096005)(229853001)(33646002)(81156007)(11100500001)(5007970100001)(76176999)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB1297; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1297; 2:RFmUtOVaLCwkT7S2amonkFoJAXcbLaZ9L7Z2J3KM+tDc6pVD6f3WmbRQszUfbAm3a2h/RkDL/Llspb99vL/2WSOs9u3TrjyCEtK/05qs5KndiE1I7T0OEzUZuk2Yjdb/t/miEg/66bSgKpFqGCbcv6oROFKOp5iPCFijz1TFFd8=; 3:1UCExinr/mBytfZtIQvmKM8g5pg62usXoMvXKunFZt9p2T9tOLl3ZdhEnCkQ2Em7Pw3fjv2idDQLoUKQqxeAHpISqc/CfzJuFYYj8Qik+2mMAu4AuaAQfhc/EfgolAqyBo+pFSR58FOBUWp04JsACXdikEs7xQvYD62Iwqbu5idA5NunWTrBNb80SjeYnOkH405dXTP3grmsIgacgFahJhvLfyhIoiK71GdDSR7twVg=; 25:R5PZm5IhynIcEqM2baXJVI8LJ3RuwycjBiNv5OHMhmhLX5U04C7iQuALf0fLE5TczXtAY1Zc1cJR5ICmHOWyjQEFYO8QxJ5d7EUpWvmgjgNZWLNZgzKYCH1pTnjzNFqqEXk10ZDN7cSGSiBcf6AmChspRpvpHUn7d6nkAgEbEaP+Z9+C4nRGr1RG8M3AmJMOVlb6lafyt3DpOGlTGZefPIbPjMg0UUgcyxxoXcvnbK2oAnm/e9K55MHLJmFflKDKWf8h8bBGYf2IG+QXiY8arg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1297; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1297; 20:GAy4PUZ+QGlFyTZ/sgxFgxFhvsIM47B9noeW8atY0b5eTw1dKawqo2Fwz4AENpdJV7i8cmwJJE7hIU2psgX0iBdmo9Y6gDMFqJMBILXZwRkaEOchEANAwu92oKgtOX75fHKM6ia/VlXT3SyuEV7pj/SOh4Z6Dm0h8YuUHp+yetwwYkG6L5RbD1oPwzRy15Ub+ecdFN5nyPS8XMTI+luIXAgV7h4mrFOj2iUXn3Y1p782MWM4ZplgS7qXJ+cghHG6SIUum+gjG7bQ3RYhPWBdYHfu78u3OPJ1asB0OoKjjlnzgVLSSvDJaNJ9ue208YfBzyX10pEV2Wfr98H1EyZIfePnMdcJMevAK+txxEeuvZo=; 4:/I0HeE6z8/TBIvF32TwJrvBX/1TMjAf5ez+9XhK+UFgWoOws3pB5rfy0Zky1rlauLkgZHTIZYZ7gt1uW01QFOmO0aERcyZqZcb65Vddbh+MsXJcigLk8uaQ07m74O54crsVB1QodohjcHkH86wHg2jX7qSYD+Nm3+n5xwhRNHG8A6gb6RNmu8dzZMbTSQLYX/9vheZRGaYa8tv+nWddCNnfgNLMgA4eiYEikhnNY5YURvll/fmEbQ1CY6hPKKuFaKjbG4r+tFGAu0g37zWjxt4OHqKmz7Q7udrDhlraBIu/HxYBiQuPPiIGkkz89s4Rp2qgWa/dQ2TjAuWitxx+iKjR8fuh1NAQHqj1GGJhHbZM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(3002001); SRVR:BN3PR0301MB1297; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0301MB1297; X-Forefront-PRVS: 0730093765 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB1297; 23:t7UvGL/leV2WSitAe+GK8tyZZCqVJOYLEoTwVdp?= =?us-ascii?Q?7tdXqhAr+rWwiTEC9bR018PJHn2/F5IvGRtQR21zAQlOqQGp/zqnFIRv2a0U?= =?us-ascii?Q?WBNixB1YNHRvqZEra3LHixoxcWTrLMV3aNPdjVkdqYql1rf/FY4g1gFaXRD4?= =?us-ascii?Q?R7Sy/J5Cp4Q3NAqwIa1wSYa4RRYYMEqGfb676fueqjKGn60WqqfOkpNHtaea?= =?us-ascii?Q?JbDawRHBxa6u/LgBkwbVX5ZbqtyVRGgJoc14gRBPFbIGBQFUlAB+64VPdByB?= =?us-ascii?Q?CugXzn0QgmzxfTzE7zwdphoq+Iz/8gtWBeIXbQRGKUrgnSx9LYz8g3O77aLN?= =?us-ascii?Q?36iVMLZbNGAYI+B/t5tTzAvi61oktVLKf4RGQR/5Ib0+T7exSZ+YvfUv6Ub/?= =?us-ascii?Q?DT9HZR74nLSzsnu28gcFXaPkcawuo4PKpoTZtHvBOa6wG8hbiw/JAHUDwhVo?= =?us-ascii?Q?F1NkaekghV2XStNcgGKvh7gU/tN9kJleEHkABgg/o1ao2rYf5n40OwP0/CZ8?= =?us-ascii?Q?0Iv5khNYSSzZqEipRnZW4M64Cad2u6NGqZQVcuSevysbd0RURVlHrcndIUvU?= =?us-ascii?Q?y/bLeutl2e2hGnraESNr7WG64ExvTwTyvHSpCrwIWEwIIZ3KznIITbEHn81t?= =?us-ascii?Q?OMnToj+Am/7Mms9Rr3n80Jn3GBGkwO1y/QGaKjMsTr75cIK5cSiKuk++unAy?= =?us-ascii?Q?C2L1cTfuuZThCQi/bkFx4I9nvoSQ4XyMGFhJLHs8ffAN9hJAF3kc9bHRlgDV?= =?us-ascii?Q?6P+jp40z8AqIeNtmJGuVXjZUgxXYth7CWysOhpFU7XmXSEZuKVNYXBOUzXAO?= =?us-ascii?Q?dlqWM75TbbiTSvSJ/zx8MbIQyfVrLM2bK9g4Y0s3WULGYkJOceDT+yTAbtrf?= =?us-ascii?Q?CRr2uDA88SYzNxixqxgx8a+dvR2AkYrhF2gL/uMcm4mXO0wQ24mRFWzrzxVW?= =?us-ascii?Q?jzQsGPE8scyFTEfCN+YGiSGFjykzv2kSKND+w4f9h2QauvNE5WUAiM4cfHsA?= =?us-ascii?Q?HRB7HQ7PpRt8CT4n0ZXC1lqVvPjf3V8pFadgYanWCtfFFv672jDeHYumU0gU?= =?us-ascii?Q?t+NZtATqebrHXgUm3W++9fKmlUmV6+fFy/oqgyd9okRZ3b4QANvmygglGs0N?= =?us-ascii?Q?44vo6UUJYnIPFDVs7ROhb1CT51GSdaYh/P9zqR1gVsWQVzApB/KPpBq3vnEL?= =?us-ascii?Q?Kju0msGUJHthXfvU=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1297; 5:xrUZd0lU7vGrtvJcMest07w7UwfNdBHLrdycaLqQop3r+J+lge42amErj6CYL4IB998HHdLM/liyg71+bY1/JAGiChXfus/4clEMgfAmQi4+kKI4BLT6+OxpiWC+1yP4giZR1wvRQkEvHTOGuq5yhQ==; 24:u4gZT3II20b7ml38hkKjTNRmZR0LJcpGC/N+6hszf6xc7NOc8B4ULG+I/Yc/YXY0OUXd0Ckbdk0ophAsRt1P/ic/9hbusKDtaLOwFoX+Kos=; 20:ua3SbqJtLQlLMZ4PWxrdIjcvfQCeitB4bhbaPbSJ/ir99Ng+j+NYoenHi/X1H19taFrGeeKnTIdo8gUe5gpTbQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2015 07:04:07.5864 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1297 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151015_000430_841540_29D7B6CF X-CRM114-Status: GOOD ( 13.06 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: LeoLi@freescale.com, bhupesh.sharma@freescale.com, Catalin.Marinas@arm.com, will.deacon@arm.com, stuart.yoder@freescale.com, Minghuan Lian , scottwood@freescale.com, bhupesh.linux@gmail.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Update the definition of the Layerscape PCI compatible string to be more flexible, using , so the same binding definition is applicable to multiple SoCs. Signed-off-by: Minghuan Lian Signed-off-by: Bhupesh Sharma --- .../devicetree/bindings/pci/layerscape-pci.txt | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/layerscape-pci.txt b/Documentation/devicetree/bindings/pci/layerscape-pci.txt index 6286f04..7d918ab 100644 --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt @@ -1,10 +1,21 @@ Freescale Layerscape PCIe controller -This PCIe host controller is based on the Synopsis Designware PCIe IP +This PCIe host controller is based on the Synopsys Designware PCIe IP and thus inherits all the common properties defined in designware-pcie.txt. +Note that since this controller derives its clocks from the Reset +Configuration Word (RCW) which is used to describe the PLL settings at +the time of chip-reset, the 'clocks' and 'clock-names' properties from +'designware-pcie.txt' are optional for this controller. + +Also as per the available Reference Manuals, there is no specific 'version' +register available in the Freescale PCIe controller register set, +which can allow determining the underlying Designware PCIe controller version +information. + Required properties: -- compatible: should contain the platform identifier such as "fsl,ls1021a-pcie" +- compatible: should contain the platform identifier such as "fsl,-pcie", + "snps,dw-pcie". - reg: base addresses and lengths of the PCIe controller - interrupts: A list of interrupt outputs of the controller. Must contain an entry for each entry in the interrupt-names property.