From mboxrd@z Thu Jan 1 00:00:00 1970 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 5A402CCA480 for ; Tue, 5 Jul 2022 09:49:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232012AbiGEJtj (ORCPT ); Tue, 5 Jul 2022 05:49:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231703AbiGEJtV (ORCPT ); Tue, 5 Jul 2022 05:49:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8A35FD3E; Tue, 5 Jul 2022 02:49:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2053C618F2; Tue, 5 Jul 2022 09:49:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1ACDEC341D3; Tue, 5 Jul 2022 09:49:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657014544; bh=CSIhE4qibW7M+quZjw+ixus1xzmNavFM5ZRwlurXMxg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M1onH2qP5smWWkwJgCwbPePhxlqCGk4pSAfyUaeN+ivRccr2Vav3nNif7ydVjnLxG 98rlmhO8Czl+x6/VjxGPVFYHee6/uluFT2bmiipPGxeCRWQevwQP8aKoueti53gIdb XFtja7QomX+53oVDA4qUQCqJdBccdhfMmsesMInut5r+CSliIdzCdhnWL79xWf8bfS gF+bHeBz755XRHxJwjGJz4BzLSa9xCZps2DwjEqjNRL3X13fouqT1sTuL39kN96/N1 L5j+o2SELLkibYBjDM/aZTmNSkwKrPbu29Ys3kz9H3R335z6y+DSsCAyfyEXXYjc5L Ira7Op8PPT5sg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8fB3-0004YB-0K; Tue, 05 Jul 2022 11:49:05 +0200 From: Johan Hovold To: Vinod Koul , Rob Herring , Krzysztof Kozlowski Cc: Andy Gross , Bjorn Andersson , Kishon Vijay Abraham I , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 28/43] dt-bindings: phy: qcom,qmp-ufs: add example node Date: Tue, 5 Jul 2022 11:42:24 +0200 Message-Id: <20220705094239.17174-29-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220705094239.17174-1-johan+linaro@kernel.org> References: <20220705094239.17174-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add an example node based on a cleaned up version of sc8280xp.dtsi. Signed-off-by: Johan Hovold --- .../bindings/phy/qcom,qmp-ufs-phy.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-ufs-phy.yaml index 9124b60eb9a7..24272cdde9a1 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-ufs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-ufs-phy.yaml @@ -217,3 +217,33 @@ allOf: properties: reg: minItems: 4 + +examples: + - | + #include + #include + phy-wrapper@1d87000 { + compatible = "qcom,sc8280xp-qmp-ufs-phy"; + reg = <0x01d87000 0xe10>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x01d87000 0x1000>; + + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + clock-names = "ref", "ref_aux"; + + resets = <&ufs_mem_hc 0>; + reset-names = "ufsphy"; + + vdda-phy-supply = <&vreg_l6b>; + vdda-pll-supply = <&vreg_l3b>; + + phy@400 { + reg = <0x400 0x108>, + <0x600 0x1e0>, + <0xc00 0x1dc>, + <0x800 0x108>, + <0xa00 0x1e0>; + #phy-cells = <0>; + }; + }; -- 2.35.1 From mboxrd@z Thu Jan 1 00:00:00 1970 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 AC119C433EF for ; Tue, 5 Jul 2022 09:51:47 +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:MIME-Version:References: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=EHnimD2lus3b3ah6aOZRCySJZSrSA7BViZdU4Uq1N7w=; b=3mUa86sq4GJGUL lbREr/6sw5b+tFj5Yz2tbs4p2gjteU51mjO1t7xBYn1Lo8JwKq9BxF94wJ8Ww2fAHBojj48IOGtiR IxDj+1cd4IKt+OhltlJFvgvR9nVmkC0CIBC17fTMf+PW1WvemNmQBMvVZgYm7QCfKn9CojbCXp/Pf RF/mLzEf90IOVCEnfKHs9ttXcVUQuMzemXVrenkCCottOzT2ZLf4uPxcz6RA/WxecoejMGzCe0q2L /oV88VAIBF7+30p3c++et80g57BuuOCI+jnqgOdOQftZ/F5gWqS6oijWLukMRCN5J3bCQoiV5hUOc bazM6X7TIlFMTcF9RUhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8fDe-00GwXd-IL; Tue, 05 Jul 2022 09:51:46 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8fBB-00GuVm-JP for linux-phy@lists.infradead.org; Tue, 05 Jul 2022 09:49:19 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4FAE16192D; Tue, 5 Jul 2022 09:49:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1ACDEC341D3; Tue, 5 Jul 2022 09:49:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657014544; bh=CSIhE4qibW7M+quZjw+ixus1xzmNavFM5ZRwlurXMxg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M1onH2qP5smWWkwJgCwbPePhxlqCGk4pSAfyUaeN+ivRccr2Vav3nNif7ydVjnLxG 98rlmhO8Czl+x6/VjxGPVFYHee6/uluFT2bmiipPGxeCRWQevwQP8aKoueti53gIdb XFtja7QomX+53oVDA4qUQCqJdBccdhfMmsesMInut5r+CSliIdzCdhnWL79xWf8bfS gF+bHeBz755XRHxJwjGJz4BzLSa9xCZps2DwjEqjNRL3X13fouqT1sTuL39kN96/N1 L5j+o2SELLkibYBjDM/aZTmNSkwKrPbu29Ys3kz9H3R335z6y+DSsCAyfyEXXYjc5L Ira7Op8PPT5sg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8fB3-0004YB-0K; Tue, 05 Jul 2022 11:49:05 +0200 From: Johan Hovold To: Vinod Koul , Rob Herring , Krzysztof Kozlowski Cc: Andy Gross , Bjorn Andersson , Kishon Vijay Abraham I , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 28/43] dt-bindings: phy: qcom,qmp-ufs: add example node Date: Tue, 5 Jul 2022 11:42:24 +0200 Message-Id: <20220705094239.17174-29-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220705094239.17174-1-johan+linaro@kernel.org> References: <20220705094239.17174-1-johan+linaro@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220705_024913_743168_B5A1040F X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Add an example node based on a cleaned up version of sc8280xp.dtsi. Signed-off-by: Johan Hovold --- .../bindings/phy/qcom,qmp-ufs-phy.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-ufs-phy.yaml index 9124b60eb9a7..24272cdde9a1 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-ufs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-ufs-phy.yaml @@ -217,3 +217,33 @@ allOf: properties: reg: minItems: 4 + +examples: + - | + #include + #include + phy-wrapper@1d87000 { + compatible = "qcom,sc8280xp-qmp-ufs-phy"; + reg = <0x01d87000 0xe10>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x01d87000 0x1000>; + + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + clock-names = "ref", "ref_aux"; + + resets = <&ufs_mem_hc 0>; + reset-names = "ufsphy"; + + vdda-phy-supply = <&vreg_l6b>; + vdda-pll-supply = <&vreg_l3b>; + + phy@400 { + reg = <0x400 0x108>, + <0x600 0x1e0>, + <0xc00 0x1dc>, + <0x800 0x108>, + <0xa00 0x1e0>; + #phy-cells = <0>; + }; + }; -- 2.35.1 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy