Trace sinks may have a parameter added marking them as a principal sink for automatic sink selection while tracing.
The best sink to be used in this way is topology and board dependent so a boolean device tree parameter is used.
This patch adds principal sink selection for: 1) Arm Juno platform 2) Qualcomm Dragonboard DB410c (MSM8916) platforms
Signed-off-by: Mike Leach mike.leach@linaro.org --- arch/arm64/boot/dts/arm/juno-base.dtsi | 1 + arch/arm64/boot/dts/qcom/msm8916.dtsi | 1 + 2 files changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi index d65b4e949ef0..0553af4486e8 100644 --- a/arch/arm64/boot/dts/arm/juno-base.dtsi +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi @@ -205,6 +205,7 @@ clock-names = "apb_pclk"; power-domains = <&scpi_devpd 0>; arm,scatter-gather; + arm,principal-sink; in-ports { port { etr_in_port: endpoint { diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 194d5e45f4e5..e0bdf378739e 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -1337,6 +1337,7 @@
clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; clock-names = "apb_pclk", "atclk"; + arm,principal-sink;
in-ports { port {