From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967529AbdADMgI (ORCPT ); Wed, 4 Jan 2017 07:36:08 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:32820 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966358AbdADMf3 (ORCPT ); Wed, 4 Jan 2017 07:35:29 -0500 X-AuditID: b6c32a37-f79116d000000e56-14-586cebdca497 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, kishon@ti.com, jingoohan1@gmail.com, vivek.gautam@codeaurora.org, pankaj.dubey@samsung.com, alim.akhtar@samsung.com, cpgs@samsung.com, Jaehoon Chung Subject: [PATCH V2 0/5] PCI: exynos: use the PHY generic framework Date: Wed, 04 Jan 2017 21:34:30 +0900 Message-id: <20170104123435.30740-1-jh80.chung@samsung.com> X-Mailer: git-send-email 2.10.2 X-Brightmail-Tracker: H4sIAAAAAAAAAzVSfUxNYRz2nnPvOafm2umWvCvRzmaT1e2e063ekFHNzvDHNWPNx3JWp25z P+qee03MpChuH8SM0orK5Cp0i0I+VpEZ3chHMx/FGCJMQtLc7sl/z/t7nuf3e37vfhSuHlIG UZlmm2g1C0aG8FVc6gyLjHg+ZEzWFv4MRgNVlwhUl2dAHzrCUHVXjxL1jxUoUf1IOYkOvBnC Ue/bYgK53RdI1HelkkD3q7oJdMx9HUOnnj7AUM3FERLtvdZFoju/2/ClNN9Q1QD4vtISjL9c 8YLkT7jsvMu5n+BLW5yA7+5vxfjvrjl6ar242CAKaaI1VDSnWtIyzRnxzMo1KYkp0TFaNoKN Q7FMqFkwifFM0ip9xPJMoyc/E7pVMNo9Jb0gSUzkksVWi90mhhoski2e2cCynIbVxmo4jtPo ojY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FycQgJzGKU2PBmIwuE84NRYsnnBnaQKjYBHYnt344zgdgiArISHy/vYQOxmQV+MUks3WcK YgsLOEkcvrCcBcRmEVCVOLx7F5jNK2At8fTUWzaIbfISC88fYZrAyL2AkWEVo0RqQXJBcVJ6 rmFearlecWJucWleul5yfu4mRnBUPJPawXhwl/shRgEORiUeXoH7ORFCrIllxZW5hxglOJiV RHi/vQAK8aYkVlalFuXHF5XmpBYfYjQFOmAis5Rocj4wYvNK4g1NzE3MjQ0szC0tTYyUxHkb Zz8LFxJITyxJzU5NLUgtgulj4uCUamBcvVfPdvrB7xoKVX5n14iITy6sLrTfLN/EqH76WHfI HYHtDlcP3mapu2Aw9zD7dJ99HF+adf5cevHSdVnG89TYLJ1p2+Y9ea0pbMt5ozfEdsGVhsqJ T1uN1uRn62yusVvbdJ/ro5uNjdN1+wBLLvVo2eZvHx5FLfZJ+V8RoeD04khyZL20ApcSS3FG oqEWc1FxIgAOyWZPoAIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170104123435epcas1p182b241236048160fb81ac473a74540da X-Msg-Generator: CA X-Sender-IP: 203.254.230.26 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: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170104123435epcas1p182b241236048160fb81ac473a74540da X-RootMTR: 20170104123435epcas1p182b241236048160fb81ac473a74540da References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset is for using PHY generic framework. Current pci-exyons doesn't use the phy framework since there haven't been on PHY subsystem when Exynos5440 had been upstremed. The not using PHY framework make the difficult to upstream the other Exynos SoCs. Before upstreaming the other Exynos SoCs, it's goal what make to use the PHY framework. This patchset has the below modifications: 1) Introduces the phy-pcie-pcie 2) Handles Phy controller from PHY framework for pci-exynos 3) Modifies the dt-binding of pci-exynos - The using the getting configuration space address from ranges is old. - Deprecated the old way. 4) Maintains the backward compatibility NOTE: These patches based on below patches: http://patchwork.ozlabs.org/patch/706998/ http://patchwork.ozlabs.org/patch/706997/ http://patchwork.ozlabs.org/patch/706995/ http://patchwork.ozlabs.org/patch/706994/ http://patchwork.ozlabs.org/patch/703530/ - This patch should be conflicted. so fixes the manually. http://patchwork.ozlabs.org/patch/708414/ Changelog on V2: - Keep current codes for backward compatibility - Fixes some typos - Split the patches for removing the dependency - Removes the unnecessary codes - Change the patch's sequence - Based on latest PCI git repository.(next branch) Jaehoon Chung (5): Documetation: samsung-phy: add the exynos-pcie-phy binding phy: phy-exynos-pcie: Add support for Exynos PCIe phy Documetation: binding: modify the exynos5440 pcie binding PCI: exynos: support the using PHY generic framework ARM: dts: exynos5440: support the phy-pcie node for pcie .../bindings/pci/samsung,exynos5440-pcie.txt | 29 +++ .../devicetree/bindings/phy/samsung-phy.txt | 17 ++ arch/arm/boot/dts/exynos5440.dtsi | 34 ++- drivers/pci/host/pci-exynos.c | 61 ++++- drivers/phy/Kconfig | 9 + drivers/phy/Makefile | 1 + drivers/phy/phy-exynos-pcie.c | 280 +++++++++++++++++++++ 7 files changed, 408 insertions(+), 23 deletions(-) create mode 100644 drivers/phy/phy-exynos-pcie.c -- 2.10.2