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

Commit 6d4e448d authored by David Collins's avatar David Collins
Browse files

ARM: dts: qcom: add Glink SPMI debug controller device for Lahaina

Add a Glink SPMI debug controller device which can be used to
read and write PMIC registers over PMIC Glink using a remote
subsytem (e.g. DSP).

Change-Id: Ie17f008a20c938da96f3bb2f9e6100618fa4626a
parent 63a440fe
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -8,6 +8,10 @@
	status = "ok";
};

&spmi_glink_debug {
	status = "ok";
};

&soc {
	gpio_keys {
		compatible = "gpio-keys";
+4 −0
Original line number Diff line number Diff line
@@ -8,6 +8,10 @@
	status = "ok";
};

&spmi_glink_debug {
	status = "ok";
};

&soc {
	gpio_keys {
		compatible = "gpio-keys";
+8 −0
Original line number Diff line number Diff line
@@ -7,6 +7,14 @@
	status = "ok";
};

&spmi_glink_debug {
	status = "ok";
};

&smb1398_debug {
	status = "ok";
};

&soc {
	gpio_keys {
		compatible = "gpio-keys";
+46 −0
Original line number Diff line number Diff line
@@ -3131,6 +3131,52 @@
		qcom,battery_debug {
			compatible = "qcom,battery-debug";
		};

		spmi_glink_debug: qcom,spmi_glink_debug {
			compatible = "qcom,spmi-glink-debug";
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";

			/* Primary SPMI bus */
			spmi@0 {
				reg = <0>;
				#address-cells = <2>;
				#size-cells = <0>;

				qcom,pm8350b-debug@3 {
					compatible = "qcom,spmi-pmic";
					reg = <0x3 SPMI_USID>;
					qcom,can-sleep;
				};
			};

			/* Secondary (QUP) SPMI bus */
			spmi@1 {
				reg = <1>;
				#address-cells = <2>;
				#size-cells = <0>;

				qcom,smb1396-debug@b {
					compatible = "qcom,spmi-pmic";
					reg = <0xb SPMI_USID>;
					qcom,can-sleep;
				};

				qcom,smb1396-debug@c {
					compatible = "qcom,spmi-pmic";
					reg = <0xc SPMI_USID>;
					qcom,can-sleep;
				};

				smb1398_debug: qcom,smb1398-debug@d {
					compatible = "qcom,spmi-pmic";
					reg = <0xd SPMI_USID>;
					qcom,can-sleep;
					status = "disabled";
				};
			};
		};
	};

	bluetooth: bt_qca6490 {