From patchwork Fri Oct 23 07:57:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 11852459 X-Patchwork-Delegate: lorenzo.pieralisi@arm.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9C1A81744 for ; Fri, 23 Oct 2020 07:58:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 78CCF2465D for ; Fri, 23 Oct 2020 07:58:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="A9QbKjCg" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S376068AbgJWH6b (ORCPT ); Fri, 23 Oct 2020 03:58:31 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:46477 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S376064AbgJWH6b (ORCPT ); Fri, 23 Oct 2020 03:58:31 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20201023075809euoutp0217fd1e327df52393e95774194b504d0a~AkBWQQ4731606416064euoutp026 for ; Fri, 23 Oct 2020 07:58:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20201023075809euoutp0217fd1e327df52393e95774194b504d0a~AkBWQQ4731606416064euoutp026 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1603439889; bh=ywnsJCTIgQsooUdOL5+DzQM6hP7ctxtIDMiGsiCyz4U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A9QbKjCgh5/oHcaZfJsoD7UziIRvoK4BWkvR54+9l2TtMVJwQSp2ozlpsfA/hHAIP W5BaS+O0TKPmIxCWb967rlBlydcsj6yd4CkMSyT/7OzBThMQjV3jrwE6AcreHW6uY2 W3MH4tPSu4HGff8qSC8sHsBqYW0tu3O1IYStOqKQ= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20201023075756eucas1p2adce0548be0a91f408d255f34714b81e~AkBJrZee61770417704eucas1p2D; Fri, 23 Oct 2020 07:57:56 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 44.88.05997.40D829F5; Fri, 23 Oct 2020 08:57:56 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201023075755eucas1p165641c7528ea987a2e1d9d28198c0e9e~AkBJXeysg2493724937eucas1p1E; Fri, 23 Oct 2020 07:57:55 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201023075755eusmtrp271dc8ab8af570782ff4b1f05b0f022a4~AkBJW08GS2108721087eusmtrp2f; Fri, 23 Oct 2020 07:57:55 +0000 (GMT) X-AuditID: cbfec7f4-677ff7000000176d-1b-5f928d04c2f9 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 43.27.06017.30D829F5; Fri, 23 Oct 2020 08:57:55 +0100 (BST) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201023075755eusmtip14bde6ebd65775f99333160d77c84fa45~AkBIzHAbg2378223782eusmtip1F; Fri, 23 Oct 2020 07:57:55 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-pci@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jaehoon Chung , Marek Szyprowski , Jingoo Han , Krzysztof Kozlowski , Bjorn Helgaas , Lorenzo Pieralisi , Vinod Koul , Kishon Vijay Abraham I , Rob Herring Subject: [PATCH v2 3/6] dt-bindings: phy: add the samsung,exynos-pcie-phy binding Date: Fri, 23 Oct 2020 09:57:41 +0200 Message-Id: <20201023075744.26200-4-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201023075744.26200-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSa0hTUQDu7N7tXqer27Q8mCQtCtLSrH5cqNSerB9BZfVD8jHzokM3ZddZ FtS0khyaOqNMaj7KB8uVrTnfVjpaJjrTciNU8IWP0gg3SU3L7Wb++77zvTiHgyP8ErYXLpYm UzKpKEHA4aKG9/PmPWi2KnLvAzVKPkuPI4uMXWzSupDBJittjzCyeyyLQ5rN1RjZ2/CYQ3aq TRyywNzCIr8vTmCk1jiAkXeajRhZ3/8BCeEJq9RVQFhfOIAJi3VyoU6TyRHe02uA0GStZQln dVvPYGHcQzFUgjiFkgUERXHj9PYvWNIb4qr69Q+WAtTwlMAFh8QBuNA7hyoBF+cTlQA2vprk MMQGYNtPK4shswCm3R4Fq5GB1o8II1QAONdoWIssL4+iDheHCITKaeWKgOMeRAj8ZScdHoQo RaAix+hscidCocXa5MQosQOWjdc7szziMMyfX+Awaz7wefVbxIFdiCA4oxgEjiJIaDDY8sno HIDEcTikOs343eGUSY8x2Bv+qS9iMf5bAA51aTGGZAHYm17w7z4HYX/XgrMIIXbBlw0BTOcR aNd7M3A9tE5vdJiRFagyPESYYx68m8FnOnbCQtOL/6vvunsQBguhbrwHMM+TB6ChaQTNBT6F a1vFAGiAJyWnJbEUvU9KXfGnRRJaLo31v5wo0YGVj9OxbLLVgYbf0a2AwIHAjReVmxfJZ4tS 6FRJK4A4IvDgHe3siODzYkSp1yhZYqRMnkDRrWALjgo8eftLJ8P5RKwomYqnqCRKtqqycBcv BVAnXNzNrki1XdI9XjecHPztSf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ID: 20201023075755eucas1p165641c7528ea987a2e1d9d28198c0e9e X-Msg-Generator: CA X-RootMTR: 20201023075755eucas1p165641c7528ea987a2e1d9d28198c0e9e X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201023075755eucas1p165641c7528ea987a2e1d9d28198c0e9e References: <20201023075744.26200-1-m.szyprowski@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Add dt-bindings for the Samsung Exynos PCIe PHY controller (Exynos5433 variant). Based on the text dt-binding posted by Jaehoon Chung. Signed-off-by: Marek Szyprowski Reviewed-by: Krzysztof Kozlowski --- .../bindings/phy/samsung,exynos-pcie-phy.yaml | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/samsung,exynos-pcie-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/samsung,exynos-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/samsung,exynos-pcie-phy.yaml new file mode 100644 index 000000000000..ac0af40be52d --- /dev/null +++ b/Documentation/devicetree/bindings/phy/samsung,exynos-pcie-phy.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/samsung,exynos-pcie-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung SoC series PCIe PHY Device Tree Bindings + +maintainers: + - Marek Szyprowski + - Jaehoon Chung + +properties: + "#phy-cells": + const: 0 + + compatible: + const: samsung,exynos5433-pcie-phy + + reg: + maxItems: 1 + + samsung,pmu-syscon: + $ref: '/schemas/types.yaml#/definitions/phandle' + description: phandle for PMU system controller interface, used to + control PMU registers bits for PCIe PHY + + samsung,fsys-sysreg: + $ref: '/schemas/types.yaml#/definitions/phandle' + description: phandle for FSYS sysreg interface, used to control + sysreg registers bits for PCIe PHY + +required: + - "#phy-cells" + - compatible + - reg + - samsung,pmu-syscon + - samsung,fsys-sysreg + +additionalProperties: false + +examples: + - | + pcie_phy: pcie-phy@15680000 { + compatible = "samsung,exynos5433-pcie-phy"; + reg = <0x15680000 0x1000>; + samsung,pmu-syscon = <&pmu_system_controller>; + samsung,fsys-sysreg = <&syscon_fsys>; + #phy-cells = <0>; + }; +...