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

Commit 38707df4 authored by Vignesh Viswanathan's avatar Vignesh Viswanathan Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: qcom: Move all WLAN configs out of sdxlemur-mtp-cpe.dtsi

sdxlemur-mtp-cpe.dtsi is included in sdxlemur-mtp-cpe.dts as well as
sdxlemur-mtp-cpe-pine1x.dts. WLAN configs present in
sdxlemur-mtp-cpe.dtsi is not applicable for sdxlemur-mtp-cpe-pine1x.dts.

Move all WLAN specific configurations from sdxlemur-mtp-cpe.dtsi to a
new file sdxlemur-mtp-cpe-hsp.dtsi and include this file in
sdxlemur-mtp-cpe.dts only.

Change-Id: I245662cf6b23dcb3b5c5fc5ce2ac61783b801cdc
parent 9582caf2
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
#include "sdxlemur-cnss.dtsi"

&pcie0 {
	qcom,boot-option = <0x1>;
};

&pcie0_bus2_dev2_fn0 {
	cnss_pci0: cnss_pci0 {
		reg = <0 0 0 0 0>;
		qcom,iommu-group = <&cnss_pci_iommu_group>;
		memory-region = <&cnss_wlan_mem>;

		#address-cells = <1>;
		#size-cells = <1>;
	};
};

&wlan {
	mhi_events {
		mhi_event@0 {
			mhi,num-elements = <32>;
			mhi,intmod = <0>;
			mhi,msi = <1>;
			mhi,priority = <0>;
			mhi,brstmode = <2>;
			mhi,data-type = <1>;
		};

		mhi_event@1 {
			mhi,num-elements = <256>;
			mhi,intmod = <0>;
			mhi,msi = <2>;
			mhi,priority = <1>;
			mhi,brstmode = <2>;
		};

		mhi_event@2 {
			status = "disabled";
		};
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

#include "sdxlemur.dtsi"
#include "sdxlemur-mtp-cpe.dtsi"
#include "sdxlemur-mtp-cpe-hsp.dtsi"
#include "sdxlemur-1024mb-cpe.dtsi"
#include "sdxlemur-audio.dtsi"
#include "sdxlemur-mtp-audio-overlay.dtsi"
+0 −36
Original line number Diff line number Diff line
@@ -91,7 +91,6 @@


&pcie0 {
	qcom,boot-option = <0x1>;
	pcie-i2c-phandle = <&i2c_5>;

	vreg-3p3-supply = <&aqr_vreg>;
@@ -123,14 +122,6 @@
		/* BDF 2.2.0 */
		pcie0_bus2_dev2_fn0: pcie0_bus2_dev2_fn0 {
			reg = <0x1000 0x0 0x0 0x0 0x0>;
			cnss_pci0: cnss_pci0 {
				reg = <0 0 0 0 0>;
				qcom,iommu-group = <&cnss_pci_iommu_group>;
				memory-region = <&cnss_wlan_mem>;

				#address-cells = <1>;
				#size-cells = <1>;
			};
		};

		/* BDF 2.3.0 */
@@ -182,30 +173,3 @@
		};
	};
};

#include "sdxlemur-cnss.dtsi"

&wlan {
	mhi_events {
		mhi_event@0 {
			mhi,num-elements = <32>;
			mhi,intmod = <0>;
			mhi,msi = <1>;
			mhi,priority = <0>;
			mhi,brstmode = <2>;
			mhi,data-type = <1>;
		};

		mhi_event@1 {
			mhi,num-elements = <256>;
			mhi,intmod = <0>;
			mhi,msi = <2>;
			mhi,priority = <1>;
			mhi,brstmode = <2>;
		};

		mhi_event@2 {
			status = "disabled";
		};
	};
};