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.

LP5562SW-LINUX: [FAQ] LP5562: How to set loop count from sysfs on Linux

Part Number: LP5562SW-LINUX
Other Parts Discussed in Thread: LP5562

Hi,

I have a question for LP5562 linux driver.

I read below documents.

kernel /Documentation/leds/leds-lp5562.txt

Following commands are to blink led for example.

echo 2 > /sys/bus/i2c/devices/xxxx/select_engine # 2 is for green channel
echo "RGB" > /sys/bus/i2c/devices/xxxx/engine_mux # engine mux for RGB
echo 1 > /sys/class/firmware/lp5562/loading
echo "4000600040FF6000" > /sys/class/firmware/lp5562/data
echo 0 > /sys/class/firmware/lp5562/loading
echo 1 > /sys/bus/i2c/devices/xxxx/run_engine

But it is continuing blink with permanent loop.

I'd like to set just 1 time loop from sysfs.

How should I set it on above sysfs ?

Best regards,
Hiromitsu