Hi everyone,
I tied to export the gpio, eg. GPIO1_CAM_PWR (pin F7) of TX2, to user space by claim it as a gpio node in hardware’s device tree, and then exported the port using gpio_request and gpio_export in its driver.
I already know how to export gpio to userspace via /sys/class/gpio. And it is work.I can pull it up and down.So how to expose GPIO node to user space through the device tree.
Thank you.