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

Commit ae436e1a authored by Gustavo Solaira's avatar Gustavo Solaira
Browse files

ARM: dts: msm: Set CAN pinctrl as a hog for msm8996-cv2x



Set CAN pinctrl as output-high by default on boot
by setting as a hog. This is needed for bringing CAN
out of reset earlier.

Change-Id: I084b1425bb5f7351668b0190624b30551df8b936
Signed-off-by: default avatarGustavo Solaira <gustavos@codeaurora.org>
parent 1e1f5e57
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -182,7 +182,6 @@
		spi-max-frequency = <9600000>;
		interrupt-parent = <&tlmm>;
		interrupts = <78 2>;
		qcom,reset-gpio = <&tlmm 71 GPIO_ACTIVE_LOW>;
		qcom,clk-freq-mhz = <20000000>;
		qcom,max-can-channels = <2>;
		qcom,bits-per-word = <8>;
@@ -190,9 +189,6 @@
		qcom,can-fw-cmd-timeout-req;
		qcom,can-fw-cmd-timeout-ms = <400>;
		qcom,rem-all-buffering-timeout-ms = <2000>;
		pinctrl-names = "active", "sleep";
		pinctrl-0 = <&can_rst_on>;
		pinctrl-1 = <&can_rst_off>;
	};
};

@@ -584,3 +580,14 @@
		qcom,therm-reset-temp = <119>;
	};
};

&tlmm {
	pinctrl-names = "default";
	pinctrl-0 = <&can_rst_on>;
};

&can_rst_on {
	config {
		output-high;
	};
};