From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Abel Vesa <abel.vesa@linaro.org>, Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Abhinav Kumar <quic_abhinavk@quicinc.com>,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Johan Hovold <johan@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/3] dt-bindings: phy: qcom-edp: Add X1E80100 PHY compatibles
Date: Thu, 7 Dec 2023 17:51:40 +0100 [thread overview]
Message-ID: <b6d3928c-75ba-47a3-93fc-a60729be2e35@linaro.org> (raw)
In-Reply-To: <20231122-phy-qualcomm-edp-x1e80100-v3-2-576fc4e9559d@linaro.org>
On 07/12/2023 11:52, Abel Vesa wrote:
> The Qualcomm X1E80100 platform has multiple PHYs that can work in both
> eDP or DP mode, add compatibles for these. New platforms can use the
> phy-type property to specify which mode the PHY should be configured in.
>
> Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
> ---
> Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> index 6566353f1a02..3341283577ce 100644
> --- a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> @@ -21,6 +21,7 @@ properties:
> - qcom,sc8180x-edp-phy
> - qcom,sc8280xp-dp-phy
> - qcom,sc8280xp-edp-phy
> + - qcom,x1e80100-dp-phy
>
> reg:
> items:
> @@ -59,6 +60,20 @@ required:
>
> additionalProperties: false
Please put it after allOf: block (IOW, allOf: before additonalProperties:)
>
> +allOf:
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - qcom,x1e80100-dp-phy
> + then:
> + properties:
> + phy-type:
> + description: DP (default) or eDP type
Properties must be defined in top-level "properties:" block. In
allOf:if:then you only disallow them for other variants.
> + enum: [ 6, 13 ]
> + default: 6
Anyway, I was thinking this should be rather argument to phy-cells.
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-12-07 16:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-07 10:52 [PATCH v3 0/3] phy: qcom: edp: Add support for X1E80100 Abel Vesa
2023-12-07 10:52 ` [PATCH v3 1/3] dt-bindings: phy: Add PHY_TYPE_EDP definition Abel Vesa
2023-12-07 16:49 ` Krzysztof Kozlowski
2023-12-07 10:52 ` [PATCH v3 2/3] dt-bindings: phy: qcom-edp: Add X1E80100 PHY compatibles Abel Vesa
2023-12-07 16:51 ` Krzysztof Kozlowski [this message]
2023-12-07 19:16 ` Konrad Dybcio
2023-12-08 7:47 ` Krzysztof Kozlowski
2023-12-08 11:04 ` Dmitry Baryshkov
2023-12-08 11:45 ` Krzysztof Kozlowski
2023-12-08 12:17 ` Dmitry Baryshkov
2023-12-08 12:20 ` Krzysztof Kozlowski
2023-12-08 12:35 ` Dmitry Baryshkov
2023-12-08 12:46 ` Krzysztof Kozlowski
2023-12-08 13:09 ` Dmitry Baryshkov
2023-12-07 10:52 ` [PATCH v3 3/3] phy: qcom: edp: Add support for X1E80100 PHY Abel Vesa
2023-12-07 12:15 ` Dmitry Baryshkov
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=b6d3928c-75ba-47a3-93fc-a60729be2e35@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=abel.vesa@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=johan@kernel.org \
--cc=kishon@kernel.org \
--cc=konrad.dybcio@linaro.org \
--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=quic_abhinavk@quicinc.com \
--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).