From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Krishna Kurapati PSSNV <quic_kriskura@quicinc.com>,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@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 10:13:30 +0100 [thread overview]
Message-ID: <acf9dce0-10c3-4ad8-b96a-5f44b6428497@linaro.org> (raw)
In-Reply-To: <62bba89d-97b0-4129-8abe-6025790d9d13@quicinc.com>
On 08/02/2024 10:07, Krishna Kurapati PSSNV wrote:
>>>>
>>>>> 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 ?
>>>>
>>>> Not in probe(), but yes. It needs to be enabled when the VBUS has to
>>>> be powered up, when the device is initialised or switched to the host
>>>> mode, and disabled when the VBUS has to be powered down, if the device
>>>> is being switched to the device mode.
>>>>
>>>
>>> Actually since we never go to device mode, can't we just stick to this
>>> pinctrl approach and skip turning on regulator in driver ?
>>
>> Scroll several emails back. DT should describe the hardware. Hardware
>> has VBUS regulators.
>>
>
> Hi Dmitry,
>
> I dug up the schematic and I see that the gpio's we are using in this
> patch are actually "Enable Pins" to an external chip that provides vbus
> to the peripherals connected. So from the perspective of SoC, it is a
> GPIO and not to be represented as a regulator I believe.
According to such logic nothing is a regulator... sorry, you just
described regulator.
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-02-08 9:13 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
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 [this message]
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=acf9dce0-10c3-4ad8-b96a-5f44b6428497@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--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_kriskura@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®