From patchwork Thu Mar 19 15:00:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 11447437 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 A8E8A6CA for ; Thu, 19 Mar 2020 15:07:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7F7AB20BED for ; Thu, 19 Mar 2020 15:07:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="fWPlbnMx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728324AbgCSPHs (ORCPT ); Thu, 19 Mar 2020 11:07:48 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:17270 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728023AbgCSPHI (ORCPT ); Thu, 19 Mar 2020 11:07:08 -0400 Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200319150705epoutp01c8a9e86f02b87e8383b74fff46dd8d53~9vPnpKppj2717527175epoutp01T for ; Thu, 19 Mar 2020 15:07:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200319150705epoutp01c8a9e86f02b87e8383b74fff46dd8d53~9vPnpKppj2717527175epoutp01T DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1584630425; bh=5qDUTijKcFAre6lcv86TSthFVvifGYP26ZX+SiiMELQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fWPlbnMxvxvwC36TRsY3VPzUtEqJDl9MobIV+Xl9TbXtlexLh3DRGR6lyBktjieeF tqsWADgInEZrx3EUtnWeznwUCs+KQ8m8hnRelEFpXzSbhV0P2ilv3BTcPPCkwtB3LC a49153CRe2648D7WYLKd0g5uruHr+ZZ9w3l+SLZc= Received: from epsmges5p1new.samsung.com (unknown [182.195.42.73]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20200319150704epcas5p4641617feed8159a6916b81240c0fb2b3~9vPmUi4oJ0491704917epcas5p4d; Thu, 19 Mar 2020 15:07:04 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 79.78.04782.79A837E5; Fri, 20 Mar 2020 00:07:03 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20200319150703epcas5p2d917898f6f1e0554cb978a70a34ee507~9vPlhPKFB0318203182epcas5p2D; Thu, 19 Mar 2020 15:07:03 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200319150703epsmtrp2f81c05237b5626a37b2833aa1e846dc5~9vPlgaxh41476414764epsmtrp2S; Thu, 19 Mar 2020 15:07:03 +0000 (GMT) X-AuditID: b6c32a49-8b3ff700000012ae-ab-5e738a97c43a Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 74.C7.04158.79A837E5; Fri, 20 Mar 2020 00:07:03 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200319150701epsmtip29c57472630a1383081538127fc2ee78c~9vPjyxKYS0556705567epsmtip2W; Thu, 19 Mar 2020 15:07:01 +0000 (GMT) From: Alim Akhtar To: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-scsi@vger.kernel.org Cc: krzk@kernel.org, avri.altman@wdc.com, martin.petersen@oracle.com, kwmad.kim@samsung.com, stanley.chu@mediatek.com, cang@codeaurora.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alim Akhtar Subject: [PATCH v3 1/5] dt-bindings: phy: Document Samsung UFS PHY bindings Date: Thu, 19 Mar 2020 20:30:27 +0530 Message-Id: <20200319150031.11024-2-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200319150031.11024-1-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEKsWRmVeSWpSXmKPExsWy7bCmuu70ruI4g+ezLC0ezNvGZvHy51U2 i0/rl7FazD9yjtXi/PkN7BY3txxlsdj0+BqrxeVdc9gsZpzfx2TRfX0Hm8Xy4/+YLFr3HmG3 WLr1JqMDr8flvl4mj02rOtk8Ni+p92g5uZ/F4+PTWywefVtWMXp83iTn0X6gmymAI4rLJiU1 J7MstUjfLoEro/NuM0tBl0DF5+O9TA2Mm3m6GDk5JARMJKb/mMfcxcjFISSwm1FiY9NTRgjn E6PE1MNvmCCcb4wSt4+uZ4JpOb1pM1TVXkaJjw09UE4Lk8S2Hx1sIFVsAtoSd6dvAesQEQiQ uPT+IBtIEbPAPCaJRY96wBLCAt4SB09uZQaxWQRUJY78XA9m8wrYSCyd/pIdYp28xOoNB8Di nAK2EnMuXGcBGSQhcJtN4ubKc4wQRS4SM35dgLKFJV4d3wLVLCXx+d1eoM0cQHa2RM8uY4hw jcTSecdYIGx7iQNX5rCAlDALaEqs36UPEmYW4JPo/f2ECaKTV6KjTQiiWlWi+d1VqE5piYnd 3awQtofE0T+/WSDhMIFRYnXHM+YJjLKzEKYuYGRcxSiZWlCcm55abFpgmJdarlecmFtcmpeu l5yfu4kRnFK0PHcwzjrnc4hRgINRiYd3RltxnBBrYllxZe4hRgkOZiURXt10oBBvSmJlVWpR fnxRaU5q8SFGaQ4WJXHeSaxXY4QE0hNLUrNTUwtSi2CyTBycUg2M4id21epH9c85KHRupuX5 uy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CA CMS-TYPE: 105P X-CMS-RootMailID: 20200319150703epcas5p2d917898f6f1e0554cb978a70a34ee507 References: <20200319150031.11024-1-alim.akhtar@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org This patch documents Samsung UFS PHY device tree bindings Signed-off-by: Alim Akhtar --- .../bindings/phy/samsung,ufs-phy.yaml | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml base-commit: fb33c6510d5595144d585aa194d377cf74d31911 diff --git a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml new file mode 100644 index 000000000000..df54129004e9 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/samsung,ufs-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung SoC series UFS PHY Device Tree Bindings + +maintainers: + - Alim Akhtar + +properties: + "#phy-cells": + const: 0 + + compatible: + enum: + - samsung,exynos7-ufs-phy + + reg: + maxItems: 1 + description: PHY base register address + + reg-names: + items: + - const: phy-pma + + clocks: + items: + - description: PLL reference clock + - description: Referencec clock parrent + + clock-names: + items: + - const: ref_clk_parent + - const: ref_clk + +required: + - "#phy-cells" + - compatible + - reg + - reg-names + - clocks + - clock-names + +examples: + - | + #include + + ufs_phy: ufs-phy@0x15571800 { + compatible = "samsung,exynos7-ufs-phy"; + reg = <0x15571800 0x240>; + reg-names = "phy-pma"; + samsung,pmu-syscon = <&pmu_system_controller>; + #phy-cells = <0>; + clocks = <&clock_fsys1 MOUT_FSYS1_PHYCLK_SEL1>, + <&clock_top1 CLK_SCLK_PHY_FSYS1_26M>; + clock-names = "ref_clk_parent", + "ref_clk"; + }; + +...