I am trying to set gpio immidiatly after power cycle.
I want to do it in u-boot enviormant before kernel loads.
found two possible solutions:
1. use gpio-hog in device tree. so few example how to use in device trees of other boards.
2. setting it in board_init function under board/freescale/imx8mn_evk/imx8mn_evk.c by adding gpio_request gpio_direction_output.
I am using yocto imx-5.15.5-1.0.0 honister and cannot find much information how to do this.
I belive both approaches cannot work together. one will overwrite the other.
which one I should use ?
BR,
Roy
BR,
Roy