From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Bjorn Andersson <quic_bjorande@quicinc.com>
Cc: Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/4] arm64: dts: qcom: sc8280xp-crd: Introduce pmic_glink
Date: Wed, 8 Feb 2023 19:19:28 +0100 [thread overview]
Message-ID: <e1f2a712-c4d1-2cb7-bbb2-e9e1c42e7f7f@linaro.org> (raw)
In-Reply-To: <20230208180007.GB2397622@hu-bjorande-lv.qualcomm.com>
On 8.02.2023 19:00, Bjorn Andersson wrote:
> On Wed, Feb 08, 2023 at 05:40:44PM +0100, Konrad Dybcio wrote:
>> On 8.02.2023 16:57, Bjorn Andersson wrote:
>>> On Wed, Feb 08, 2023 at 09:14:46AM +0100, Konrad Dybcio wrote:
>>>> On 8.02.2023 04:46, Bjorn Andersson wrote:
> [..]
>>>>> &usb_0_dwc3 {
>>>>> - /* TODO: Define USB-C connector properly */
>>>>> dr_mode = "host";
>>>>> +
>>>>> + port {
>>>>> + usb_0_role_switch: endpoint {
>>>>> + remote-endpoint = <&pmic_glink_con0_hs>;
>>>>> + };
>>>> This should be defined in the SoC DTSI, it's a standard dwc3 binding
>>>> with usb HS / SS / SBU ports. Especially since we can feed the endpoint
>>>> from any device now, as pmic-glink should work everywhere.
>>>>
>>>
>>> The sa8295p/sa8540p boards, derived from sc8280xp does not implement
>>> pmic_glink, so it seems moving this to the soc.dtsi would be messy.
>>>
>>>> Or /omit-if-no-ref/, I suppose.
>>>>
>>>
>>> Or you're saying I should put the skeleton of the port definition in the
>>> soc.dtsi and then fill it out the remote-endpoint here; and mark it
>>> omit-if-no-ref to avoid binding warnings?
>> I thought omit-if-no-ref actually omits the node before resolving phandles
>> that it references, but it seems to not be the case.. Still, we can define
>> the ports in the SoC DTSI and assign endpoints per-device (like we do with
>> DSI for example).
>>
>
> You mean move the lines:
>
> port {
> usb_0_role_switch: endpoint {
> };
> };
>
> to sc8280xp.dtsi and then do:
>
> &usb_0_role_switch {
> remote-endpoint = <&pmic_glink_con0_hs>;
> };
>
> here?
Correct
Konrad
>
> Regards,
> Bjorn
next prev parent reply other threads:[~2023-02-08 18:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-08 3:46 [PATCH 0/4] arm64: dts: qcom: sc8280xp: Enable external display Bjorn Andersson
2023-02-08 3:46 ` [PATCH 1/4] arm64: dts: qcom: sc8280xp: Add USB-C-related DP blocks Bjorn Andersson
2023-02-10 14:04 ` Konrad Dybcio
2023-02-08 3:46 ` [PATCH 2/4] arm64: dts: qcom: sc8280xp-crd: Introduce pmic_glink Bjorn Andersson
2023-02-08 8:14 ` Konrad Dybcio
2023-02-08 15:57 ` Bjorn Andersson
2023-02-08 16:40 ` Konrad Dybcio
2023-02-08 18:00 ` Bjorn Andersson
2023-02-08 18:19 ` Konrad Dybcio [this message]
2023-02-08 3:46 ` [PATCH 3/4] arm64: dts: qcom: sc8280xp-x13s: Enable external display Bjorn Andersson
2023-02-08 3:46 ` [PATCH 4/4] arm64: defconfig: Enable DisplayPort on SC8280XP laptops Bjorn Andersson
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=e1f2a712-c4d1-2cb7-bbb2-e9e1c42e7f7f@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=quic_bjorande@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=will@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