* [PATCH 1/2] dt-bindings: display/msm: Reference DAI schema for DAI properties
@ 2025-10-21 11:10 Krzysztof Kozlowski
2025-10-21 11:10 ` [PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort Krzysztof Kozlowski
` (3 more replies)
0 siblings, 4 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-21 11:10 UTC (permalink / raw)
To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Kuogee Hsieh, linux-arm-msm, dri-devel, freedreno,
devicetree, linux-kernel
Cc: Krzysztof Kozlowski
DisplayPort nodes are DAIs (Digital Audio Interfaces): they have already
'sound-dai-cells'. Reference the common DAI schema to bring common
properties for them, which allows also customizing DAI name prefix.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/display/msm/dp-controller.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
index aeb4e4f36044..08c273f707c1 100644
--- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
+++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
@@ -198,6 +198,7 @@ allOf:
- qcom,sa8775p-dp
- qcom,x1e80100-dp
then:
+ $ref: /schemas/sound/dai-common.yaml#
oneOf:
- required:
- aux-bus
@@ -295,7 +296,7 @@ allOf:
minItems: 6
maxItems: 8
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.48.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort
2025-10-21 11:10 [PATCH 1/2] dt-bindings: display/msm: Reference DAI schema for DAI properties Krzysztof Kozlowski
@ 2025-10-21 11:10 ` Krzysztof Kozlowski
2025-10-21 11:51 ` Krzysztof Kozlowski
` (2 more replies)
2025-10-26 21:45 ` [PATCH 1/2] dt-bindings: display/msm: Reference DAI schema for DAI properties Rob Herring (Arm)
` (2 subsequent siblings)
3 siblings, 3 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-21 11:10 UTC (permalink / raw)
To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Kuogee Hsieh, linux-arm-msm, dri-devel, freedreno,
devicetree, linux-kernel
Cc: Krzysztof Kozlowski
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 <krzysztof.kozlowski@linaro.org>
---
ALSA UCM and audioreach topology will follow up as well.
---
.../qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 56 +++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
index 654cbce9d6ec..103c4ca97adb 100644
--- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
+++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
@@ -351,6 +351,54 @@ sound {
"VA DMIC1", "VA MIC BIAS1",
"TX SWR_INPUT1", "ADC2_OUTPUT";
+ displayport-0-dai-link {
+ link-name = "DisplayPort0 Playback";
+
+ codec {
+ sound-dai = <&mdss_dp0>;
+ };
+
+ cpu {
+ sound-dai = <&q6apmbedai DISPLAY_PORT_RX_0>;
+ };
+
+ platform {
+ sound-dai = <&q6apm>;
+ };
+ };
+
+ displayport-1-dai-link {
+ link-name = "DisplayPort1 Playback";
+
+ codec {
+ sound-dai = <&mdss_dp1>;
+ };
+
+ cpu {
+ sound-dai = <&q6apmbedai DISPLAY_PORT_RX_1>;
+ };
+
+ platform {
+ sound-dai = <&q6apm>;
+ };
+ };
+
+ displayport-2-dai-link {
+ link-name = "DisplayPort2 Playback";
+
+ codec {
+ sound-dai = <&mdss_dp2>;
+ };
+
+ cpu {
+ sound-dai = <&q6apmbedai DISPLAY_PORT_RX_2>;
+ };
+
+ platform {
+ sound-dai = <&q6apm>;
+ };
+ };
+
wcd-playback-dai-link {
link-name = "WCD Playback";
@@ -1013,6 +1061,8 @@ &mdss {
};
&mdss_dp0 {
+ sound-name-prefix = "DisplayPort0";
+
status = "okay";
};
@@ -1021,6 +1071,8 @@ &mdss_dp0_out {
};
&mdss_dp1 {
+ sound-name-prefix = "DisplayPort1";
+
status = "okay";
};
@@ -1028,6 +1080,10 @@ &mdss_dp1_out {
link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
};
+&mdss_dp2 {
+ sound-name-prefix = "DisplayPort2";
+};
+
&mdss_dp3 {
/delete-property/ #sound-dai-cells;
--
2.48.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort
2025-10-21 11:10 ` [PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort Krzysztof Kozlowski
@ 2025-10-21 11:51 ` Krzysztof Kozlowski
2025-10-21 14:16 ` Abel Vesa
2025-10-27 12:20 ` Konrad Dybcio
2 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-21 11:51 UTC (permalink / raw)
To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Kuogee Hsieh, linux-arm-msm, dri-devel, freedreno,
devicetree, linux-kernel
On 21/10/2025 13:10, 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 <krzysztof.kozlowski@linaro.org>
>
> ---
>
> ALSA UCM and audioreach topology will follow up as well.
Also, in case keeping both patches in one patchset was not obvious:
The first patch is needed to avoid dtbs_check warning, thus there is no
strict dependency and patches should go via different trees, however DTS
patch should reach next once binding hits it.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort
2025-10-21 11:10 ` [PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort Krzysztof Kozlowski
2025-10-21 11:51 ` Krzysztof Kozlowski
@ 2025-10-21 14:16 ` Abel Vesa
2025-10-27 12:20 ` Konrad Dybcio
2 siblings, 0 replies; 10+ messages in thread
From: Abel Vesa @ 2025-10-21 14:16 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Kuogee Hsieh, linux-arm-msm, dri-devel, freedreno,
devicetree, linux-kernel
On 25-10-21 13:10:52, 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 <krzysztof.kozlowski@linaro.org>
>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display/msm: Reference DAI schema for DAI properties
2025-10-21 11:10 [PATCH 1/2] dt-bindings: display/msm: Reference DAI schema for DAI properties Krzysztof Kozlowski
2025-10-21 11:10 ` [PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort Krzysztof Kozlowski
@ 2025-10-26 21:45 ` Rob Herring (Arm)
2025-11-04 3:08 ` Bjorn Andersson
2025-11-14 14:26 ` Dmitry Baryshkov
3 siblings, 0 replies; 10+ messages in thread
From: Rob Herring (Arm) @ 2025-10-26 21:45 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Marijn Suijten, Simona Vetter, Thomas Zimmermann, Jessica Zhang,
Abhinav Kumar, Maxime Ripard, Sean Paul, Maarten Lankhorst,
linux-kernel, David Airlie, Rob Clark, linux-arm-msm,
Bjorn Andersson, Kuogee Hsieh, Krzysztof Kozlowski, devicetree,
freedreno, Conor Dooley, Dmitry Baryshkov, dri-devel,
Konrad Dybcio
On Tue, 21 Oct 2025 13:10:51 +0200, Krzysztof Kozlowski wrote:
> DisplayPort nodes are DAIs (Digital Audio Interfaces): they have already
> 'sound-dai-cells'. Reference the common DAI schema to bring common
> properties for them, which allows also customizing DAI name prefix.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> .../devicetree/bindings/display/msm/dp-controller.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort
2025-10-21 11:10 ` [PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort Krzysztof Kozlowski
2025-10-21 11:51 ` Krzysztof Kozlowski
2025-10-21 14:16 ` Abel Vesa
@ 2025-10-27 12:20 ` Konrad Dybcio
2025-10-27 12:38 ` Krzysztof Kozlowski
2 siblings, 1 reply; 10+ messages in thread
From: Konrad Dybcio @ 2025-10-27 12:20 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Clark, Dmitry Baryshkov, Abhinav Kumar,
Jessica Zhang, Sean Paul, Marijn Suijten, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio, Kuogee Hsieh,
linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
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 <krzysztof.kozlowski@linaro.org>
>
> ---
>
> 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
Konrad
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort
2025-10-27 12:20 ` Konrad Dybcio
@ 2025-10-27 12:38 ` Krzysztof Kozlowski
2025-10-27 12:43 ` Konrad Dybcio
0 siblings, 1 reply; 10+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-27 12:38 UTC (permalink / raw)
To: Konrad Dybcio, Rob Clark, Dmitry Baryshkov, Abhinav Kumar,
Jessica Zhang, Sean Paul, Marijn Suijten, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio, Kuogee Hsieh,
linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
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 <krzysztof.kozlowski@linaro.org>
>>
>> ---
>>
>> 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.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort
2025-10-27 12:38 ` Krzysztof Kozlowski
@ 2025-10-27 12:43 ` Konrad Dybcio
0 siblings, 0 replies; 10+ messages in thread
From: Konrad Dybcio @ 2025-10-27 12:43 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Clark, Dmitry Baryshkov, Abhinav Kumar,
Jessica Zhang, Sean Paul, Marijn Suijten, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio, Kuogee Hsieh,
linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
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 <krzysztof.kozlowski@linaro.org>
>>>
>>> ---
>>>
>>> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display/msm: Reference DAI schema for DAI properties
2025-10-21 11:10 [PATCH 1/2] dt-bindings: display/msm: Reference DAI schema for DAI properties Krzysztof Kozlowski
2025-10-21 11:10 ` [PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort Krzysztof Kozlowski
2025-10-26 21:45 ` [PATCH 1/2] dt-bindings: display/msm: Reference DAI schema for DAI properties Rob Herring (Arm)
@ 2025-11-04 3:08 ` Bjorn Andersson
2025-11-14 14:26 ` Dmitry Baryshkov
3 siblings, 0 replies; 10+ messages in thread
From: Bjorn Andersson @ 2025-11-04 3:08 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio, Kuogee Hsieh,
linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On Tue, Oct 21, 2025 at 01:10:51PM +0200, Krzysztof Kozlowski wrote:
> DisplayPort nodes are DAIs (Digital Audio Interfaces): they have already
> 'sound-dai-cells'. Reference the common DAI schema to bring common
> properties for them, which allows also customizing DAI name prefix.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Regards,
Bjorn
> ---
> .../devicetree/bindings/display/msm/dp-controller.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
> index aeb4e4f36044..08c273f707c1 100644
> --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
> +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
> @@ -198,6 +198,7 @@ allOf:
> - qcom,sa8775p-dp
> - qcom,x1e80100-dp
> then:
> + $ref: /schemas/sound/dai-common.yaml#
> oneOf:
> - required:
> - aux-bus
> @@ -295,7 +296,7 @@ allOf:
> minItems: 6
> maxItems: 8
>
> -additionalProperties: false
> +unevaluatedProperties: false
>
> examples:
> - |
> --
> 2.48.1
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display/msm: Reference DAI schema for DAI properties
2025-10-21 11:10 [PATCH 1/2] dt-bindings: display/msm: Reference DAI schema for DAI properties Krzysztof Kozlowski
` (2 preceding siblings ...)
2025-11-04 3:08 ` Bjorn Andersson
@ 2025-11-14 14:26 ` Dmitry Baryshkov
3 siblings, 0 replies; 10+ messages in thread
From: Dmitry Baryshkov @ 2025-11-14 14:26 UTC (permalink / raw)
To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Kuogee Hsieh, linux-arm-msm, dri-devel, freedreno,
devicetree, linux-kernel, Krzysztof Kozlowski
On Tue, 21 Oct 2025 13:10:51 +0200, Krzysztof Kozlowski wrote:
> DisplayPort nodes are DAIs (Digital Audio Interfaces): they have already
> 'sound-dai-cells'. Reference the common DAI schema to bring common
> properties for them, which allows also customizing DAI name prefix.
>
>
Applied to msm-next, thanks!
[1/2] dt-bindings: display/msm: Reference DAI schema for DAI properties
https://gitlab.freedesktop.org/lumag/msm/-/commit/a4b9c1acf401
[2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort
(no commit info)
Best regards,
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2025-11-14 14:26 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-21 11:10 [PATCH 1/2] dt-bindings: display/msm: Reference DAI schema for DAI properties Krzysztof Kozlowski
2025-10-21 11:10 ` [PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: Add audio playback over DisplayPort Krzysztof Kozlowski
2025-10-21 11:51 ` Krzysztof Kozlowski
2025-10-21 14:16 ` Abel Vesa
2025-10-27 12:20 ` Konrad Dybcio
2025-10-27 12:38 ` Krzysztof Kozlowski
2025-10-27 12:43 ` Konrad Dybcio
2025-10-26 21:45 ` [PATCH 1/2] dt-bindings: display/msm: Reference DAI schema for DAI properties Rob Herring (Arm)
2025-11-04 3:08 ` Bjorn Andersson
2025-11-14 14:26 ` Dmitry Baryshkov
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®