From patchwork Fri Jun 3 02:04:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 12868453 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9CCBBCCA47D for ; Fri, 3 Jun 2022 02:06:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=35f596YHwF0cbnIJbBvwp7d6YfsoxGyiajl3T37BhD8=; b=s7IZqkQZkp7Mrc MgWY6olwbkph0/u2sUzsb9Y3dih8lxc8CnKwxhktqDaaVRiwsETLy6t2IqxjWK9Y9P9ROvU5Zw5nV kRkdrcHJCscmUNYJUjJf+oHwLuudXzzcRdMENdccZaq7j0M8nvRnUhu9/4X1MIaPf01g91RBKL3NN 0lDBSG6ZP3LnK3HoPgEnbph+e5pgCzDlDDzFSQPGzGdPa9Yn+uUlc+PVSs7WgQIxAOfiPbJtrx60L RlJpjA7FcbR4JWs7k0SckXq6gn8U+VpKCizDCi+5sEwQgqO3XBDmlVjGujy5QuwH6mYdaRxw57MYX V2+6c9BCz8S8bIUL22lg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwwgA-005RPx-IQ; Fri, 03 Jun 2022 02:04:46 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwwfv-005RJl-Sx for linux-arm-kernel@lists.infradead.org; Fri, 03 Jun 2022 02:04:35 +0000 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20220603020430epoutp03ea2e84ac2c4e444709650043f73256df~0_gbB6F9l2300023000epoutp03L for ; Fri, 3 Jun 2022 02:04:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20220603020430epoutp03ea2e84ac2c4e444709650043f73256df~0_gbB6F9l2300023000epoutp03L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1654221870; bh=5SSPj1LfxW/EF3pUCS/AYMA44//xyOzjIW5aBpXgMok=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uL2PiLIZsWw/o314hwjiQ1MNfRPjPPIn9mkeXoDW4avWnJg89t5pEynYLZgpD/lgf ev74ohSQ87Hab1k2HTkP+jtk/6TAo5i1NwEYTqL9U66GPfqJm55DRzE/LXY1Ma/JPB A/jp5izqhljd85HbOJLwCxKtI4OgeGOGdK9PD9wE= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20220603020429epcas2p2db575b16d25f2c3ceb314294c013f7ce~0_gan3C9j1796117961epcas2p2F; Fri, 3 Jun 2022 02:04:29 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.70]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4LDmQz0lb7z4x9Q9; Fri, 3 Jun 2022 02:04:27 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 8A.BD.10028.A2C69926; Fri, 3 Jun 2022 11:04:26 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20220603020426epcas2p43e4c27b5a371e2fcdfa462c564d9c5e3~0_gXfzXtP2242022420epcas2p45; Fri, 3 Jun 2022 02:04:26 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20220603020426epsmtrp21bb1cd38d3e830222e1182b5e8cf738f~0_gXdgnDG0586805868epsmtrp2L; Fri, 3 Jun 2022 02:04:26 +0000 (GMT) X-AuditID: b6c32a47-589ff7000000272c-d3-62996c2aaaa0 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id A2.FF.08924.A2C69926; Fri, 3 Jun 2022 11:04:26 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.51]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220603020426epsmtip151c228652d4e8ede2f4fdbf4bf7a653e~0_gXUJk3k2907029070epsmtip1q; Fri, 3 Jun 2022 02:04:26 +0000 (GMT) From: Chanho Park To: Kishon Vijay Abraham I , Vinod Koul , Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-phy@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chanho Park Subject: [PATCH v3 1/5] dt-bindings: phy: samsung,ufs-phy: make pmu-syscon as phandle-array Date: Fri, 3 Jun 2022 11:04:06 +0900 Message-Id: <20220603020410.2976-2-chanho61.park@samsung.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220603020410.2976-1-chanho61.park@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMJsWRmVeSWpSXmKPExsWy7bCmma5WzswkgzuPrS0ezNvGZnF5v7bF /CPnWC0uPO1hs+h78ZDZYu/rrewW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LPMCAAA= X-CMS-MailID: 20220603020426epcas2p43e4c27b5a371e2fcdfa462c564d9c5e3 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220603020426epcas2p43e4c27b5a371e2fcdfa462c564d9c5e3 References: <20220603020410.2976-1-chanho61.park@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220602_190432_308735_1573D004 X-CRM114-Status: GOOD ( 14.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org To support secondary ufs phy devices, we need to get an offset value from pmu-syscon. Signed-off-by: Chanho Park Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/phy/samsung,ufs-phy.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml index f6ed1a005e7a..17897a3b5c9e 100644 --- a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml @@ -40,9 +40,17 @@ properties: - const: tx0_symbol_clk samsung,pmu-syscon: - $ref: '/schemas/types.yaml#/definitions/phandle' - description: phandle for PMU system controller interface, used to - control pmu registers bits for ufs m-phy + $ref: '/schemas/types.yaml#/definitions/phandle-array' + maxItems: 1 + items: + minItems: 1 + items: + - description: phandle for PMU system controller interface, used to + control pmu registers bits for ufs m-phy + - description: offset of the pmu control register + description: + It can be phandle/offset pair. The second cell which can represent an + offset is optional. required: - "#phy-cells"