From: Krishna Kurapati <quic_kriskura@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: 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>,
<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 2/2] arm64: dts: qcom: Enable USB controllers for QCS8300
Date: Thu, 10 Oct 2024 21:57:50 +0530 [thread overview]
Message-ID: <41f436be-e75b-41aa-ae75-ab6337a6e51a@quicinc.com> (raw)
In-Reply-To: <iycqvw5ztqufcu3hgtpvrrir2anurjeckgmj6ll6twwsmotxhf@v72pwnmvq6yx>
On 10/10/2024 9:34 PM, Dmitry Baryshkov wrote:
> On Thu, Oct 10, 2024 at 01:26:36AM GMT, Krishna Kurapati wrote:
>> Enable primary USB controller on QCS8300 Ride platform and
>> set the dr mode to peripheral mode.
>>
>> Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
>> ---
>> arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 23 +++++++++++++++++++++++
>> 1 file changed, 23 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts b/arch/arm64/boot/dts/qcom/qcs8300-ride.dts
>> index 7eed19a694c3..3e925228379c 100644
>> --- a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts
>> +++ b/arch/arm64/boot/dts/qcom/qcs8300-ride.dts
>> @@ -265,3 +265,26 @@ &ufs_mem_phy {
>> vdda-pll-supply = <&vreg_l5a>;
>> status = "okay";
>> };
>> +
>> +&usb_1_hsphy {
>> + vdda-pll-supply = <&vreg_l7a>;
>> + vdda18-supply = <&vreg_l7c>;
>> + vdda33-supply = <&vreg_l9a>;
>> +
>> + status = "okay";
>> +};
>> +
>> +&usb_qmpphy {
>> + vdda-phy-supply = <&vreg_l7a>;
>> + vdda-pll-supply = <&vreg_l5a>;
>> +
>> + status = "okay";
>> +};
>> +
>> +&usb_1 {
>> + status = "okay";
>> +};
>> +
>> +&usb_1_dwc3 {
>> + dr_mode = "peripheral";
>
> Is it actually USB peripheral only? Or USB-C which isn't handled yet?
>
It is DRD capable. This platform has Type-A ports. I didn't see any way
of role switching. So I hardcoded it to peripheral like on SA8775P and
SA8540P ride platforms.
Regards,
Krishna,
>> +};
>> --
>> 2.34.1
>>
>
next prev parent reply other threads:[~2024-10-10 16:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-09 19:56 [PATCH 0/2] Add Devicetree support for USB controllers on QCS8300 Krishna Kurapati
2024-10-09 19:56 ` [PATCH 1/2] arm64: dts: qcom: Add support for usb nodes " Krishna Kurapati
2024-10-10 14:22 ` Dmitry Baryshkov
2024-10-10 14:56 ` Krishna Kurapati
2024-10-10 15:12 ` Dmitry Baryshkov
2024-10-10 15:34 ` Krishna Kurapati
2024-10-09 19:56 ` [PATCH 2/2] arm64: dts: qcom: Enable USB controllers for QCS8300 Krishna Kurapati
2024-10-10 16:04 ` Dmitry Baryshkov
2024-10-10 16:27 ` Krishna Kurapati [this message]
2024-10-10 18:06 ` 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=41f436be-e75b-41aa-ae75-ab6337a6e51a@quicinc.com \
--to=quic_kriskura@quicinc.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_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®