On 10/27/25 1:38 PM, Krzysztof Kozlowski wrote: > On 27/10/2025 13:20, Konrad Dybcio wrote: >> On 10/21/25 1:10 PM, Krzysztof Kozlowski wrote: >>> Add necessary DAI links and DAI name prefixes to enable audio playback >>> over USB/DisplayPort and HDMI. The HDMI port is not yet enabled, but it >>> should carry respective DAI name prefix regardless. >>> >>> Signed-off-by: Krzysztof Kozlowski <[email protected]> >>> >>> --- >>> >>> ALSA UCM and audioreach topology will follow up as well. >>> --- >> >> [...] >> >>> &mdss_dp0 { >>> + sound-name-prefix = "DisplayPort0"; >> >> We should probably push this into SoC dtsi since #sound-dai-cells >> is there > > > Hm, that's important for user-space and represents actual naming or > wiring on the board, so it is strictly a board property. IOW, there > could be a board which does not have DP0, thus mdss_dp1 should be called > DP0. > > If you are sure that such case does not exist, then indeed we can make > it shared.
On at least x1e, any of DP012 (not 3) host can be re-routed to any QMPPHY output, at runtime, so I'd rather keep this bound to the DP host index. This is utilized e.g. for USB4 or MST. Or if someone has a fantasy for remapping their PHY<->DP links for no good reason. Konrad
