From 7371da08155cdedec823230f947a5ef774325ee7 Mon Sep 17 00:00:00 2001 From: Xiaoqi Zhuang Date: Tue, 25 Jun 2024 15:32:12 +0800 Subject: [PATCH] ARM: dts: msm: Add audio-qmi dev node for audio_etm0 on monaco On kernel-6.6, QMI feature used by coresight needs to be abstracted as a device. Add audio-qmi dev node for audio_etm0 to support QMI feature. Change-Id: Ie66ef820b6cc7cdaff2cc516753ece87de4f9607 Signed-off-by: Xiaoqi Zhuang --- qcom/monaco-coresight.dtsi | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/qcom/monaco-coresight.dtsi b/qcom/monaco-coresight.dtsi index 13fe8d74..2bf941e0 100644 --- a/qcom/monaco-coresight.dtsi +++ b/qcom/monaco-coresight.dtsi @@ -135,14 +135,39 @@ coresight-name = "coresight-audio-etm0"; atid = <40>; - qcom,inst-id = <5>; + out-ports { - port { + port@0 { + reg = <0>; audio_etm0_out_funnel_lpass: endpoint { remote-endpoint = <&funnel_lpass_in_audio_etm0>; }; }; + + port@1 { + reg = <1>; + audio_etm0_out_qmi: endpoint { + remote-endpoint = + <&qmi_in_audio_etm0>; + }; + }; + }; + }; + + audio-qmi { + compatible = "qcom,coresight-qmi"; + + coresight-name = "coresight-qmi-auido"; + qcom,inst-id = <5>; + + in-ports { + port { + qmi_in_audio_etm0: endpoint { + remote-endpoint = + <&audio_etm0_out_qmi>; + }; + }; }; };