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

Commit fb7acb3f authored by rbandi's avatar rbandi Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Adding external VR viewer support for sxr1130



This is needed to support external VR viewers
on sxr1130 target and smp2p support in hid-qvr driver.

Change-Id: I57d1b8c8585cae1357156de1cf54c0020531a63c
Signed-off-by: default avatarRohit Bandi <rohitbandi@codeaurora.org>
parent 127f7ad3
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. HID QVR (hid-qvr) driver

Required properties:
-compatible :
	To communicate with cdsp
		qcom,smp2pgpio-qvrexternal-5-out (outbound)
		qcom,smp2pgpio-qvrexternal-5-in (inbound)

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

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

	qcom,smp2pgpio_client_qvrexternal_5_out {
			compatible = "qcom,smp2pgpio_client_qvrexternal_5_out";
			gpios = <&smp2pgpio_qvrexternal_5_out 0 0>;
	};

	qcom,smp2pgpio_client_qvrexternal_5_in {
			compatible = "qcom,smp2pgpio_client_qvrexternal_5_in";
			gpios = <&smp2pgpio_qvrexternal_5_in 0 0>;
	}
 No newline at end of file
+44 −0
Original line number Diff line number Diff line
/* Copyright (c) 2018, 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_qvrexternal_5_in: qcom,smp2pgpio-qvrexternal-5-in {
			compatible = "qcom,smp2pgpio";
			qcom,entry-name = "qvrexternal";
			qcom,remote-pid = <5>;
			qcom,is-inbound;
			gpio-controller;
			#gpio-cells = <2>;
			interrupt-controller;
			#interrupt-cells = <2>;
	};

	qcom,smp2pgpio_client_qvrexternal_5_in {
			compatible = "qcom,smp2pgpio_client_qvrexternal_5_in";
			gpios = <&smp2pgpio_qvrexternal_5_in 0 0>;
	};

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

	qcom,smp2pgpio_client_qvrexternal_5_out {
			compatible = "qcom,smp2pgpio_client_qvrexternal_5_out";
			gpios = <&smp2pgpio_qvrexternal_5_out 0 0>;
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
 */

#include "qcs605.dtsi"
#include "msm-qvr-external.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SXR1130";