From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Jack Pham <jackp@codeaurora.org>
Cc: Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@ti.com>,
Andy Gross <agross@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Wesley Cheng <wcheng@codeaurora.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Manu Gautam <mgautam@codeaurora.org>,
linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 1/4] dt-bindings: phy: qcom,qmp: Add SM8150, SM8250 and SM8350 USB PHY bindings
Date: Sun, 17 Jan 2021 23:03:33 -0600 [thread overview]
Message-ID: <YAUWpWfdsmQTXM3s@builder.lan> (raw)
In-Reply-To: <20210115174723.7424-2-jackp@codeaurora.org>
On Fri 15 Jan 11:47 CST 2021, Jack Pham wrote:
> Add the compatible strings for the USB3 PHYs found on SM8150, SM8250
> and SM8350 SoCs. These require separate subschemas due to the different
> required clock entries.
>
> Note the SM8150 and SM8250 compatibles have already been in place in
> the dts as well as the driver implementation but were missing from
> the documentation.
>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Regards,
Bjorn
> Signed-off-by: Jack Pham <jackp@codeaurora.org>
> ---
> .../devicetree/bindings/phy/qcom,qmp-phy.yaml | 67 +++++++++++++++++++
> 1 file changed, 67 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
> index 390df23b82e7..841c72863b4f 100644
> --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
> @@ -30,15 +30,24 @@ properties:
> - qcom,sdm845-qmp-ufs-phy
> - qcom,sdm845-qmp-usb3-uni-phy
> - qcom,sm8150-qmp-ufs-phy
> + - qcom,sm8150-qmp-usb3-phy
> + - qcom,sm8150-qmp-usb3-uni-phy
> - qcom,sm8250-qmp-ufs-phy
> - qcom,sm8250-qmp-gen3x1-pcie-phy
> - qcom,sm8250-qmp-gen3x2-pcie-phy
> - qcom,sm8250-qmp-modem-pcie-phy
> + - qcom,sm8250-qmp-usb3-phy
> + - qcom,sm8250-qmp-usb3-uni-phy
> + - qcom,sm8350-qmp-usb3-phy
> + - qcom,sm8350-qmp-usb3-uni-phy
> - qcom,sdx55-qmp-usb3-uni-phy
>
> reg:
> + minItems: 1
> + maxItems: 2
> items:
> - description: Address and length of PHY's common serdes block.
> + - description: Address and length of PHY's DP_COM control block.
>
> "#clock-cells":
> enum: [ 1, 2 ]
> @@ -287,6 +296,64 @@ allOf:
> reset-names:
> items:
> - const: phy
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - qcom,sm8150-qmp-usb3-phy
> + - qcom,sm8150-qmp-usb3-uni-phy
> + - qcom,sm8250-qmp-usb3-uni-phy
> + - qcom,sm8350-qmp-usb3-uni-phy
> + 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.
> + clock-names:
> + items:
> + - const: aux
> + - const: ref_clk_src
> + - const: ref
> + - const: com_aux
> + resets:
> + items:
> + - description: reset of phy block.
> + - description: phy common block reset.
> + reset-names:
> + items:
> + - const: phy
> + - const: common
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - qcom,sm8250-qmp-usb3-phy
> + - qcom,sm8350-qmp-usb3-phy
> + then:
> + properties:
> + clocks:
> + items:
> + - description: Phy aux clock.
> + - description: 19.2 MHz ref clk.
> + - description: Phy common block aux clock.
> + clock-names:
> + items:
> + - const: aux
> + - const: ref_clk_src
> + - const: com_aux
> + resets:
> + items:
> + - description: reset of phy block.
> + - description: phy common block reset.
> + reset-names:
> + items:
> + - const: phy
> + - const: common
>
> examples:
> - |
> --
> 2.24.0
>
next prev parent reply other threads:[~2021-01-18 5:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-15 17:47 [PATCH v2 0/4] SM8350 USB and dt-bindings updates Jack Pham
2021-01-15 17:47 ` [PATCH v2 1/4] dt-bindings: phy: qcom,qmp: Add SM8150, SM8250 and SM8350 USB PHY bindings Jack Pham
2021-01-18 5:03 ` Bjorn Andersson [this message]
2021-01-19 15:02 ` Vinod Koul
2021-01-15 17:47 ` [PATCH v2 2/4] phy: qcom-qmp: Add SM8350 USB QMP PHYs Jack Pham
2021-01-18 5:04 ` Bjorn Andersson
2021-01-19 15:03 ` Vinod Koul
2021-01-15 17:47 ` [PATCH v2 3/4] dt-bindings: phy: qcom,usb-snps-femto-v2: Add SM8250 and SM8350 bindings Jack Pham
2021-01-18 5:05 ` Bjorn Andersson
2021-01-19 15:03 ` Vinod Koul
2021-01-15 17:47 ` [PATCH v2 4/4] dt-bindings: usb: qcom,dwc3: Add bindings for SM8150, SM8250, SM8350 Jack Pham
2021-01-18 5:05 ` Bjorn Andersson
2021-01-18 11:39 ` Felipe Balbi
2021-01-19 15:03 ` 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=YAUWpWfdsmQTXM3s@builder.lan \
--to=bjorn.andersson@linaro.org \
--cc=agross@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jackp@codeaurora.org \
--cc=kishon@ti.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mgautam@codeaurora.org \
--cc=robh+dt@kernel.org \
--cc=vkoul@kernel.org \
--cc=wcheng@codeaurora.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 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.