Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2933076pxy; Tue, 3 Aug 2021 20:32:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1DnV5VeJTJFritLWU6xtSeYuN01zuIVjvAwfOAHnEqOXD/nh5JUv7h/fy2Ok6+A10GEvE X-Received: by 2002:a05:6602:27ca:: with SMTP id l10mr160531ios.16.1628047940037; Tue, 03 Aug 2021 20:32:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628047940; cv=none; d=google.com; s=arc-20160816; b=mfUUAkTxvhX+RFv6TgPxiqx2cSq52hGXc/9G/vVi9MJqVlcsYSGKUZYIxeyUjv/wAs 5N/TR1aRUJFlg9y4p2aRF+wR8g5oV9OAKMpUgHtE9mE2nzYaz91bgMAVUw9l5V5ZuGm+ cTFxjX2SiPOchPcUAPggKQK/yGq5/vjEeAYN71IyCquB83KLNdPP0sS3AqS6dM2YiA+5 0YPEyXoXc1ZXMo6qFwI6AzVflwuSLgia0Cz4+ekE53gpXmytp81HAH1l2296O95PP4LE QujMEd/wP2oRYNP5eTWK6Lye/yrTlmP2tApkklbqz+uoCFMKEJfyQG2rbNVVQxa6ixC/ 50mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=kbTgHv/xYI2WEh9TgbergRaN4gUO/PT6mzRKwnk7qRo=; b=IVpznNCdnwx3jiMepVVeW0HbpdZ3MFeexzB//kBU4mRGnseUv+eLFvsbBShsaxTFxM ggbdT3H0A2WI18zOMQxdDrBFGn/i7qYKcNlM6CpgAYoNtbazTBMxBYL7C9XsrrabJG8K PRQ6zOdbZ9rnJw81uE+5jQE8sunrntYuRcbUgct0TT3Mvzj4goKV3+oEjWGCSXYdoGb/ /YtaiIY9flZX7ibSZuw1RVS6T7915Kp0EcvK5nlSDwZBo996zBnvOohpIpGt7H1sJRY5 1pXOciiA1MrRpCQwbEABsusORmhhUgXDw4yJX9mq7e7WgPbGE4MaWAYmtX0LWLbiYI+h Vkqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=ci2DyU06; 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 x15si847936ilv.107.2021.08.03.20.32.07; Tue, 03 Aug 2021 20:32:19 -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=ci2DyU06; 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 S229603AbhHDCcP (ORCPT + 99 others); Tue, 3 Aug 2021 22:32:15 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:43264 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231950AbhHDCcO (ORCPT ); Tue, 3 Aug 2021 22:32:14 -0400 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20210804023158epoutp02b50e1e85690b9a81b55e2dbef1ecdb37~X_a6pkR_H3073530735epoutp02j for ; Wed, 4 Aug 2021 02:31:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20210804023158epoutp02b50e1e85690b9a81b55e2dbef1ecdb37~X_a6pkR_H3073530735epoutp02j DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1628044318; bh=kbTgHv/xYI2WEh9TgbergRaN4gUO/PT6mzRKwnk7qRo=; h=From:To:Cc:Subject:Date:References:From; b=ci2DyU06F29LmVm1R84Jp344ouM6yC7K0Gtv/hslnXgAg9nqmarU2UsvGfJbiDdrI 8eyDP0aMAzE/JfN1n0+akgA93ulvb8kyuaZBbWzAY0woLg7UBwev8tyOAhIhkMtcZZ ShFwet7HoxeBLscwXifNoYQBMGT8SKGYjqDF1eRI= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20210804023157epcas5p3cd7324a34681f7f27ffa7592a3e421d8~X_a5g04oc0080600806epcas5p3D; Wed, 4 Aug 2021 02:31:57 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.180]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4GfbNH4hR4z4x9Q8; Wed, 4 Aug 2021 02:31:43 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 67.96.41701.70CF9016; Wed, 4 Aug 2021 11:31:35 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20210803032734epcas5p2143008ddb212fe53fcd28b813c85c9d8~XriK76wJA0307203072epcas5p22; Tue, 3 Aug 2021 03:27:34 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20210803032734epsmtrp250253d00a0bcb95eb389ba59e2235cb0~XriK7Nrrq0903709037epsmtrp2E; Tue, 3 Aug 2021 03:27:34 +0000 (GMT) X-AuditID: b6c32a4b-0c1ff7000001a2e5-62-6109fc075206 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 23.9B.08394.6A7B8016; Tue, 3 Aug 2021 12:27:34 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20210803032733epsmtip257f8695ca31a55a1935839128ee154b8~XriJ90RNo0958009580epsmtip2g; Tue, 3 Aug 2021 03:27:33 +0000 (GMT) From: Alim Akhtar To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org Cc: krzysztof.kozlowski@canonical.com, linux-samsung-soc@vger.kernel.org, Alim Akhtar Subject: [PATCH v11] dt-bindings: ufs: Add bindings for Samsung ufs host Date: Tue, 3 Aug 2021 08:55:39 +0530 Message-Id: <20210803032539.15676-1-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNKsWRmVeSWpSXmKPExsWy7bCmui77H85Eg4Vt1hYP5m1js9j49geT xabH11gtLu+aw2Yx4/w+JovWvUfYHdg8ZjX0snlsWtXJ5rF5Sb1H35ZVjB6fN8kFsEZl22Sk JqakFimk5iXnp2TmpdsqeQfHO8ebmhkY6hpaWpgrKeQl5qbaKrn4BOi6ZeYAHaCkUJaYUwoU CkgsLlbSt7Mpyi8tSVXIyC8usVVKLUjJKTAp0CtOzC0uzUvXy0stsTI0MDAyBSpMyM5Yslm9 4IlExaXrU1gbGNuFuxg5OSQETCQWXmhh6WLk4hAS2M0o8enXUijnE6PEkhlvmCCcb4wS7X8u M8O09FzdxAqR2Mso8XfnPEYIp4VJ4sKD/6wgVWwC2hJ3p29hArFFBGIkHu6ZBxZnFiiUeNFy kx3EFhbwkLjT8Q4sziKgKtH1+jwbiM0rYCNxdNpiVoht8hKrNxxgBlkgIbCMXeLhlzNQCReJ vx0b2SBsYYlXx7ewQ9hSEp/f7QWKcwDZ2RI9u4whwjUSS+cdY4Gw7SUOXJnDAlLCLKApsX6X PkRYVmLqqXVMEGfySfT+fs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PdC18l4IYH0xJLU7NTUgtQimCwTB6dUA1Myt+7i8zNXJ614sMDB 1/35GsYrIQWzko4uv3Xco/7YYu6HHnUZchveVxnOPnL699+2hzKfxfbt7uXcuURiVuoFl0tF nXkLApI2da/5HuB7WWNFw/9WJ4np65Q0+R1nXmJnf3G06/y1tzpn+3U4D02/LHtracH8FJ79 l1/eip7daDGzL3ejstWsTdU7byw4auEyUStCbf29dWqVsVfnnPHKvD5bvu6Me7nT60L9mXs+ x/b6yUW1/bvF8iJTT2b1qWceSxM5eXsb/vxcOPOt54SgSfc22PzoTT/lIL/wZvU3FsEEUauZ j1ZsFOi4vVx445eib2sv1h1e4iCyODL9eOvJXcpKXzt7rQOdPy9afDKrTomlOCPRUIu5qDgR ADeZq/6JAgAA X-CMS-MailID: 20210803032734epcas5p2143008ddb212fe53fcd28b813c85c9d8 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20210803032734epcas5p2143008ddb212fe53fcd28b813c85c9d8 References: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds DT bindings for Samsung ufs hci Signed-off-by: Alim Akhtar --- Changes since v10 * Rebased on v5.14-rc2 * removed Rob Herring earlier Reviewed-by tag This patch was part of exynos ufs driver series, somehow this got missed to applied on the tree, sending again as a new patch v11, removing Rob's earlier Reviewed-by tag. .../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: 2734d6c1b1a089fb593ef6a23d4b70903526fe0c -- 2.17.1