From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Krishna Kurapati <quic_kriskura@quicinc.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Rob Herring <robh@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, quic_ppratap@quicinc.com,
quic_jackp@quicinc.com
Subject: Re: [PATCH v2 1/2] arm64: dts: qcom: Add support for usb nodes on QCS8300
Date: Fri, 25 Oct 2024 20:28:02 +0200 [thread overview]
Message-ID: <297dbc48-4c34-4bac-822c-be3ae2d00d32@oss.qualcomm.com> (raw)
In-Reply-To: <20241011074619.796580-2-quic_kriskura@quicinc.com>
On 11.10.2024 9:46 AM, Krishna Kurapati wrote:
The commit title should include a `qcs8300: ` part, like others in
the directory (see git log --oneline arch/arm64/boot/dts/qcom).
> Add support for USB controllers on QCS8300. The second
> controller is only High Speed capable.
>
> Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
> ---
> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 168 ++++++++++++++++++++++++++
> 1 file changed, 168 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> index 2c35f96c3f28..4e6ba9f49b95 100644
> --- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> @@ -1363,6 +1363,174 @@ IPCC_MPROC_SIGNAL_GLINK_QMP
> qcom,remote-pid = <5>;
> };
> };
> +
> + usb_1_hsphy: phy@8904000 {
> + compatible = "qcom,qcs8300-usb-hs-phy",
> + "qcom,usb-snps-hs-7nm-phy";
> + reg = <0x0 0x8904000 0x0 0x400>;
Please pad the address parts to 8 hex digits with leading zeroes.
> +
> + clocks = <&rpmhcc RPMH_CXO_CLK>;
> + clock-names = "ref";
> +
> + resets = <&gcc GCC_USB2_PHY_PRIM_BCR>;
> +
> + #phy-cells = <0>;
> +
> + status = "disabled";
> + };
> +
> + usb_2_hsphy: phy@8906000 {
> + compatible = "qcom,qcs8300-usb-hs-phy",
> + "qcom,usb-snps-hs-7nm-phy";
> + reg = <0x0 0x08906000 0x0 0x400>;
> +
> + clocks = <&rpmhcc RPMH_CXO_CLK>;
> + clock-names = "ref";
> +
> + resets = <&gcc GCC_USB2_PHY_SEC_BCR>;
> +
> + #phy-cells = <0>;
> +
> + status = "disabled";
> + };
> +
> + usb_qmpphy: phy@8907000 {
> + compatible = "qcom,qcs8300-qmp-usb3-uni-phy";
> + reg = <0x0 0x8907000 0x0 0x2000>;
> +
> + clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
> + <&gcc GCC_USB_CLKREF_EN>,
> + <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>,
> + <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
> + clock-names = "aux", "ref", "com_aux", "pipe";
Please make this a vertical list like in the node below.
[...]
> + interconnects = <&aggre1_noc MASTER_USB3_0 0 &mc_virt SLAVE_EBI1 0>,
QCOM_ICC_TAG_ALWAYS, see x1e80100.dtsi
> + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>;
> + interconnect-names = "usb-ddr", "apps-usb";
> +
> + wakeup-source;
> +
> + status = "disabled";
> +
> + usb_1_dwc3: usb@a600000 {
> + compatible = "snps,dwc3";
> + reg = <0x0 0x0a600000 0x0 0xe000>;
> + interrupts = <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>;
> + iommus = <&apps_smmu 0x80 0x0>;
> + phys = <&usb_1_hsphy>, <&usb_qmpphy>;
> + phy-names = "usb2-phy", "usb3-phy";
> + snps,dis_u2_susphy_quirk;
> + snps,dis_enblslpm_quirk;
That's a very low number of quirks.. Should we have some more?
Should it also be marked dma-coherent?
Identical comments for the second instance.
Konrad
next prev parent reply other threads:[~2024-10-25 18:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-11 7:46 [PATCH v2 0/2] Add Devicetree support for USB controllers " Krishna Kurapati
2024-10-11 7:46 ` [PATCH v2 1/2] arm64: dts: qcom: Add support for usb nodes " Krishna Kurapati
2024-10-25 18:28 ` Konrad Dybcio [this message]
2024-10-26 16:56 ` Krishna Kurapati
2024-10-28 11:38 ` Konrad Dybcio
2024-10-28 14:34 ` Krishna Kurapati
2024-10-11 7:46 ` [PATCH v2 2/2] arm64: dts: qcom: Enable USB controllers for QCS8300 Krishna Kurapati
2024-10-26 17:36 ` Dmitry Baryshkov
2024-10-27 6:29 ` Krishna Kurapati
2024-10-27 17:44 ` Dmitry Baryshkov
2024-10-27 19:02 ` Krishna Kurapati
2024-10-28 8:09 ` Dmitry Baryshkov
2024-10-25 5:17 ` [PATCH v2 0/2] Add Devicetree support for USB controllers on QCS8300 Krishna Kurapati
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=297dbc48-4c34-4bac-822c-be3ae2d00d32@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=quic_jackp@quicinc.com \
--cc=quic_kriskura@quicinc.com \
--cc=quic_ppratap@quicinc.com \
--cc=robh@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
all inboxes | Powered by JetHome®