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

Commit 363aa310 authored by Madhanraj Chelladurai's avatar Madhanraj Chelladurai Committed by Gerrit - the friendly Code Review server
Browse files

pps: DR_SYNC pulse needs to be connected to Linux PPS driver



DR_SYNC pulse needs to be connected to Linux PPS driver for
GNSS driver to receive pps_event. DR_SYNC pulse is generated
by GSS firmware in modem, GNSS driver needs to receive
pps_event of this pulse to get the kernel timestamp to
synchronize time/data to finer quality.

Change-Id: I1c686fcf6306e890cc0a5c3296cdcaff49282e2f
CRs-Fixed: 1068214
Signed-off-by: default avatarMadhanraj Chelladurai <mchellad@codeaurora.org>
parent cff9fccb
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -2839,5 +2839,19 @@
				bias-pull-down;         /* PULL down */
			};
		};

		pinctrl_pps: ppsgrp {
			mux {
				pins = "gpio128";
				function = "nav_dr";
			};

			config {
				pins =  "gpio128";
				drive-strength = <16>;
				bias-pull-down;
			};
		};

	};
};
+8 −0
Original line number Diff line number Diff line
@@ -4018,6 +4018,14 @@

		qcom,save-reg;
	};

	pps {
		compatible = "pps-gpio";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_pps>;
		gpios = <&tlmm 128 0>;
		status = "okay";
	};
};

&gdsc_venus {