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
Hello ,
I am trying to enable NVPPS and use external 1PPS to control my camera. I am feeding it via external cable harness pin 68. In my application I am doing the below.
But then again I am not sure of this value "gpios = <&tegra_aon_gpio TEGRA234_AON_GPIO(EE, 6) GPIO_ACTIVE_HIGH>; " How to find the right value for pin 68 of external cable harness?
Yes I referred to this code snippet and we see the below as well.
err = of_get_gpio(np, 0);
if (err == -EPROBE_DEFER) {
return err;
} else if (err < 0) {
dev_warn(&pdev->dev, "PPS GPIO not provided in DT, only Timer mode available\n");
pdev_data->only_timer_mode = true;
} else {
pdev_data->gpio_pin = (unsigned int)err;
dev_info(&pdev->dev, "gpio_pin(%d)\n", pdev_data->gpio_pin);
Our intention is to set pdev_data->only_timer_mode = true; to false ie enter else loop so that the above snippet you shared goes inside if and is set appropriately.
Then again we come back to the same question, a proper entry of gpio pin is needed. I think we both are mostly on the same page. Could you please check internally and help me with the exact TEGRA234_AON_GPIO number .
I couldn’t figure out which is the right pinmux document/header file for drive orin and also the mapping part to external pin. I think I am looking at gp60 from the hardware document, but i don’t see the exact mapping .