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

Commit c19169f4 authored by Sarada Prasanna Garnayak's avatar Sarada Prasanna Garnayak Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add cnss platform driver support for mdm9640



The cnss platform driver adds support for wlan host driver
wlan card power up, subsystem restart, bus registration,
bus scaling and export symbol etc.

CRs-Fixed: 1026958
Change-Id: Ib17c8b08966e36c5e72c35485dab32d1c173cae8
Signed-off-by: default avatarSarada Prasanna Garnayak <sgarna@codeaurora.org>
parent 48f705c3
Loading
Loading
Loading
Loading
+13 −10
Original line number Diff line number Diff line
@@ -1368,7 +1368,8 @@
		};

		/* cnss_pmux */
		cnss_pmux:cnss_pmux {
		cnss_pmux {
			cnss_default: default {
				mux {
					pins = "gpio95";
					function = "gpio";
@@ -1377,8 +1378,10 @@
				config {
					pins = "gpio95";
					function = "gpio";
				drive-strength = <10>;
				bias-disable;
					drive-strength = <16>;
					output-high;
					bias-pull-up;
				};
			};
		};
	};
+22 −0
Original line number Diff line number Diff line
@@ -793,6 +793,28 @@
		};
	};

	qcom,cnss {
		compatible = "qcom,cnss";
		wlan-en-gpio = <&tlmm_pinmux 95 0>;
		vdd-wlan-supply = <&wlan_vreg>;
		vdd-wlan-io-supply = <&pmd9635_l6>;
		vdd-wlan-sp2t-supply = <&pmd9635_l12>;
		qcom,notify-modem-status;
		pinctrl-names = "default";
		pinctrl-0 = <&cnss_default>;
		qcom,wlan-rc-num = <0>;
		qcom,wlan-ramdump-dynamic = <0x200000>;

		qcom,msm-bus,name = "msm-cnss";
		qcom,msm-bus,num-cases = <4>;
		qcom,msm-bus,num-paths = <1>;
		qcom,msm-bus,vectors-KBps =
			<45 512 0 0>,			/* No vote */
			<45 512 42252 655360>,		/* Upto 200 Mbps */
			<45 512 98572 655360>,		/* Upto 400 Mbps */
			<45 512 211212 1146880>;	/* Upto 800 Mbps */
	};

	qcom,msm-thermal {
		compatible = "qcom,msm-thermal";
		qcom,sensor-id = <0>;