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 v2 2/2] arm64: dts: qcom: Enable USB controllers for QCS8300
Date: Sun, 27 Oct 2024 11:59:44 +0530 [thread overview]
Message-ID: <720aa372-a04b-4b0f-b2da-3be37a319ec9@quicinc.com> (raw)
In-Reply-To: <xijjs445fzeuzbj2bg3ziwlzenrk4wo5zlyze4j5mldb444oj7@73ynic4xqfdj>
On 10/26/2024 11:06 PM, Dmitry Baryshkov wrote:
> On Fri, Oct 11, 2024 at 01:16:19PM +0530, Krishna Kurapati wrote:
>> Enable primary USB controller on QCS8300 Ride platform. The primary USB
>> controller is made "peripheral", as this is intended to be connected to
>> a host for debugging use cases.
>>
>> 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";
>> +};
>
> So, can it be used as a USB host controller / connector? What needs to
> be done in such a case?
>
Adding vbus boost pinctrl and changing dr_mode to host must be enough
for this case.
Regards,
Krishna,
next prev parent reply other threads:[~2024-10-27 6:30 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 on QCS8300 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
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 [this message]
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=720aa372-a04b-4b0f-b2da-3be37a319ec9@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®