From patchwork Mon Dec 26 05:20:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 9488457 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 21FDC604B9 for ; Mon, 26 Dec 2016 05:21:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 102AA2022C for ; Mon, 26 Dec 2016 05:21:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 04D0D20243; Mon, 26 Dec 2016 05:21:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 92A8A20144 for ; Mon, 26 Dec 2016 05:21:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754949AbcLZFVR (ORCPT ); Mon, 26 Dec 2016 00:21:17 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:53265 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754047AbcLZFUm (ORCPT ); Mon, 26 Dec 2016 00:20:42 -0500 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OIS00Z9G1I8UD50@mailout1.samsung.com>; Mon, 26 Dec 2016 14:20:32 +0900 (KST) Received: from epsmges5p1.samsung.com (unknown [182.195.40.65]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20161226052031epcas1p468da35b60e2751596c094342afda4fca~Ttr6RKSOE0537905379epcas1p4E; Mon, 26 Dec 2016 05:20:31 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p1.samsung.com (EPCPMTA) with SMTP id 6E.8C.31243.F98A0685; Mon, 26 Dec 2016 14:20:31 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20161226052031epcas5p4f151c41189f7b3811979ca1e10aab1be~Ttr52di3v2287722877epcas5p49; Mon, 26 Dec 2016 05:20:31 +0000 (GMT) X-AuditID: b6c32a2c-f79ad6d000007a0b-c1-5860a89f8a4f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id EF.92.28332.F98A0685; Mon, 26 Dec 2016 14:20:31 +0900 (KST) Received: from localhost.localdomain ([10.113.62.216]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OIS0072C1I6BY80@mmp1.samsung.com>; Mon, 26 Dec 2016 14:20:31 +0900 (KST) From: Jaehoon Chung To: linux-pci@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, bhelgaas@google.com, robh+dt@kernel.org, mark.rutland@arm.com, kgene@kernel.org, krzk@kernel.org, javier@osg.samsung.com, kishon@ti.com, will.deacon@arm.com, catalin.marinas@arm.com, cpgs@samsung.com, Jaehoon Chung Subject: [RFC PATCH 5/6] Documentation: pci: add the exynos5433-pcie binding Date: Mon, 26 Dec 2016 14:20:28 +0900 Message-id: <20161226052029.10552-6-jh80.chung@samsung.com> X-Mailer: git-send-email 2.10.2 In-reply-to: <20161226052029.10552-1-jh80.chung@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrAKsWRmVeSWpSXmKPExsW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Ae3kPdgwMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprLIsWRmVeSWpSXmKPExsVy+t9jAd35KxIiDLpapC2WNGVYvF/Ww2jx 8pCmxfwj51gt3rxdw2Rx41cbq0X/49fMFhee9rBZnD+/gd3i8q45bBZn5x1ns5hxfh+TxdLr F5ksWvceYbd4+fEEiwO/x5p5axg9Fmwq9di0qpPNY0v/XXaPvi2rGD2O39jO5PF5k1wAe5Sb TUZqYkpqkUJqXnJ+SmZeuq1SaIibroWSQl5ibqqtUoSub0iQkkJZYk4pkGdkgAYcnAPcg5X0 7RLcMi51NjIVPOSraNp/hLGBcSNPFyMnh4SAiUTz9E3MELaYxIV769m6GLk4hASWMkpc3LKV HcL5wSix/FgvI0gVm4COxPZvx5lAbBEBWYmPl/eAdTAL3GKSmP75E9goYQEfiRknfrGA2CwC qhJLz3aDNfMKWEv0nr0OtU5eYuH5I2CDOAVsJJ6/a2UFsYWAap6sPME2gZF3ASPDKkaJ1ILk guKk9FyjvNRyveLE3OLSvHS95PzcTYzgqHkmvYPx8C73Q4wCHIxKPLwG4gkRQqyJZcWVuYcY JTiYlUR4tywBCvGmJFZWpRblxxeV5qQWH2I0BTpsIrOUaHI+MKLzSuINTcxNzI0NLMwtLU2M lMR5G2c/CxcSSE8sSc1OTS1ILYLpY+LglGpgXOl3z3ua3tE+iwuzZ/ZdVFj5ad36rgeGVYc8 chN3rdw+6eqFR9WRCVkzl94uzrUvKZrTE5oq8CPylPiZ3oZpbNrG933i7E5Ncl7gs3R5/IwD c1UjmOebrwzfuOOj9cI/GnqSUUv2zthzzjek4Wqnan+QSZPS3frqZZr8dyc1LfKqecXxae96 PSWW4oxEQy3mouJEADNuTmOwAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161226052031epcas5p4f151c41189f7b3811979ca1e10aab1be X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?7KCV7J6s7ZuIG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbUzUo7LGF7J6EKS/ssYXsnoQ=?= X-Global-Sender: =?UTF-8?B?SmFlaG9vbiBDaHVuZxtUaXplbiBQbGF0Zm9ybSBMYWIuG1Nh?= =?UTF-8?B?bXN1bmcgRWxlY3Ryb25pY3MbUzUvU2VuaW9yIEVuZ2luZWVy?= X-Sender-Code: =?UTF-8?B?QzEwG1NUQUYbQzEwVjgxMTE=?= CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20161226052031epcas5p4f151c41189f7b3811979ca1e10aab1be X-RootMTR: 20161226052031epcas5p4f151c41189f7b3811979ca1e10aab1be References: <20161226052029.10552-1-jh80.chung@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Jaehoon Chung Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/pci/exynos5433-pcie.txt | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/exynos5433-pcie.txt diff --git a/Documentation/devicetree/bindings/pci/exynos5433-pcie.txt b/Documentation/devicetree/bindings/pci/exynos5433-pcie.txt new file mode 100644 index 0000000..932a847 --- /dev/null +++ b/Documentation/devicetree/bindings/pci/exynos5433-pcie.txt @@ -0,0 +1,36 @@ +* Samsung Exynos5433 PCIe interface + +This PCIe host controller is based on the Synopsis Designware PCIe IP +and thus inherits all the common properties defined in designware-pcie.txt. + +Required properties: +- compatible: "samsung,exynos5433-pcie" +- reg: base addresses and lengths of the pcie controller, + the phy controller, additional register for the phy controller. +- reg-names: Must be "elbi", "phy" and "dbi" for each regs +- interrupt-names: Must be "intr" for legacy interrupt pin. + +Other common properites refer to + Documentation/devicetree/binding/pci/designware-pcie.txt + +Example: + + pcie: pcie@15700000 { + compatible ="samsung,exynos5433-pcie", "snps,dw-pcie"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + interrupts = ; + interrupt-names = "intr"; + clocks = <&cmu_fsys CLK_PCIE>, <&cmu_fsys CLK_PCLK_PCIE_PHY>; + clock-names = "pcie", "pcie_bus"; + num-lanes = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&pcie_bus>; + reg = <0x156b0000 0x1000>, <0x15680000 0x1000>, + <0x15700000 0x1000>, <0x0c000000 0x1000>; + reg-names = "elbi", "phy", "dbi", "config"; + ranges = <0x81000000 0 0 0x0c001000 0 0x00010000 + 0x82000000 0 0x0c011000 0x0c011000 0 0x3feefff>; + status = "disabled"; + };