From: Johan Hovold <johan+linaro@kernel.org> To: Vinod Koul <vkoul@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Andy Gross <agross@kernel.org>, Bjorn Andersson <bjorn.andersson@linaro.org>, Kishon Vijay Abraham I <kishon@ti.com>, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org> Subject: [PATCH 09/43] dt-bindings: phy: qcom,msm8996-qmp-pcie: add example node Date: Tue, 5 Jul 2022 11:42:05 +0200 [thread overview] Message-ID: <20220705094239.17174-10-johan+linaro@kernel.org> (raw) In-Reply-To: <20220705094239.17174-1-johan+linaro@kernel.org> Add an example node based on a cleaned up version of msm8996.dtsi. Signed-off-by: Johan Hovold <johan+linaro@kernel.org> --- .../phy/qcom,msm8996-qmp-pcie-phy.yaml | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml index 8aadb25686b2..45f7bb7a632a 100644 --- a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml @@ -130,3 +130,75 @@ required: - vdda-pll-supply additionalProperties: false + +examples: + - | + #include <dt-bindings/clock/qcom,gcc-msm8996.h> + pcie_phy: phy-wrapper@34000 { + compatible = "qcom,msm8996-qmp-pcie-phy"; + reg = <0x34000 0x488>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x34000 0x4000>; + + clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>, + <&gcc GCC_PCIE_PHY_CFG_AHB_CLK>, + <&gcc GCC_PCIE_CLKREF_CLK>; + clock-names = "aux", "cfg_ahb", "ref"; + + resets = <&gcc GCC_PCIE_PHY_BCR>, + <&gcc GCC_PCIE_PHY_COM_BCR>, + <&gcc GCC_PCIE_PHY_COM_NOCSR_BCR>; + reset-names = "phy", "common", "cfg"; + + vdda-phy-supply = <&vreg_l28a_0p925>; + vdda-pll-supply = <&vreg_l12a_1p8>; + + pciephy_0: phy@1000 { + reg = <0x1000 0x130>, + <0x1200 0x200>, + <0x1400 0x1dc>; + + clocks = <&gcc GCC_PCIE_0_PIPE_CLK>; + clock-names = "pipe0"; + resets = <&gcc GCC_PCIE_0_PHY_BCR>; + reset-names = "lane0"; + + #clock-cells = <0>; + clock-output-names = "pcie_0_pipe_clk_src"; + + #phy-cells = <0>; + }; + + pciephy_1: phy@2000 { + reg = <0x2000 0x130>, + <0x2200 0x200>, + <0x2400 0x1dc>; + + clocks = <&gcc GCC_PCIE_1_PIPE_CLK>; + clock-names = "pipe1"; + resets = <&gcc GCC_PCIE_1_PHY_BCR>; + reset-names = "lane1"; + + #clock-cells = <0>; + clock-output-names = "pcie_1_pipe_clk_src"; + + #phy-cells = <0>; + }; + + pciephy_2: phy@3000 { + reg = <0x3000 0x130>, + <0x3200 0x200>, + <0x3400 0x1dc>; + + clocks = <&gcc GCC_PCIE_2_PIPE_CLK>; + clock-names = "pipe2"; + resets = <&gcc GCC_PCIE_2_PHY_BCR>; + reset-names = "lane2"; + + #clock-cells = <0>; + clock-output-names = "pcie_2_pipe_clk_src"; + + #phy-cells = <0>; + }; + }; -- 2.35.1
WARNING: multiple messages have this Message-ID (diff)
From: Johan Hovold <johan+linaro@kernel.org> To: Vinod Koul <vkoul@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Andy Gross <agross@kernel.org>, Bjorn Andersson <bjorn.andersson@linaro.org>, Kishon Vijay Abraham I <kishon@ti.com>, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org> Subject: [PATCH 09/43] dt-bindings: phy: qcom,msm8996-qmp-pcie: add example node Date: Tue, 5 Jul 2022 11:42:05 +0200 [thread overview] Message-ID: <20220705094239.17174-10-johan+linaro@kernel.org> (raw) In-Reply-To: <20220705094239.17174-1-johan+linaro@kernel.org> Add an example node based on a cleaned up version of msm8996.dtsi. Signed-off-by: Johan Hovold <johan+linaro@kernel.org> --- .../phy/qcom,msm8996-qmp-pcie-phy.yaml | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml index 8aadb25686b2..45f7bb7a632a 100644 --- a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml @@ -130,3 +130,75 @@ required: - vdda-pll-supply additionalProperties: false + +examples: + - | + #include <dt-bindings/clock/qcom,gcc-msm8996.h> + pcie_phy: phy-wrapper@34000 { + compatible = "qcom,msm8996-qmp-pcie-phy"; + reg = <0x34000 0x488>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x34000 0x4000>; + + clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>, + <&gcc GCC_PCIE_PHY_CFG_AHB_CLK>, + <&gcc GCC_PCIE_CLKREF_CLK>; + clock-names = "aux", "cfg_ahb", "ref"; + + resets = <&gcc GCC_PCIE_PHY_BCR>, + <&gcc GCC_PCIE_PHY_COM_BCR>, + <&gcc GCC_PCIE_PHY_COM_NOCSR_BCR>; + reset-names = "phy", "common", "cfg"; + + vdda-phy-supply = <&vreg_l28a_0p925>; + vdda-pll-supply = <&vreg_l12a_1p8>; + + pciephy_0: phy@1000 { + reg = <0x1000 0x130>, + <0x1200 0x200>, + <0x1400 0x1dc>; + + clocks = <&gcc GCC_PCIE_0_PIPE_CLK>; + clock-names = "pipe0"; + resets = <&gcc GCC_PCIE_0_PHY_BCR>; + reset-names = "lane0"; + + #clock-cells = <0>; + clock-output-names = "pcie_0_pipe_clk_src"; + + #phy-cells = <0>; + }; + + pciephy_1: phy@2000 { + reg = <0x2000 0x130>, + <0x2200 0x200>, + <0x2400 0x1dc>; + + clocks = <&gcc GCC_PCIE_1_PIPE_CLK>; + clock-names = "pipe1"; + resets = <&gcc GCC_PCIE_1_PHY_BCR>; + reset-names = "lane1"; + + #clock-cells = <0>; + clock-output-names = "pcie_1_pipe_clk_src"; + + #phy-cells = <0>; + }; + + pciephy_2: phy@3000 { + reg = <0x3000 0x130>, + <0x3200 0x200>, + <0x3400 0x1dc>; + + clocks = <&gcc GCC_PCIE_2_PIPE_CLK>; + clock-names = "pipe2"; + resets = <&gcc GCC_PCIE_2_PHY_BCR>; + reset-names = "lane2"; + + #clock-cells = <0>; + clock-output-names = "pcie_2_pipe_clk_src"; + + #phy-cells = <0>; + }; + }; -- 2.35.1 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy
next prev parent reply other threads:[~2022-07-05 9:49 UTC|newest] Thread overview: 178+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-05 9:41 [PATCH 00/43] phy: qcom,qmp: fix dt-bindings and deprecate lane suffix Johan Hovold 2022-07-05 9:41 ` Johan Hovold 2022-07-05 9:41 ` [PATCH 01/43] dt-bindings: phy: qcom,qmp: fix bogus clock-cells property Johan Hovold 2022-07-05 9:41 ` Johan Hovold 2022-07-05 10:01 ` Krzysztof Kozlowski 2022-07-05 10:01 ` Krzysztof Kozlowski 2022-07-05 9:41 ` [PATCH 02/43] dt-bindings: phy: qcom,qmp: sort compatible strings Johan Hovold 2022-07-05 9:41 ` Johan Hovold 2022-07-05 10:02 ` Krzysztof Kozlowski 2022-07-05 10:02 ` Krzysztof Kozlowski 2022-07-05 9:41 ` [PATCH 03/43] dt-bindings: phy: qcom,qmp: clean up descriptions Johan Hovold 2022-07-05 9:41 ` Johan Hovold 2022-07-05 10:02 ` Krzysztof Kozlowski 2022-07-05 10:02 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 04/43] dt-bindings: phy: qcom,qmp: clean up example Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:03 ` Krzysztof Kozlowski 2022-07-05 10:03 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 05/43] dt-bindings: phy: qcom,qmp: drop child-node comment Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:03 ` Krzysztof Kozlowski 2022-07-05 10:03 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 06/43] dt-bindings: phy: qcom,qmp: split out msm8996-qmp-pcie-phy Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:08 ` Krzysztof Kozlowski 2022-07-05 10:08 ` Krzysztof Kozlowski 2022-07-05 10:20 ` Johan Hovold 2022-07-05 10:20 ` Johan Hovold 2022-07-05 10:23 ` Krzysztof Kozlowski 2022-07-05 10:23 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 07/43] dt-bindings: phy: qcom,msm8996-qmp-pcie: clean up constraints Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:09 ` Krzysztof Kozlowski 2022-07-05 10:09 ` Krzysztof Kozlowski 2022-07-05 10:21 ` Johan Hovold 2022-07-05 10:21 ` Johan Hovold 2022-07-05 10:23 ` Krzysztof Kozlowski 2022-07-05 10:23 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 08/43] dt-bindings: phy: qcom,msm8996-qmp-pcie: add missing child node schema Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:10 ` Krzysztof Kozlowski 2022-07-05 10:10 ` Krzysztof Kozlowski 2022-07-05 9:42 ` Johan Hovold [this message] 2022-07-05 9:42 ` [PATCH 09/43] dt-bindings: phy: qcom,msm8996-qmp-pcie: add example node Johan Hovold 2022-07-05 10:10 ` Krzysztof Kozlowski 2022-07-05 10:10 ` Krzysztof Kozlowski 2022-07-05 10:22 ` Johan Hovold 2022-07-05 10:22 ` Johan Hovold 2022-07-05 11:32 ` Krzysztof Kozlowski 2022-07-05 11:32 ` Krzysztof Kozlowski 2022-07-05 12:00 ` Johan Hovold 2022-07-05 12:00 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 10/43] dt-bindings: phy: qcom,msm8996-qmp-pcie: deprecate PIPE clock names Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:10 ` Krzysztof Kozlowski 2022-07-05 10:10 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 11/43] dt-bindings: phy: qcom,msm8996-qmp-pcie: deprecate reset names Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:12 ` Krzysztof Kozlowski 2022-07-05 10:12 ` Krzysztof Kozlowski 2022-07-05 12:14 ` Johan Hovold 2022-07-05 12:14 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 12/43] dt-bindings: phy: qcom,qmp: split out PCIe PHY binding Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:13 ` Krzysztof Kozlowski 2022-07-05 10:13 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 13/43] dt-bindings: phy: qcom,qmp-pcie: clean up register constraints Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:13 ` Krzysztof Kozlowski 2022-07-05 10:13 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 14/43] dt-bindings: phy: qcom,qmp-pcie: clean up clock constraints Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:14 ` Krzysztof Kozlowski 2022-07-05 10:14 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 15/43] dt-bindings: phy: qcom,qmp-pcie: clean up reset constraints Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:14 ` Krzysztof Kozlowski 2022-07-05 10:14 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 16/43] dt-bindings: phy: qcom,qmp-pcie: drop unused vddp-ref-clk supply Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:16 ` Krzysztof Kozlowski 2022-07-05 10:16 ` Krzysztof Kozlowski 2022-07-05 11:46 ` Johan Hovold 2022-07-05 11:46 ` Johan Hovold 2022-07-05 11:59 ` Krzysztof Kozlowski 2022-07-05 11:59 ` Krzysztof Kozlowski 2022-07-05 12:43 ` Johan Hovold 2022-07-05 12:43 ` Johan Hovold 2022-07-05 18:13 ` Krzysztof Kozlowski 2022-07-05 18:13 ` Krzysztof Kozlowski 2022-07-06 6:03 ` Johan Hovold 2022-07-06 6:03 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 17/43] dt-bindings: phy: qcom,qmp-pcie: add missing child node schema Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:18 ` Krzysztof Kozlowski 2022-07-05 10:18 ` Krzysztof Kozlowski 2022-07-05 11:51 ` Johan Hovold 2022-07-05 11:51 ` Johan Hovold 2022-07-05 11:56 ` Krzysztof Kozlowski 2022-07-05 11:56 ` Krzysztof Kozlowski 2022-07-05 12:11 ` Johan Hovold 2022-07-05 12:11 ` Johan Hovold 2022-07-05 18:21 ` Krzysztof Kozlowski 2022-07-05 18:21 ` Krzysztof Kozlowski 2022-07-06 6:06 ` Johan Hovold 2022-07-06 6:06 ` Johan Hovold 2022-07-05 14:14 ` Rob Herring 2022-07-05 14:14 ` Rob Herring 2022-07-05 9:42 ` [PATCH 18/43] dt-bindings: phy: qcom,qmp-pcie: add example node Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:18 ` Krzysztof Kozlowski 2022-07-05 10:18 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 19/43] dt-bindings: phy: qcom,qmp-pcie: deprecate PIPE clock name Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 20/43] dt-bindings: phy: qcom,qmp: split out UFS PHY binding Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:19 ` Krzysztof Kozlowski 2022-07-05 10:19 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 21/43] dt-bindings: phy: qcom,qmp-ufs: clean up supplies Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 22/43] dt-bindings: phy: qcom,qmp-ufs: clean up reset providers Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 23/43] dt-bindings: phy: qcom,qmp-ufs: clean up clock constraints Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 24/43] dt-bindings: phy: qcom,qmp-ufs: clean up register constraints Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 25/43] dt-bindings: phy: qcom,qmp-ufs: add missing SM8450 clock Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 26/43] dt-bindings: phy: qcom,qmp-ufs: add missing SM8150 power domain Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 27/43] dt-bindings: phy: qcom,qmp-ufs: add missing child node schema Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 28/43] dt-bindings: phy: qcom,qmp-ufs: add example node Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 29/43] dt-bindings: phy: qcom,qmp: split out USB binding Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 30/43] dt-bindings: phy: qcom,qmp-usb: clean up clock constraints Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 31/43] dt-bindings: phy: qcom,qmp-usb: clean up supplies Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 32/43] dt-bindings: phy: qcom,qmp-usb: drop unused vddp-ref-clk supply Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 33/43] dt-bindings: phy: qcom,qmp-usb: clean up reset providers Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 34/43] dt-bindings: phy: qcom,qmp-usb: add missing child node schema Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 35/43] dt-bindings: phy: qcom,qmp-usb: deprecate PIPE clock name Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 36/43] dt-bindings: phy: qcom,qmp-usb3-dp: fix bogus clock-cells property Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 37/43] dt-bindings: phy: qcom,qmp-usb3-dp: deprecate USB PIPE clock name Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 38/43] phy: qcom-qmp-pcie: drop pipe clock lane suffix Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:20 ` Krzysztof Kozlowski 2022-07-05 10:20 ` Krzysztof Kozlowski 2022-07-05 11:13 ` Dmitry Baryshkov 2022-07-05 11:13 ` Dmitry Baryshkov 2022-07-05 11:58 ` Johan Hovold 2022-07-05 11:58 ` Johan Hovold 2022-07-05 12:06 ` Krzysztof Kozlowski 2022-07-05 12:06 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 39/43] phy: qcom-qmp-combo: drop unused lane reset Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 11:10 ` Dmitry Baryshkov 2022-07-05 11:10 ` Dmitry Baryshkov 2022-07-05 9:42 ` [PATCH 40/43] phy: qcom-qmp-combo: drop pipe clock lane suffix Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:20 ` Krzysztof Kozlowski 2022-07-05 10:20 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 41/43] phy: qcom-qmp-pcie-msm8996: " Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 9:42 ` [PATCH 42/43] phy: qcom-qmp-pcie-msm8996: drop reset " Johan Hovold 2022-07-05 9:42 ` Johan Hovold 2022-07-05 10:21 ` Krzysztof Kozlowski 2022-07-05 10:21 ` Krzysztof Kozlowski 2022-07-05 9:42 ` [PATCH 43/43] phy: qcom-qmp-usb: drop pipe clock " Johan Hovold 2022-07-05 9:42 ` Johan Hovold
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220705094239.17174-10-johan+linaro@kernel.org \ --to=johan+linaro@kernel.org \ --cc=agross@kernel.org \ --cc=bjorn.andersson@linaro.org \ --cc=devicetree@vger.kernel.org \ --cc=kishon@ti.com \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-phy@lists.infradead.org \ --cc=robh+dt@kernel.org \ --cc=vkoul@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.