mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 10:20:17 -04:00
arm64: dts: qcom: qcm6490-fairphone-fp5: Add DisplayPort sound support
Add the required nodes for sound playback via a connected external display (DisplayPort over USB-C). In user space just the following route needs to be set (e.g. using ALSA UCM): amixer -c0 cset name='DISPLAY_PORT_RX Audio Mixer MultiMedia1' 1 Afterwards one can play audio on the MultiMedia1 sound device, e.g.: aplay -D plughw:0,0 test.wav Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Link: https://lore.kernel.org/r/20250507-fp5-dp-sound-v4-5-4098e918a29e@fairphone.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
b033426974
commit
8fc88fbd47
@@ -14,6 +14,8 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
||||
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
|
||||
#include <dt-bindings/sound/qcom,q6asm.h>
|
||||
#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
|
||||
#include "sc7280.dtsi"
|
||||
#include "pm7250b.dtsi"
|
||||
#include "pm7325.dtsi"
|
||||
@@ -1147,6 +1149,35 @@ &sdhc_2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sound {
|
||||
compatible = "fairphone,fp5-sndcard";
|
||||
model = "Fairphone 5";
|
||||
|
||||
mm1-dai-link {
|
||||
link-name = "MultiMedia1";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
|
||||
};
|
||||
};
|
||||
|
||||
displayport-rx-dai-link {
|
||||
link-name = "DisplayPort Playback";
|
||||
|
||||
codec {
|
||||
sound-dai = <&mdss_dp>;
|
||||
};
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6afedai DISPLAY_PORT_RX>;
|
||||
};
|
||||
|
||||
platform {
|
||||
sound-dai = <&q6routing>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi13 {
|
||||
status = "okay";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user