Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp33651ybk; Fri, 8 May 2020 17:41:49 -0700 (PDT) X-Google-Smtp-Source: APiQypKjxodvbMtzVrU/QrN9LBVrbe//nPGLUYoxIrYqNX2CwKtrOszrhX9A5pcS4atUiamjrXIN X-Received: by 2002:a17:906:6856:: with SMTP id a22mr4375594ejs.115.1588984909292; Fri, 08 May 2020 17:41:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588984909; cv=none; d=google.com; s=arc-20160816; b=TjPyuxzH8ZzzA2/kkL98O9iFEe1nx2sAWBHFTwpQ9QUUS8IAdYO538Gk6/Fir1DyLd 171cUr82qfp+MSjCCn1ElBrC4R7KnxVthoM7ziRSIQj5dJozBwtiQGPOKYy6zDgnMEzc XiI+VvSJbcdY3uYDtY6obf9emoxU4/vYUDaOCxm+V4O6oJYPIXA7tD0mVDcZs1MEmZbY GpoylXXfc1ACudKqk1ttpOXNTpDutvoNGHhsPXf7vfLF7ORpEo19lvwvaApw0iKiH75o y/E6eA26KFZ18/HtmYuScVprwDhzmL6D5vXWv2JH4jidcWwCkDFW5MmhP+igP1iyn4mx Oqqw== 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:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=RhTV7Muv1oo9pIGTj6jAmpN6UeXp2Me1pfwWzC71fVY=; b=oH1lGdJENDrJgeHzQy1DPGRLzprH9vct7F5fv4KkiwP8j2NKV9mQz1Jebm3bRh0xE4 MRaryjYnQOTHghakvIPotOBmSeSK29F/HizhTDUGSiA0MBIDWELt4Wj+WtyzBAbjUJbA OsQW2M81RRA/vAGoTuEbm4YExa7P66QL8X6SXBQQ2pmKN4ZBo3INHHk+7qi70BLPOCx3 UJL2UTJF8YrCFqsZN9tiN0UpD+BgAvOtMMFesXp+NJDwNua/NltSbOYhXebqE56P78vK OmgIhHfefebZTfuBo6sEFc192e7XFdTB1Mnsu0l2zgwXTaSoAK3meeZ7+xNy/3teVvnC R1Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=VaYWCXso; 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 p16si1426635eja.354.2020.05.08.17.41.26; Fri, 08 May 2020 17:41:49 -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=VaYWCXso; 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 S1728511AbgEIAiz (ORCPT + 99 others); Fri, 8 May 2020 20:38:55 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:60734 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728165AbgEIAiy (ORCPT ); Fri, 8 May 2020 20:38:54 -0400 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20200509003852epoutp035dcf1495fb6528b05ca1556f1b4992c2~NNTH1c3Hj0168001680epoutp03P for ; Sat, 9 May 2020 00:38:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20200509003852epoutp035dcf1495fb6528b05ca1556f1b4992c2~NNTH1c3Hj0168001680epoutp03P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1588984732; bh=RhTV7Muv1oo9pIGTj6jAmpN6UeXp2Me1pfwWzC71fVY=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=VaYWCXsoYUauXmOGLwD+T2zjJLQzXKdiC5Y94qALyhWeLg59R+dH6Taskq+mBdH4W m2P5CE/H5bBfvR5sT1OGY9i8ZmXTy+SkMZhBna2O1ZQOq9NnYzPPhxhw4Za8EDSVhM 1mmvbIdgSCoaV2izJv0xksBPY4D/Q38PZ0AkqgZg= Received: from epsmges5p3new.samsung.com (unknown [182.195.42.75]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20200509003851epcas5p401052a4665cac64afd8b6d4c087f5ea1~NNTHbR6100900009000epcas5p4V; Sat, 9 May 2020 00:38:51 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 47.2A.23389.B9BF5BE5; Sat, 9 May 2020 09:38:51 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20200509003850epcas5p2d089a7323c9d34fc8ba2481acd3b4847~NNTGRqQp10952809528epcas5p2v; Sat, 9 May 2020 00:38:50 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200509003850epsmtrp22bee29d0b16a8f569a0b986ae268a022~NNTGN9_gp1992219922epsmtrp2L; Sat, 9 May 2020 00:38:50 +0000 (GMT) X-AuditID: b6c32a4b-797ff70000005b5d-d7-5eb5fb9b4bf3 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id FF.1A.25866.A9BF5BE5; Sat, 9 May 2020 09:38:50 +0900 (KST) Received: from alimakhtar02 (unknown [107.108.234.165]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200509003847epsmtip1c2a4a7d428d8ee79a63663761fd6977c~NNTDX0UO32459024590epsmtip1Z; Sat, 9 May 2020 00:38:47 +0000 (GMT) From: "Alim Akhtar" To: "'Rob Herring'" Cc: , , , , , , , , , , In-Reply-To: <20200505155846.GA28360@bogus> Subject: RE: [PATCH v7 08/10] dt-bindings: ufs: Add DT binding documentation for ufs Date: Sat, 9 May 2020 06:08:45 +0530 Message-ID: <006901d6259a$3520c660$9f625320$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQINaKJiJYqhfY8pF8dQGQjTbFgO/QHlS/6EAxGb44oBswv6j6f7EtOw Content-Language: en-in X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrKKsWRmVeSWpSXmKPExsWy7bCmhu7s31vjDO4s0bB4+fMqm8Wn9ctY LeYfOcdqcf78BnaLm1uOslhsenyN1eLyrjlsFjPO72Oy6L6+g81i+fF/TBb/9+xgt1i69Saj A4/H5b5eJo9NqzrZPDYvqfdoObmfxePj01ssHn1bVjF6fN4k59F+oJspgCOKyyYlNSezLLVI 3y6BK+PohfVsBVdUKh4feMLUwHheuouRk0NCwETi35xG5i5GLg4hgd2MEkcbp0A5nxglJpzY ywLhfGaUeLdyAhNMy9cX56ASu4CqrvewQThvGCWO/LvKDlLFJqArsWNxGxuILSKgKtE06wFY B7PAcSaJxx23wEZxCmhLtD9vASsSFgiT2NB3gBnEZhFQkbj8oI21i5GDg1fAUuLLwXiQMK+A oMTJmU9YQGxmAXmJ7W/nMENcpCDx8+kyVohdbhJvZ6xmh6gRlzj6sweq5gaHxN8b9hC2i8T6 Ga1sELawxKvjW9ghbCmJz+/2soGslRDIlujZZQwRrpFYOu8YC4RtL3HgyhwWkBJmAU2J9bv0 ITbxSfT+fsIE0ckr0dEmBFGtKtH87ipUp7TExO5uVgjbQ2L9hhdMExgVZyH5axaSv2YhuX8W wrIFjCyrGCVTC4pz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zk/dxMjODa1tHYw7ln1Qe8Q IxMH4yFGCQ5mJRHeiRVb4oR4UxIrq1KL8uOLSnNSiw8xSnOwKInzfp21ME5IID2xJDU7NbUg tQgmy8TBKdXAZPBKUuk803F1i0OeEvfTimOFXN6V1nFvUw9dVHP83jW+b9tmN/qytLP+nXTv 09Lfu0TsGD0muBmu4P9lZnba8KtYMZuZtpuire7vtDlyJfe1y1ZztvwtjePZIvtu5qfDJ00F i26q/9orNPPdh9Rbp9SWT9/U/u36eWcpTYFt79KY1Z7t2cA2mePjT6urlkbLj1+11nmv7rjZ 9wrLJTavF/a56wqefhNJKMzo3pdyqZTFzV/qkkF7etjzHr9d1wSf+QpuF1oRXsSf4RDeNbXu yj6z73qpzIohqtFaefwhZ2b8WZR8RmQSA1N5kPTO06w6s+/JO7+qu9vWsG6NwlSTR2ePuK3+ u8T6dea3Y7f/KbEUZyQaajEXFScCANuXUPA8AwAA X-CMS-MailID: 20200509003850epcas5p2d089a7323c9d34fc8ba2481acd3b4847 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P X-CMS-RootMailID: 20200426174219epcas5p460c8637629afd930313ae0fa936593cd References: <20200426173024.63069-1-alim.akhtar@samsung.com> <20200426173024.63069-9-alim.akhtar@samsung.com> <20200505155846.GA28360@bogus> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, > -----Original Message----- > From: Rob Herring > Sent: 05 May 2020 21:29 > To: Alim Akhtar > Cc: devicetree@vger.kernel.org; linux-scsi@vger.kernel.org; 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 > Subject: Re: [PATCH v7 08/10] dt-bindings: ufs: Add DT binding documentation > for ufs > > On Sun, Apr 26, 2020 at 11:00:22PM +0530, Alim Akhtar wrote: > > This patch adds DT binding for samsung ufs hci > > > > Signed-off-by: Alim Akhtar > > --- > > .../bindings/ufs/samsung,exynos-ufs.yaml | 93 +++++++++++++++++++ > > 1 file changed, 93 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..954338b7f37d > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml > > @@ -0,0 +1,93 @@ > > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause %YAML 1.2 > > +--- > > +$id: > > +https://protect2.fireeye.com/url?k=0b9d9296-560b2be1-0b9c19d9-0cc47a3 > > +12ab0- > 58b0bd73926e9ff6&q=1&u=http%3A%2F%2Fdevicetree.org%2Fschemas%2F > > +ufs%2Fsamsung%2Cexynos-ufs.yaml%23 > > +$schema: > > +https://protect2.fireeye.com/url?k=1fa0a694-42361fe3-1fa12ddb-0cc47a3 > > +12ab0-6911bcc836debe4d&q=1&u=http%3A%2F%2Fdevicetree.org%2Fmeta- > schem > > +as%2Fcore.yaml%23 > > + > > +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: > > + maxItems: 2 > > + items: > > + - description: ufs link core clock > > + - description: unipro main clock > > + > > + clock-names: > > + maxItems: 2 > > + items: > > + - const: core_clk > > + - const: sclk_unipro_main > > + > > + interrupts: > > + items: > > + - description: interrupt signal for various ufshc status > > Just 'maxItems: 1' is fine for single item cases. > Sure will update > > + > > + phys: > > + maxItems: 1 > > + description: > > + phandle of the ufs phy node > > Can drop description. > Ack > > + > > + phy-names: > > + const: ufs-phy > > Not much point to a name when only 1 entry. > You mean drop the phy-names property itself or just const: ufs-phy? And add maxItems: 1 > > + > > +required: > > + - compatible > > + - reg > > + - interrupts > > + - phys > > + - phy-names > > + - clocks > > + - clock-names > > additionalProperties: false > Sure will add > > + > > +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>; > > + pclk-freq-avail-range = <70000000 133000000>; > > + phys = <&ufs_phy>; > > + phy-names = "ufs-phy"; > > + }; > > +... > > -- > > 2.17.1 > >