Hi nvidia team im trying to generate the pps pulse in gpio pin(TEGRA234_MAIN_GPIO(H, 6))
for enery second the pps will generate im using the driver pps_gen_gpio .txt (8.5 KB)
my overla dt is like
pps{
//pinctrl-names = “default”;
//pinctrl-0 = <&pps_gen_pins>;
//compatible = “pps-gen-gpio”;
gpios = <&gpio PPS_GPIO 0>;
compatible = “nvidia,pps-gpio”;
assert-falling-edge;
status = “okay”;
//#pwm-cells = <1>;
//pwms = <&tegra_pwm1 0 33898305>;
//pps-gen-gpio = <&gpio PPS_GPIO 0>;
//default-state = “off”;
};
if i insmod my drive i getting the errors like
for the same dev kit with JP5.1.2 i have configurethe dtb as like this
pps-gen {
pinctrl-names = “default”;
//pinctrl-0 = <&pps_gen_pins>;
compatible = “pps-gen-gpio”;
//#pwm-cells = <1>;
//pwms = <&tegra_pwm1 0 33898305>;
pps-gen-gpio = <&tegra_main_gpio PPS_GPIO 0>;
default-state = “off”;
};