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 <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@somainline.org>,
Kishon Vijay Abraham I <kishon@ti.com>,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
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>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: [PATCH v4 03/30] dt-bindings: phy: qcom,qmp: drop redundant descriptions
Date: Tue, 30 Aug 2022 13:28:56 +0200 [thread overview]
Message-ID: <20220830112923.3725-4-johan+linaro@kernel.org> (raw)
In-Reply-To: <20220830112923.3725-1-johan+linaro@kernel.org>
Drop the redundant supply and clock descriptions which did not add much
information beyond what can be inferred from the corresponding resource
names.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
.../devicetree/bindings/phy/qcom,qmp-phy.yaml | 108 ++++--------------
1 file changed, 25 insertions(+), 83 deletions(-)
diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
index f3976b1585b5..da38764f845b 100644
--- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
@@ -92,17 +92,11 @@ properties:
minItems: 1
maxItems: 3
- vdda-phy-supply:
- description:
- Phandle to a regulator supply to PHY core block.
+ vdda-phy-supply: true
- vdda-pll-supply:
- description:
- Phandle to 1.8V regulator supply to PHY refclk pll block.
+ vdda-pll-supply: true
- vddp-ref-clk-supply:
- description:
- Phandle to a regulator supply to any specific refclk pll block.
+ vddp-ref-clk-supply: true
#Required nodes:
patternProperties:
@@ -135,11 +129,7 @@ allOf:
then:
properties:
clocks:
- items:
- - description: Phy aux clock.
- - description: Phy config clock.
- - description: 19.2 MHz ref clk.
- - description: Phy common block aux clock.
+ maxItems: 4
clock-names:
items:
- const: aux
@@ -147,9 +137,7 @@ allOf:
- const: ref
- const: com_aux
resets:
- items:
- - description: reset of phy block.
- - description: phy common block reset.
+ maxItems: 2
reset-names:
items:
- const: phy
@@ -167,19 +155,14 @@ allOf:
then:
properties:
clocks:
- items:
- - description: Phy aux clock.
- - description: Phy config clock.
- - description: 19.2 MHz ref clk.
+ maxItems: 3
clock-names:
items:
- const: aux
- const: cfg_ahb
- const: ref
resets:
- items:
- - description: reset of phy block.
- - description: phy common block reset.
+ maxItems: 2
reset-names:
items:
- const: phy
@@ -196,20 +179,14 @@ allOf:
then:
properties:
clocks:
- items:
- - description: Phy aux clock.
- - description: Phy config clock.
- - description: 19.2 MHz ref clk.
+ maxItems: 3
clock-names:
items:
- const: aux
- const: cfg_ahb
- const: ref
resets:
- items:
- - description: reset of phy block.
- - description: phy common block reset.
- - description: phy's ahb cfg block reset.
+ maxItems: 3
reset-names:
items:
- const: phy
@@ -230,19 +207,14 @@ allOf:
then:
properties:
clocks:
- items:
- - description: Phy aux clock.
- - description: Phy config clock.
- - description: 19.2 MHz ref clk.
+ maxItems: 3
clock-names:
items:
- const: aux
- const: cfg_ahb
- const: ref
resets:
- items:
- - description: reset of phy block.
- - description: phy common block reset.
+ maxItems: 2
reset-names:
items:
- const: phy
@@ -259,14 +231,12 @@ allOf:
then:
properties:
clocks:
- items:
- - description: 19.2 MHz ref clk.
+ maxItems: 1
clock-names:
items:
- const: ref
resets:
- items:
- - description: PHY reset in the UFS controller.
+ maxItems: 1
reset-names:
items:
- const: ufsphy
@@ -288,16 +258,13 @@ allOf:
then:
properties:
clocks:
- items:
- - description: 19.2 MHz ref clk.
- - description: Phy reference aux clock.
+ maxItems: 2
clock-names:
items:
- const: ref
- const: ref_aux
resets:
- items:
- - description: PHY reset in the UFS controller.
+ maxItems: 1
reset-names:
items:
- const: ufsphy
@@ -315,17 +282,13 @@ allOf:
then:
properties:
clocks:
- items:
- - description: Phy aux clock.
- - description: Phy config clock.
+ maxItems: 2
clock-names:
items:
- const: aux
- const: cfg_ahb
resets:
- items:
- - description: reset of phy block.
- - description: phy common block reset.
+ maxItems: 2
reset-names:
items:
- const: phy
@@ -347,11 +310,7 @@ allOf:
then:
properties:
clocks:
- items:
- - description: Phy aux clock.
- - description: Phy config clock.
- - description: 19.2 MHz ref clk.
- - description: Phy refgen clk.
+ maxItems: 4
clock-names:
items:
- const: aux
@@ -359,8 +318,7 @@ allOf:
- const: ref
- const: refgen
resets:
- items:
- - description: reset of phy block.
+ maxItems: 1
reset-names:
items:
- const: phy
@@ -380,11 +338,7 @@ allOf:
then:
properties:
clocks:
- items:
- - description: Phy aux clock.
- - description: 19.2 MHz ref clk source.
- - description: 19.2 MHz ref clk.
- - description: Phy common block aux clock.
+ maxItems: 4
clock-names:
items:
- const: aux
@@ -392,9 +346,7 @@ allOf:
- const: ref
- const: com_aux
resets:
- items:
- - description: reset of phy block.
- - description: phy common block reset.
+ maxItems: 2
reset-names:
items:
- const: phy
@@ -412,19 +364,14 @@ allOf:
then:
properties:
clocks:
- items:
- - description: Phy aux clock.
- - description: 19.2 MHz ref clk.
- - description: Phy common block aux clock.
+ maxItems: 3
clock-names:
items:
- const: aux
- const: ref_clk_src
- const: com_aux
resets:
- items:
- - description: reset of phy block.
- - description: phy common block reset.
+ maxItems: 2
reset-names:
items:
- const: phy
@@ -441,19 +388,14 @@ allOf:
then:
properties:
clocks:
- items:
- - description: Phy config clock.
- - description: 19.2 MHz ref clk.
- - description: Phy common block aux clock.
+ maxItems: 3
clock-names:
items:
- const: cfg_ahb
- const: ref
- const: com_aux
resets:
- items:
- - description: phy_phy reset.
- - description: reset of phy block.
+ maxItems: 2
reset-names:
items:
- const: phy_phy
--
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-08-30 11:30 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-30 11:28 [PATCH v4 00/30] phy: qcom,qmp: fix dt-bindings and deprecate lane suffix Johan Hovold
2022-08-30 11:28 ` [PATCH v4 01/30] dt-bindings: phy: qcom,qmp: fix bogus clock-cells property Johan Hovold
2022-08-30 11:28 ` [PATCH v4 02/30] dt-bindings: phy: qcom,qmp: sort compatible strings Johan Hovold
2022-08-30 11:28 ` Johan Hovold [this message]
2022-08-30 11:28 ` [PATCH v4 04/30] dt-bindings: phy: qcom,qmp: fix child node description Johan Hovold
2022-08-30 11:28 ` [PATCH v4 05/30] dt-bindings: phy: qcom,qmp: clean up descriptions Johan Hovold
2022-08-30 11:28 ` [PATCH v4 06/30] dt-bindings: phy: qcom,qmp: clean up example Johan Hovold
2022-08-30 11:29 ` [PATCH v4 07/30] dt-bindings: phy: qcom,qmp: drop child-node comment Johan Hovold
2022-08-30 11:29 ` [PATCH v4 08/30] dt-bindings: phy: add qcom,msm8996-qmp-pcie-phy schema Johan Hovold
2022-08-30 11:29 ` [PATCH v4 09/30] dt-bindings: phy: qcom,msm8996-qmp-pcie: add missing child node schema Johan Hovold
2022-08-30 11:29 ` [PATCH v4 10/30] dt-bindings: phy: qcom,msm8996-qmp-pcie: deprecate PIPE clock names Johan Hovold
2022-08-30 11:29 ` [PATCH v4 11/30] dt-bindings: phy: qcom,msm8996-qmp-pcie: deprecate reset names Johan Hovold
2022-08-30 11:29 ` [PATCH v4 12/30] dt-bindings: phy: add QMP PCIe PHY schema Johan Hovold
2022-08-30 11:29 ` [PATCH v4 13/30] dt-bindings: phy: qcom,qmp-pcie: add missing child node schema Johan Hovold
2022-08-30 11:29 ` [PATCH v4 14/30] dt-bindings: phy: qcom,qmp-pcie: deprecate PIPE clock name Johan Hovold
2022-08-30 11:29 ` [PATCH v4 15/30] dt-bindings: phy: add QMP UFS PHY schema Johan Hovold
2022-08-30 11:29 ` [PATCH v4 16/30] dt-bindings: phy: qcom,qmp-ufs: add missing SM8450 clock Johan Hovold
2022-08-30 11:29 ` [PATCH v4 17/30] dt-bindings: phy: qcom,qmp-ufs: add missing SM8150 power domain Johan Hovold
2022-08-30 11:29 ` [PATCH v4 18/30] dt-bindings: phy: qcom,qmp-ufs: add missing child node schema Johan Hovold
2022-08-30 11:29 ` [PATCH v4 19/30] dt-bindings: phy: add QMP USB PHY schema Johan Hovold
2022-08-30 11:29 ` [PATCH v4 20/30] dt-bindings: phy: qcom,qmp-usb: add missing child node schema Johan Hovold
2022-08-30 11:29 ` [PATCH v4 21/30] dt-bindings: phy: qcom,qmp-usb: deprecate PIPE clock name Johan Hovold
2022-08-30 11:29 ` [PATCH v4 22/30] dt-bindings: phy: qcom,qmp-usb: add missing qcom,sc7180-qmp-usb3-phy schema Johan Hovold
2022-08-30 11:29 ` [PATCH v4 23/30] dt-bindings: phy: qcom,qmp-usb3-dp: fix bogus clock-cells property Johan Hovold
2022-08-30 11:29 ` [PATCH v4 24/30] dt-bindings: phy: qcom,qmp-usb3-dp: deprecate USB PIPE clock name Johan Hovold
2022-08-30 11:29 ` [PATCH v4 25/30] phy: qcom-qmp-pcie: drop pipe clock lane suffix Johan Hovold
2022-08-30 11:29 ` [PATCH v4 26/30] phy: qcom-qmp-combo: drop unused lane reset Johan Hovold
2022-08-30 11:29 ` [PATCH v4 27/30] phy: qcom-qmp-combo: drop pipe clock lane suffix Johan Hovold
2022-08-30 11:29 ` [PATCH v4 28/30] phy: qcom-qmp-pcie-msm8996: " Johan Hovold
2022-08-30 11:29 ` [PATCH v4 29/30] phy: qcom-qmp-pcie-msm8996: drop reset " Johan Hovold
2022-08-30 11:29 ` [PATCH v4 30/30] phy: qcom-qmp-usb: drop pipe clock " Johan Hovold
2022-08-30 13:27 ` [PATCH v4 00/30] phy: qcom,qmp: fix dt-bindings and deprecate " Vinod Koul
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=20220830112923.3725-4-johan+linaro@kernel.org \
--to=johan+linaro@kernel.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=kishon@ti.com \
--cc=konrad.dybcio@somainline.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).