Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7eca0bbe authored by tharun kumar's avatar tharun kumar
Browse files

ARM: dts: msm: Add remote debugger device configuration for sdm845



Adding remote debugger device configuration. The Remote Debugger driver
allows a debugger running on a host PC to communicate with a remote
stub running on peripheral subsystems.

Change-Id: I6a6c251ac7642af85dbd7374374c4a1adfb75b48
Acked-by: default avatarChenna Kesava Raju <chennak@qti.qualcomm.com>
Signed-off-by: default avatarTharun Kumar Merugu <mtharu@codeaurora.org>
parent ba8267ff
Loading
Loading
Loading
Loading
+75 −0
Original line number Diff line number Diff line
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

&soc {
	smp2pgpio_rdbg_2_in: qcom,smp2pgpio-rdbg-2-in {
		compatible = "qcom,smp2pgpio";
		qcom,entry-name = "rdbg";
		qcom,remote-pid = <2>;
		qcom,is-inbound;
		gpio-controller;
		#gpio-cells = <2>;
		interrupt-controller;
		#interrupt-cells = <2>;
	};

	qcom,smp2pgpio_client_rdbg_2_in {
		compatible = "qcom,smp2pgpio_client_rdbg_2_in";
		gpios = <&smp2pgpio_rdbg_2_in 0 0>;
	};

	smp2pgpio_rdbg_2_out: qcom,smp2pgpio-rdbg-2-out {
		compatible = "qcom,smp2pgpio";
		qcom,entry-name = "rdbg";
		qcom,remote-pid = <2>;
		gpio-controller;
		#gpio-cells = <2>;
		interrupt-controller;
		#interrupt-cells = <2>;
	};

	qcom,smp2pgpio_client_rdbg_2_out {
		compatible = "qcom,smp2pgpio_client_rdbg_2_out";
		gpios = <&smp2pgpio_rdbg_2_out 0 0>;
	};

	smp2pgpio_rdbg_1_in: qcom,smp2pgpio-rdbg-1-in {
		compatible = "qcom,smp2pgpio";
		qcom,entry-name = "rdbg";
		qcom,remote-pid = <1>;
		qcom,is-inbound;
		gpio-controller;
		#gpio-cells = <2>;
		interrupt-controller;
		#interrupt-cells = <2>;
	};

	qcom,smp2pgpio_client_rdbg_1_in {
		compatible = "qcom,smp2pgpio_client_rdbg_1_in";
		gpios = <&smp2pgpio_rdbg_1_in 0 0>;
	};

	smp2pgpio_rdbg_1_out: qcom,smp2pgpio-rdbg-1-out {
		compatible = "qcom,smp2pgpio";
		qcom,entry-name = "rdbg";
		qcom,remote-pid = <1>;
		gpio-controller;
		#gpio-cells = <2>;
		interrupt-controller;
		#interrupt-cells = <2>;
	};

	qcom,smp2pgpio_client_rdbg_1_out {
		compatible = "qcom,smp2pgpio_client_rdbg_1_out";
		gpios = <&smp2pgpio_rdbg_1_out 0 0>;
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -639,6 +639,7 @@

#include "msm-gdsc-sdm845.dtsi"
#include "sdm845-sde-pll.dtsi"
#include "msm-rdbg.dtsi"
#include "sdm845-sde.dtsi"
#include "sdm845-sde-display.dtsi"
#include "sdm845-qupv3.dtsi"