From patchwork Tue Jun 7 07:29:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 579734 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F279CCA47E for ; Tue, 7 Jun 2022 07:29:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237650AbiFGH3s (ORCPT ); Tue, 7 Jun 2022 03:29:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237664AbiFGH3r (ORCPT ); Tue, 7 Jun 2022 03:29:47 -0400 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F74953E16 for ; Tue, 7 Jun 2022 00:29:45 -0700 (PDT) Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20220607072940epoutp011c0ccdb317684613bf8ecc85c9f9d304~2Rhe5pa7S1595815958epoutp01s for ; Tue, 7 Jun 2022 07:29:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20220607072940epoutp011c0ccdb317684613bf8ecc85c9f9d304~2Rhe5pa7S1595815958epoutp01s DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1654586980; bh=Mrq6OfP6yPWQ0z5aKHyFj01E3CKeWm9uQOPbAQlNB/c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bw25qpBnuiWj5rSANqsywvXt9cppdI7/IfYlFqp0GkGAi3FhNeUn6zGB6x/3InyZx 3Nuv8OmhRY4CGRJnquu+aCShHOm4ls32XnGwXFIFaqGeTnM0cAPrOQAi5Bj9Zx3VkZ Jauqw2VWCZXKVGreaPJU2uLGTIXzf8BKMSL605l4= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20220607072940epcas2p1456bc03421304c923b96fcc93f387546~2RheXfEaj1900219002epcas2p16; Tue, 7 Jun 2022 07:29:40 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.101]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4LHMSL6hxfz4x9QP; Tue, 7 Jun 2022 07:29:38 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id D2.3E.09764.26EFE926; Tue, 7 Jun 2022 16:29:38 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p1.samsung.com (KnoxPortal) with ESMTPA id 20220607072938epcas2p1e9047a52882d77423e6f790939186d5b~2RhcUVVJw1461414614epcas2p1b; Tue, 7 Jun 2022 07:29:38 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220607072938epsmtrp12c96474531e79cc1617eb8fdd3be71ef~2RhcTkB8X0498404984epsmtrp17; Tue, 7 Jun 2022 07:29:38 +0000 (GMT) X-AuditID: b6c32a46-f75ff70000002624-fd-629efe624e26 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id EA.53.08924.16EFE926; Tue, 7 Jun 2022 16:29:37 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.51]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220607072937epsmtip1335e36c5244f1a4933366c3a586f1f99~2RhcI5X3s0977909779epsmtip1C; Tue, 7 Jun 2022 07:29:37 +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 v4 1/5] dt-bindings: phy: samsung,ufs-phy: make pmu-syscon as phandle-array Date: Tue, 7 Jun 2022 16:29:03 +0900 Message-Id: <20220607072907.127000-2-chanho61.park@samsung.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607072907.127000-1-chanho61.park@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKJsWRmVeSWpSXmKPExsWy7bCmhW7Sv3lJBv++aVg8mLeNzeLyfm2L +UfOsVpceNrDZtH34iGzxd7XW9ktNj2+xmoxYdU3FosZ5/cxWbTuPcJusfPOCWYHbo9NqzrZ PO5c28PmsXlJvUffllWMHsdvbGfy+LxJLoAtKtsmIzUxJbVIITUvOT8lMy/dVsk7ON453tTM wFDX0NLCXEkhLzE31VbJxSdA1y0zB+g6JYWyxJxSoFBAYnGxkr6dTVF+aUmqQkZ+cYmtUmpB Sk6BeYFecWJucWleul5eaomVoYGBkSlQYUJ2Rt/d6cwFs7grfs5Zx9bA+IWji5GTQ0LARGL5 rk3MXYxcHEICOxgl9i7+AOV8YpS4eXgNI4TzmVHi6YXFrDAtvxf9Z4VI7GKU2Lp1HhOE85FR YtuLjewgVWwCuhJbnr8CaxcRaGeSOHFvLjuIwyywmVHi5IQNzCBVwgKxEpfaJ7OB2CwCqhLT 121hArF5BewlLn/qZ4HYJy+xYX4vUD0HB6eAg8SS01oQJYISJ2c+ASthBipp3job7HAJgYkc Eg3XvkL1ukj8Xn0J6m5hiVfHt7BD2FISL/vboOxiiaWzPjFBNDcwSlze9osNImEsMetZOyPI YmYBTYn1u/RBTAkBZYkjt6D28kl0HP7LDhHmlehoE4JoVJc4sH061AWyEt1zPkNd4CHx6tYv aPhOZpTY8+sn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4xMHIyHGCU4mJVEeP0nz00S4k1JrKxKLcqPLyrNSS0+xCjNwaIkznuh62S8kEB6Yklqdmpq QWoRTJaJg1OqgWm1yr3CD4XxRT3zDlwR3Hfi5J6KiNzZYj0bmW36D5uJrJ1e+z/k9sWDGq8O GBdu6N5RrmJ+x+Zh7/pajSux2w6wZ7y3nfayN62pqfwh08VnjWlCZ74nLZjnJ3co5em+tLu+ Hce2t0/lObIqQjnZVEmDf2fB5cT1knka+pWb9YLz3wmeVdL5sfvHhi2KqVc2Ptpau6az9C3H qvWWfe1KljUf7rAHPI8qSdLNzl5tGs4V+iQnYIm5ZIqmQsLqw98nlrV9j9M5ypGjlFny+v/9 A2uX/v9pzhn5I1d0C1fW7KL2mV//Zh94cOJ04x3uJVHP+la1STUsNmFLtN2g/CC3bWcu1wE+ kRMz47xbXBaLhSqxFGckGmoxFxUnAgAzHHnj8QIAAA== X-CMS-MailID: 20220607072938epcas2p1e9047a52882d77423e6f790939186d5b X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220607072938epcas2p1e9047a52882d77423e6f790939186d5b References: <20220607072907.127000-1-chanho61.park@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org To support secondary ufs phy devices, we need to get an offset value from pmu-syscon. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Chanho Park --- .../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"