Part Number: AM3352
Hi Team,
Do you know how to config GPIO pull high/low with 1 Hz (500 ms on, 500 ms off) ?
I know I can config LED behavior in dts file like ON/OFF/BLINK, but there is no flash option.
Could you provide suggestion? Thank you.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: AM3352
Hi Team,
Do you know how to config GPIO pull high/low with 1 Hz (500 ms on, 500 ms off) ?
I know I can config LED behavior in dts file like ON/OFF/BLINK, but there is no flash option.
Could you provide suggestion? Thank you.
Hi Woody,
Please check the kernel device tree bindings: Documentation/devicetree/bindings/leds/common.yaml
I think you can use 'linux,default-trigger = "timer";' to specify the blinking pattern. Then the LED will start to blink once kernel loads the pwm led driver, and you need to stop the led blinking in Linux userspace once kernel is loaded.