Tool/software: Linux
I would like to be able to set a default GPIO state in the device tree, and I would also like to easily change the output after the system boots. I'm able to use the gpio-hog property to set the initial output, but I am unable to modify its value after boot up by using sysfs. Is there another method of initializing a GPIO's output in the device tree? Or after the gpio-hog property is used in a gpio node, is there a way to modify the output after boot?