Re: [PATCH 0/9] arm: dts: qcom: rename DSI PHY nodes

Dmitry Baryshkov
2022-09-24T09:20:37Z

On 24/09/2022 12:11, Krzysztof Kozlowski wrote:
> On 24/09/2022 11:00, Dmitry Baryshkov wrote:
>> Historically DSI PHY device tree nodes used the dsi-phy@ names. Replace
>> them with generic phy@ names.
>>
>> Dmitry Baryshkov (9):
>> ARM: dts: qcom-apq8064: change DSI PHY node name to generic one
>
> dsi-phy is similar to other generic names (usb-phy, ethernet-phy) [1] so
> it could stay. Is there particular need for this, like coming from DT
> schema?

No, there is no requirement from the DT schema. However:
1) The resent qcom DT files already use just phy@ for most of PHY nodes
2) The recommended list mentions usb-phy/ethernet-phy, but not
<anything>-phy, so I'd think that those two are mostly for backwards
compatibility.
3) I liked the example of sc7280 which switched all MDSS PHYs to just
phy@ (this includes DSI PHY, eDP PHY and, by extension, the HDMI PHY).

>
> [1]
> https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
>
>
> Best regards,
> Krzysztof
>

--
With best wishes
Dmitry