[PATCH 7/9] arm64: dts: qcom: sm8150: add USB-C ports to the USB+DP QMP PHY
neil.armstrong at linaro.org
neil.armstrong at linaro.org
Wed Dec 13 09:01:25 UTC 2023
On 11/12/2023 10:50, Konrad Dybcio wrote:
> On 11.12.2023 10:46, Dmitry Baryshkov wrote:
>> On Mon, 11 Dec 2023 at 11:33, Konrad Dybcio <konrad.dybcio at linaro.org> wrote:
>>>
>>> On 10.12.2023 00:21, Dmitry Baryshkov wrote:
>>>> Expand Combo USB+DP QMP PHY device node with the OF ports required to
>>>> support USB-C / DisplayPort switching.
>>>>
>>>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
>>>> ---
>>>> arch/arm64/boot/dts/qcom/sm8150.dtsi | 23 +++++++++++++++++++++++
>>>> 1 file changed, 23 insertions(+)
>>>>
>>>> diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
>>>> index ea7c92c0e405..38423a9f8408 100644
>>>> --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
>>>> +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
>>>> @@ -3447,6 +3447,29 @@ usb_1_qmpphy: phy at 88e8000 {
>>>> #phy-cells = <1>;
>>>>
>>>> status = "disabled";
>>>> +
>>>> + ports {
>>>> + #address-cells = <1>;
>>>> + #size-cells = <0>;
>>>> +
>>>> + port at 0 {
>>>> + reg = <0>;
>>>> + usb_1_qmpphy_out: endpoint {};
>>> style 1
>>>> + };
>>>> +
>>>> + port at 1 {
>>>> + reg = <1>;
>>>> +
>>>> + usb_1_qmpphy_usb_ss_in: endpoint {
>>>> + };
>>> style 2
>>>> + };
>>>> +
>>>> + port at 2 {
>>>> + reg = <2>;
>>>> +
>>>> + usb_1_qmpphy_dp_in: endpoint {};
>>> style 3
>>>
>>> :(
>>
>> Which one should I stick to?
> style 2 seems to be used in 8650
I used style 2 for 8450/8550/8650 usb & dp ports, but the 3 styles are present in the qcom dts.
Neil
>
> Konrad
>
More information about the Freedreno
mailing list