From: Krishna Kurapati PSSNV <quic_kriskura@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
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: Tue, 6 Feb 2024 17:58:42 +0530 [thread overview]
Message-ID: <0470a930-d629-4467-b619-58d3e76f59a7@quicinc.com> (raw)
In-Reply-To: <CAA8EJpoed-hu4hPXAcwQxmJAaNRwJ2y5q9qybWaPP8bdMnz_oA@mail.gmail.com>
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.
[1]:
https://lore.kernel.org/all/7141c2dd-9dcd-4186-ba83-829fe925e464@linaro.org/
Regards,
Krishna,
>>
>> Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
>> ---
>> arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 49 ++++++++++++++++++++++++
>> 1 file changed, 49 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts
>> index fd253942e5e5..6da444042f82 100644
>> --- a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts
>> +++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts
>> @@ -9,6 +9,7 @@
>> #include <dt-bindings/gpio/gpio.h>
>> #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
>> #include <dt-bindings/spmi/spmi.h>
>> +#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
>>
>> #include "sa8540p.dtsi"
>> #include "sa8540p-pmics.dtsi"
>> @@ -584,6 +585,16 @@ &usb_1_qmpphy {
>> status = "okay";
>> };
>>
>> +&usb_2 {
>> + pinctrl-0 = <&usb2_en>,
>> + <&usb3_en>,
>> + <&usb4_en>,
>> + <&usb5_en>;
>> + pinctrl-names = "default";
>> +
>> + status = "okay";
>> +};
>> +
>> &usb_2_hsphy0 {
>> vdda-pll-supply = <&vreg_l5a>;
>> vdda18-supply = <&vreg_l7g>;
>> @@ -636,6 +647,44 @@ &xo_board_clk {
>>
>> /* PINCTRL */
>>
>> +&pmm8540c_gpios {
>> + usb2_en: usb2-en-state {
>> + pins = "gpio9";
>> + function = "normal";
>> + qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
>> + output-high;
>> + power-source = <0>;
>> + };
>> +};
>> +
>> +&pmm8540e_gpios {
>> + usb3_en: usb3-en-state {
>> + pins = "gpio5";
>> + function = "normal";
>> + qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
>> + output-high;
>> + power-source = <0>;
>> + };
>> +};
>> +
>> +&pmm8540g_gpios {
>> + usb4_en: usb4-en-state {
>> + pins = "gpio5";
>> + function = "normal";
>> + qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
>> + output-high;
>> + power-source = <0>;
>> + };
>> +
>> + usb5_en: usb5-en-state {
>> + pins = "gpio9";
>> + function = "normal";
>> + qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
>> + output-high;
>> + power-source = <0>;
>> + };
>> +};
>> +
>> &tlmm {
>> pcie2a_default: pcie2a-default-state {
>> clkreq-n-pins {
>> --
>> 2.34.1
>>
>>
>
>
next prev parent reply other threads:[~2024-02-06 12:28 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 [this message]
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
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=0470a930-d629-4467-b619-58d3e76f59a7@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®