Hi,
I am using imx8mp processor
Two leds connected to uart4 (Rx and Tx) respectively on gpio5. They are configure in dts file.
After building and uploaded image the led-1 and led-2 are not found in /sys/class/leds folder
It is necessary Leds should visible in sys/class/leds directory
Led is not working if i put the gpio pin value 0.
Following are the source code for your reference.
You are requested to provide some solution on above problem
thanks
Manoj Makhe
Hello,
I hope you are doing well.
I suggest you use the EVK Device Tree as reference, please check it on the next link.
Having your GPIOs/LEDs set in pinctrl_gpio_led and no other module using pinctrl_gpio_led, it should be accessed from UserSpace.
Best regards.
Jorge.