From patchwork Thu Oct 29 13:40:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 319583 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp481805ilc; Thu, 29 Oct 2020 06:43:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxL10UCRs4cYZde0RlijYQhSWmXmKuWx1XDj6ZeXGd02z7EOHIwaKGYJX8WZ3/v8tJ3ARxF X-Received: by 2002:a17:906:138a:: with SMTP id f10mr4260021ejc.360.1603978991268; Thu, 29 Oct 2020 06:43:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603978991; cv=none; d=google.com; s=arc-20160816; b=vvKBtdFxbAoeGKcwRpe/r8Yx0ckO02RtADUcl2dCI8EcU3wSDN+eM17xcARSKh3fyN 1YE+ATu93FxVG5+Yjh4ELPWtPbJDAhuMGpexwVnDRHfja/ppyRT4I8sk5hVtVJ0IjOSf xzaKz6yLIUYdayUgv19HVE2+/aqfgqAq7oENdeJZ9coYPQ+NIUXbQVz4hN+V5HOomxj3 dGZsr3Ik55kQYDa22+gckejoju1kl3nODqjQUuU5m1wakcIQdYi6B1/KOauDjTPhOdhf 53EWhMj2mzRwnr/+YidtycM+kPaG0tHNfFNDNI/ce+9ibelQb+uJ5mawbtRu0IdaYOkL 0n1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=5LWk+rJhbViO9l0AuP2OfsCbsmcQL6wtHWsnyEYFN8U=; b=YdXiH5VFrrISjGx5wHHnm2CHEYyJUv5J9BjzOZ9URkYhPAuFCSrD8I8FhMOwfJ4mls W4rbjRzrPABaf8dqU1+qXCyJEYSViqdzZBFCDlItEnZCrGRMTONlqrMKzUkcVzZX2az7 OV6w0lvrB3uYaN72/vj2i/slp404dX7jmzEZoeVpUb6rcZryrsiNAs1ULbJQbX5P0LHD cUOPF4G5n15c4b3dRJNSKv8G0qYhsrfLnVYcEEy1U2KfTSunaKxL/ML85OU//vliv+9B vLTz7ClJ9vljJXFE3NZo+egVRhbsVuHvjHdUU/82FBY1xXxPrYy2KkMJLGOrjKwnKzRo U2Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=NUoA1PaI; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c24si2102707edy.580.2020.10.29.06.43.11; Thu, 29 Oct 2020 06:43:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=NUoA1PaI; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726292AbgJ2NnK (ORCPT + 4 others); Thu, 29 Oct 2020 09:43:10 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:38055 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727081AbgJ2Nmd (ORCPT ); Thu, 29 Oct 2020 09:42:33 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20201029134041euoutp02a8002ffaa2db6229da922a536fe66334~CekIWzwfo1310413104euoutp02k for ; Thu, 29 Oct 2020 13:40:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20201029134041euoutp02a8002ffaa2db6229da922a536fe66334~CekIWzwfo1310413104euoutp02k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1603978841; bh=5LWk+rJhbViO9l0AuP2OfsCbsmcQL6wtHWsnyEYFN8U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NUoA1PaIgM8ut7ybKGlQ6OnAXZUIheMtBRQyapnXPk0WokZybHxAcnOzsyForiAS2 TEB9Xjt7Q/sjq9VcnaSHKC23RpGAIHcjk3Qx+Rj+os1yUSBd/FJ4lf/ofH2o3JwPCk hSolcEXegF7VSYoeCAkVEocKC5tHyJBk4oH5fMwk= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20201029134039eucas1p1a717cfe00759ba1c2cf67d17f9feb5a7~CekGRenc83127831278eucas1p1G; Thu, 29 Oct 2020 13:40:39 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 3F.D1.06456.756CA9F5; Thu, 29 Oct 2020 13:40:39 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20201029134038eucas1p2d550a45ff3222ccb72d15d5c89d4f938~CekF4bxxM0841008410eucas1p2Y; Thu, 29 Oct 2020 13:40:38 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20201029134038eusmtrp1a3d9d615288a64e6127794c76b238423~CekF3gOA51072510725eusmtrp1e; Thu, 29 Oct 2020 13:40:38 +0000 (GMT) X-AuditID: cbfec7f2-7efff70000001938-2e-5f9ac6572a19 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 7B.90.06314.656CA9F5; Thu, 29 Oct 2020 13:40:38 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201029134038eusmtip15a5b0613dfd3b26193055bc341ac57df~CekFSABis1565515655eusmtip1u; Thu, 29 Oct 2020 13:40:38 +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 v3 3/6] dt-bindings: phy: add the samsung,exynos-pcie-phy binding Date: Thu, 29 Oct 2020 14:40:14 +0100 Message-Id: <20201029134017.27400-4-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201029134017.27400-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSbUhTYRjl9W733kmT1yn4YpKxSChKXYVdysRC4hYUgj+iItfSi442lc1Z SpApaS4TP7B02pyfE5tf8yNnoTXFGeIHWmg4JSHLylk4LVuQeb1q/845z3nec3h4SUxk4PuS 8oRkRpUgU4hxd17nwO/Rw5cGdNLg7CUPqiYjnqroH+FTU64sPlW/UkpQY/O5ODU62kJQE93l ODWst+FUyWiPG7X4Z4GgGvtnCGr9ZRdBWeyDWLiQNulNgLboZgjaYNbQ5oYcnM5rbwC0beq5 G+0074kkrriHxjIKeQqjCgq77h5fPesgkpzwtv2TnpcOPgq1QEAieAxZWnU8LXAnRbAeoHtl NQRHVgBa6i3kc8QJkH3dQGyv1L+o2sQiaAQos+PqzkZB9U8+O8ChBGkdWlwLSNIbhqO1VYr1 YLACQwWz026sxwtGoYd9FTiLeXA/Guzr5bF+ITyFKuelXJY/et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8EGtiWXFl7iFGCQ5mJRFep7On44R4 UxIrq1KL8uOLSnNSiw8xmgKdNJFZSjQ5HxiXeSXxhqaG5haWhubG5sZmFkrivB0CB2OEBNIT S1KzU1MLUotg+pg4OKUaGIv63vgpLeSKvZt+xPau61q5XZE6n+cv22fpd+BV8PGi1VEv/dyv O+k/Mg6+4ZVnkWIjdJKluob/U1V3s+7P7m8q5mnz7vJ/euLw1uWf1qQnTTV7/2/KcHxnEmHd 3f/b8YTOobTKFy9N17LuLZRT8ds15dLWmncMDCbntSJuVN9amPov6eLHKiWW4oxEQy3mouJE AOhvhbeTAgAA X-CMS-MailID: 20201029134038eucas1p2d550a45ff3222ccb72d15d5c89d4f938 X-Msg-Generator: CA X-RootMTR: 20201029134038eucas1p2d550a45ff3222ccb72d15d5c89d4f938 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201029134038eucas1p2d550a45ff3222ccb72d15d5c89d4f938 References: <20201029134017.27400-1-m.szyprowski@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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 -- 2.17.1 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>; + }; +...