I’m looking for several ways to access the GPIO_PU0-6 pins. Mostly to change their output high or low.
Currently, I see linux drivers for the gpio controller 1 but none of the pinmux (pinctrl-tegra124?)other than what found in the devicetree for the Jetson k1 board.
Is there any plans to provide support or I have to write my own way to access it?
My .config has
Pin controllers
CONFIG_PINMUX=y
CONFIG_PINCONF=y
CONFIG_GENERIC_PINCONF=y
CONFIG_DEBUG_PINCTRL is not set
CONFIG_PINCTRL_SINGLE is not set
CONFIG_PINCTRL_TEGRA=y
CONFIG_PINCTRL_TEGRA124=y
CONFIG_PINCTRL_EXYNOS is not set
CONFIG_PINCTRL_EXYNOS5440 is not set
CONFIG_PINCTRL_MAX77660 is not set
CONFIG_PINCTRL_PALMAS=y
CONFIG_PINCTRL_AS3722=y
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
CONFIG_ARCH_REQUIRE_GPIOLIB=y
CONFIG_GPIO_DEVRES=y
CONFIG_GPIOLIB=y
CONFIG_OF_GPIO=y
CONFIG_DEBUG_GPIO=y
CONFIG_GPIO_SYSFS=y
Looking at the tegra124-pm375 device tree does contain the pinmux entries and the drivers for it looks valid but no usable device node. Can’t tell if it is running though, not listed via lsmod.
However, I’m able to access their registers and so far it matches the dts presets.
No idea how to set the value though as there is no field for it according to the TRM.