From dc8994ff511aaf321c69170665b5bfffecf07630 Mon Sep 17 00:00:00 2001 From: Xiaoqi Zhuang Date: Tue, 25 Jun 2024 15:38:49 +0800 Subject: [PATCH] ARM: dts: msm: Add modem-qmi dev node for modem_etm0 on monaco On kernel-6.6, QMI feature used by coresight needs to be abstracted as a device. Add modem-qmi dev node for modem_etm0 to support QMI feature. Change-Id: I2b56be596208f88353e5cf1a89751f7760c89851 Signed-off-by: Xiaoqi Zhuang --- qcom/monaco-coresight.dtsi | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/qcom/monaco-coresight.dtsi b/qcom/monaco-coresight.dtsi index 2bf941e0..9bf758a1 100644 --- a/qcom/monaco-coresight.dtsi +++ b/qcom/monaco-coresight.dtsi @@ -511,15 +511,39 @@ coresight-name = "coresight-modem-etm0"; atid = <36>; - qcom,inst-id = <2>; out-ports { - port { + port@0 { + reg = <0>; modem_etm0_out_funnel_in1: endpoint { remote-endpoint = <&funnel_in1_in_modem_etm0>; }; }; + + port@1 { + reg = <1>; + modem_etm0_out_qmi: endpoint { + remote-endpoint = + <&qmi_in_modem_etm0>; + }; + }; + }; + }; + + modem-qmi { + compatible = "qcom,coresight-qmi"; + + coresight-name = "coresight-qmi-modem"; + qcom,inst-id = <2>; + + in-ports { + port { + qmi_in_modem_etm0: endpoint { + remote-endpoint = + <&modem_etm0_out_qmi>; + }; + }; }; };