Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1026117ybt; Wed, 24 Jun 2020 17:52:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7s0XxmPDF50YPkBeyRRyzNSb/tU/3vNQbN+Di0pfV9GMlLObdOhP1ggyngQ8fbiKKzT54 X-Received: by 2002:a17:906:430b:: with SMTP id j11mr5191989ejm.130.1593046338960; Wed, 24 Jun 2020 17:52:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593046338; cv=none; d=google.com; s=arc-20160816; b=XVMsT3IAgeCNB0prhx28+Ts9hVw3xcKUu2K6eLi0t6ui2oWi/bDRlLZOqlc+T8xkVV Wug/Yrmwvq9yIlRwXSvKGUq5+kvQ3V6JI2zHrTT29ppP4SRXON6fg+LcRClNpf9b5aUB +hx/NsaHfMGDGFGAPSNdFd7VyVeLP8mb8tjgifRc/SSyV9y9+y/Kv1DoJ2Kzk1hTi/Dh H0SqSw6jbyLejUlQysNwAQVDPwN7Fg9q5Dnmw8lFAGLqYcaTiaFGIxXfJlTp0MN25Q/O hHCROy7Xnc2McyiGuQoz9GVgG2Whcfd1AO0Nmfu5k2f6XHA4rwNtYirUd7+7f2PgJExU L4Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=Eds3BGSYDjL1I5LrtCqGZDPZaGJ30g3XqixJ3NbRXxE=; b=v876NUBUH8FEiquGsFV4EZueFSVZYByN5wtqI+zW49BBZbbTEa3BbZSEOUy1uH1VnO 2qrC79E7rdlFb7iSjz6NwTj46G0AxM/4TBYO9hw6Fkeuk4J9dSr8jk4za26dUficIodm xWYa4CSC/2yFnVcAOj6Py4pcsVd/TBK/JT2rEsUBL5BU4nhYrp+quJdheFMkAY3dN9JX /OKs0c9ztqPG7LiECu2ReJZ6eTtp34SV45119eg/t/He5J/EsOuMjOUhORREbMQjzItr K+jwuJ7iTGZpBDsbiHljd/g5Gq2/jF81XD6Ce2h2deieGHI1YRYNFxeAYNBcCsGH6gDT ZaCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jHXXxjot; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 bm13si9202443edb.426.2020.06.24.17.51.55; Wed, 24 Jun 2020 17:52:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=jHXXxjot; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S2388776AbgFYAts (ORCPT + 99 others); Wed, 24 Jun 2020 20:49:48 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:55155 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388679AbgFYAts (ORCPT ); Wed, 24 Jun 2020 20:49:48 -0400 Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200625004944epoutp01c42b64eb929c496b379293b986cb25a0~boxCIwlxh0463904639epoutp01_ for ; Thu, 25 Jun 2020 00:49:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200625004944epoutp01c42b64eb929c496b379293b986cb25a0~boxCIwlxh0463904639epoutp01_ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1593046184; bh=Eds3BGSYDjL1I5LrtCqGZDPZaGJ30g3XqixJ3NbRXxE=; h=From:To:Cc:Subject:Date:References:From; b=jHXXxjotIl7OmsdMxwBfu6aPbByy8W+WdY8DNgPwKMqaM7BS7sElvMnANGGF91QcF 7QaReLrarpqzNZbc1h8Qkk/VEi7PNEq9yuUrLbB6aobthKmfmkdW+qjMXq55RHftL7 DcFBpUJ1jnji0zH5og6QvD5YDhhWc/4yB9LZYbZM= Received: from epsmges5p1new.samsung.com (unknown [182.195.42.73]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20200625004943epcas5p348d85321de5b65ae60e24b50c6f82e11~boxA33NSh0109901099epcas5p3u; Thu, 25 Jun 2020 00:49:43 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id D6.8E.09467.7A4F3FE5; Thu, 25 Jun 2020 09:49:43 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20200625004942epcas5p13b2b4303e42bdd00f203419cbf883177~boxAWD5Jy0190701907epcas5p1O; Thu, 25 Jun 2020 00:49:42 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200625004942epsmtrp16c64aedb0adb8820ca6758fee3e679f7~boxAVV4X52883928839epsmtrp1E; Thu, 25 Jun 2020 00:49:42 +0000 (GMT) X-AuditID: b6c32a49-a29ff700000024fb-a1-5ef3f4a72cf6 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id BE.7B.08382.6A4F3FE5; Thu, 25 Jun 2020 09:49:42 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200625004941epsmtip2803d568a082e823207b9f42a2f2b1aad~bow-OcBS_3239932399epsmtip2c; Thu, 25 Jun 2020 00:49:41 +0000 (GMT) From: Alim Akhtar To: robh+dt@kernel.org Cc: krzk@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Alim Akhtar Subject: [RESEND PATCH v10] dt-bindings: ufs: Add bindings for Samsung ufs host Date: Thu, 25 Jun 2020 06:00:25 +0530 Message-Id: <20200625003025.11656-1-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCIsWRmVeSWpSXmKPExsWy7bCmhu7yL5/jDN72c1k8mLeNzWL+kXOs FufPb2C32PT4GqvF5V1z2CxmnN/HZNG69wi7A7vHplWdbB6bl9R79G1ZxejxeZNcAEsUl01K ak5mWWqRvl0CV8bdbR3MBV2yFb8XLWZuYFwq3sXIySEhYCJxePcv9i5GLg4hgd2MEp++X2WC cD4xSsw4+5URwvnGKPF1yk62LkYOsJY5zeUQ8b2MEtf3bGSGcFqYJA79fcgEMpdNQFvi7vQt TCANIgJiEnvXioLUMAscZJS4sf4/M0iNsECgxIPtJ8HqWQRUJc6dXMIIYvMK2Eg8/tTJAnGf vMTqDQfAFkgIrGKXmHz6FhNEwkWiq/cvVJGwxKvjW9ghbCmJl/1t7BCXZkv07DKGCNdILJ13 DKrcXuLAlTksICXMApoS63fpg4SZBfgken8/YYLo5JXoaBOCqFaVaH53FapTWmJidzcrhO0h sWXdazBbSCBW4tb25ywTGGVmIQxdwMi4ilEytaA4Nz212LTAMC+1XK84Mbe4NC9dLzk/dxMj OKK1PHcw3n3wQe8QIxMH4yFGCQ5mJRHeELdPcUK8KYmVValF+fFFpTmpxYcYpTlYlMR5lX6c iRMSSE8sSc1OTS1ILYLJMnFwSjUwsWkf3n5Kj1cz6YlsTvhvsavsLWyJi+Ie7o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96sucxu8+i hrlyep+2zRS6q1TJGX9qRpHcPLXvHwSZAxXuz2W33bL30Iq1scmvf5pnuIj8s/v1Ujgv/3e1 /3vV067KpYevl4itk97k77hq38SUw2tfRjqWl3x3ji6c7HOPc1WNnMOHOeycSizFGYmGWsxF xYkAOendCosCAAA= X-CMS-MailID: 20200625004942epcas5p13b2b4303e42bdd00f203419cbf883177 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P X-CMS-RootMailID: 20200625004942epcas5p13b2b4303e42bdd00f203419cbf883177 References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds DT bindings for Samsung ufs hci Reviewed-by: Rob Herring Signed-off-by: Alim Akhtar --- Hi Rob This is just a rebase on your's dt/next This patch was part of [1] [1] https://lkml.org/lkml/2020/5/27/1697 .../bindings/ufs/samsung,exynos-ufs.yaml | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml diff --git a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml new file mode 100644 index 000000000000..38193975c9f1 --- /dev/null +++ b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml @@ -0,0 +1,89 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ufs/samsung,exynos-ufs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung SoC series UFS host controller Device Tree Bindings + +maintainers: + - Alim Akhtar + +description: | + Each Samsung UFS host controller instance should have its own node. + This binding define Samsung specific binding other then what is used + in the common ufshcd bindings + [1] Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt + +properties: + + compatible: + enum: + - samsung,exynos7-ufs + + reg: + items: + - description: HCI register + - description: vendor specific register + - description: unipro register + - description: UFS protector register + + reg-names: + items: + - const: hci + - const: vs_hci + - const: unipro + - const: ufsp + + clocks: + items: + - description: ufs link core clock + - description: unipro main clock + + clock-names: + items: + - const: core_clk + - const: sclk_unipro_main + + interrupts: + maxItems: 1 + + phys: + maxItems: 1 + + phy-names: + const: ufs-phy + +required: + - compatible + - reg + - interrupts + - phys + - phy-names + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + + ufs: ufs@15570000 { + compatible = "samsung,exynos7-ufs"; + reg = <0x15570000 0x100>, + <0x15570100 0x100>, + <0x15571000 0x200>, + <0x15572000 0x300>; + reg-names = "hci", "vs_hci", "unipro", "ufsp"; + interrupts = ; + clocks = <&clock_fsys1 ACLK_UFS20_LINK>, + <&clock_fsys1 SCLK_UFSUNIPRO20_USER>; + clock-names = "core_clk", "sclk_unipro_main"; + pinctrl-names = "default"; + pinctrl-0 = <&ufs_rst_n &ufs_refclk_out>; + phys = <&ufs_phy>; + phy-names = "ufs-phy"; + }; +... base-commit: b3a9e3b9622ae10064826dccb4f7a52bd88c7407 prerequisite-patch-id: e0425bbe8f2aff3882b728a0caf0218b6b3e9b6e prerequisite-patch-id: c8c8502c512f9d6fdaf7d30e54dde3e68c3d855b prerequisite-patch-id: 8505df2fd70632150b50543cadc6fd7dd42d191c prerequisite-patch-id: 1a9701ab83425940c8aacb76737edb57ab815e47 prerequisite-patch-id: 7881e0b87f1f04f657d9e6d450fb5231ad6ffa1a prerequisite-patch-id: 01dbc0e550e3fcad6e525e7e3183f9f0312e8496 prerequisite-patch-id: ad801812fff960abab3f27d2c7383be9fd9aa439 prerequisite-patch-id: 65474c9540e6dc749d30223897de1f486d6b3843 prerequisite-patch-id: 64b58cd4c5ecfacf28fc20c31a6617092a1e1931 prerequisite-patch-id: 9bcdd2995fd3f6361f8d5e89c56645058ac9ff96 -- 2.17.1