From: Krishna Kurapati PSSNV <quic_kriskura@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>,
Bjorn Andersson <andersson@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/3] arm64: dts: qcom: sa8295p: Enable tertiary controller and its 4 USB ports
Date: Thu, 8 Feb 2024 08:10:10 +0530 [thread overview]
Message-ID: <fd4f4cc8-3366-485b-b540-b05ef59dd5d4@quicinc.com> (raw)
In-Reply-To: <CAA8EJppJAdHXoVs_2VqQf=_Wk_LoEcNMY2H-Xzqu8KzeaN8i0g@mail.gmail.com>
On 2/6/2024 6:54 PM, Dmitry Baryshkov wrote:
> On Tue, 6 Feb 2024 at 14:28, Krishna Kurapati PSSNV
> <quic_kriskura@quicinc.com> wrote:
>>
>>
>>
>> On 2/6/2024 5:43 PM, Dmitry Baryshkov wrote:
>>> On Tue, 6 Feb 2024 at 14:03, Krishna Kurapati <quic_kriskura@quicinc.com> wrote:
>>>>
>>>> Enable tertiary controller for SA8295P (based on SC8280XP).
>>>> Add pinctrl support for usb ports to provide VBUS to connected peripherals.
>>>
>>> These are not just pinctrl entries. They hide VBUS regulators. Please
>>> implement them properly as corresponding vbus regulators.
>>>
>>
>> Hi Dmitry. Apologies, can you elaborate on your comment. I thought this
>> implementation was fine as Konrad reviewed it in v13 [1]. I removed his
>> RB tag as I made one change of dropping "_state" in labels.
>
> My comment is pretty simple: if I'm not mistaken, your DT doesn't
> reflect your hardware design.
> You have actual VBUS regulators driven by these GPIO pins. Is this correct?
> If so, you should describe them properly in the device tree rather
> than describing them just as USB host's pinctrl state.
>
Hi Dmitry,
I have very little idea about the gpio controller regulators. I will
go through it and see how I can implement it. I just found this :
https://www.kernel.org/doc/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
One query. If we model it as a regulator, do we need to add it as a
supply and call regulator_enable in dwc3_qcom probe again ?
Regards,
Krishna,
next prev parent reply other threads:[~2024-02-08 2:40 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-06 11:47 [PATCH 0/3] Add DT support for Multiport controller on SC8280XP Krishna Kurapati
2024-02-06 11:47 ` [PATCH 1/3] arm64: dts: qcom: sc8280xp: Add multiport controller node for SC8280 Krishna Kurapati
2024-02-06 11:47 ` [PATCH 2/3] arm64: dts: qcom: sa8295p: Enable tertiary controller and its 4 USB ports Krishna Kurapati
2024-02-06 12:13 ` Dmitry Baryshkov
2024-02-06 12:28 ` Krishna Kurapati PSSNV
2024-02-06 13:24 ` Dmitry Baryshkov
2024-02-08 2:40 ` Krishna Kurapati PSSNV [this message]
2024-02-08 4:41 ` Dmitry Baryshkov
2024-02-08 4:48 ` Krishna Kurapati PSSNV
2024-02-08 5:07 ` Dmitry Baryshkov
2024-02-08 9:07 ` Krishna Kurapati PSSNV
2024-02-08 9:13 ` Krzysztof Kozlowski
2024-02-09 2:41 ` Bjorn Andersson
2024-02-09 5:15 ` Krishna Kurapati PSSNV
2024-02-06 11:47 ` [PATCH 3/3] arm64: dts: qcom: sa8540-ride: Enable first port of tertiary usb controller Krishna Kurapati
2024-02-06 13:27 ` neil.armstrong
2024-02-06 13:30 ` Dmitry Baryshkov
2024-02-07 0:09 ` Andrew Halaney
2024-02-07 1:32 ` Dmitry Baryshkov
2024-02-08 17:14 ` Andrew Halaney
2024-02-10 10:43 ` Krishna Kurapati PSSNV
2024-02-10 11:30 ` Dmitry Baryshkov
2024-02-12 19:17 ` Andrew Halaney
2024-02-13 5:11 ` Krishna Kurapati PSSNV
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=fd4f4cc8-3366-485b-b540-b05ef59dd5d4@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=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.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+dt@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®