diff --git a/Documentation/devicetree/bindings/nvpps/nvpps.txt b/Documentation/devicetree/bindings/nvpps/nvpps.txt index 805766d7..73864045 100644 --- a/Documentation/devicetree/bindings/nvpps/nvpps.txt +++ b/Documentation/devicetree/bindings/nvpps/nvpps.txt @@ -47,6 +47,11 @@ Optional properties: Valid range is from 100ms to 1000ms. This property determines how often the driver collects timestamp data. If this property is not specified, the driver will collect timestamps every 1000ms(1s) by default. +- nvpps-event-mode-init: Optional property that specifies the initial operating mode of the NvPPS driver. + Valid values are 1 (GPIO mode) and 2 (TIMER mode). If this property is not + specified, the default mode is determined based on the presence of the + nvpps-gpios property - GPIO mode becomes the default when nvpps-gpios is + specified, otherwise TIMER mode is used as the default. Example: Timer mode on Orin. @@ -100,6 +105,7 @@ nvpps { nvpps-gpios = <&gpio_aon TEGRA234_AON_GPIO(BB, 0) GPIO_ACTIVE_HIGH>; timestamps = <&hte_aon TEGRA234_AON_GPIO(BB, 0)>; timestamp-names = "nvpps_gpio"; + nvpps-event-mode-init = <1>; /* 1 for GPIO mode, 2 for TIMER mode */ }; @@ -117,4 +123,5 @@ nvpps { ptp_tsc_lock_threshold = /bits/ 16 <0x26C>; ptp_tsc_sync_dis; ts-capture-interval = <1000>; + nvpps-event-mode-init = <2>; /* 1 for GPIO mode, 2 for TIMER mode */ };