Disable ptp-tsc sync / nvppsAnswer Accepted

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.3.10904
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

In the file:

/drive/drive-linux/kernel/source/hardware/nvidia/platform/t23x/automotive/kernel-dts/p3710/common/tegra234-p3710-0010.dtsi

We alter this section to control fsync frequency and duty cycle:

                /* EDGE_OUT #0 */
                gen0: generator@380 {
                        reg = <0x380 0x80>;
                        freq_hz = <18>;
                        duty_cycle = <82>;
                        offset_ms = <0>;
                        status = "okay";
                };

Scrolling down a little further, I noticed this:

        nvpps {
                compatible = "nvidia,tegra194-nvpps";
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x0 0xc6a0104 0x0 0x118>;
                interface = "mgbe2_0";
                sec_interface = "eqos_0";
                status = "disabled";   <------????
        };

I thought nvpps was enabled by default? Does this mean it is not? This document makes no mention of a status parameter:

<top>/drive-linux/kernel/source/oss_src/nvidia-oot/Documentation/devicetree/bindings/nvpps/nvpps.txt

It doesn’t matter. It seems that nvpps_main.c doesn’t check the value of the “status” property. However, if you suspect that changing the status property to “okay” might have an effect, you can certainly try it out.

Cool - settings that aren’t mentioned in the docs make me nervous.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.