Hello,
I have LP5562 integrated into a custom beaglebone black PCB and loaded with a yocto based distro. With this setup, I have successfully enabled compilation of lp5562 driver into the linux kernel via kernel config, with these options:
CONFIG_LEDS_LP55XX_COMMON=y
CONFIG_LEDS_LP5562=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
CONFIG_LEDS_TRIGGERS=y
However, when I try to follow the instructions in https://www.kernel.org/doc/Documentation/leds/leds-lp5562.txt
echo 2 > /sys/bus/i2c/devices/xxxx/select_engine echo "RGB" > /sys/bus/i2c/devices/xxxx/engine_mux echo 1 > /sys/class/firmware/lp5562/loading
As soon as I execute the first instruction, I see the following in dmesg:
[22704.521017] lp5562 0-0030: Direct firmware load failed with status -2
[22704.527652] lp5562 0-0030: Falling back to user helper
[22704.542048] lp5562 0-0030: firmware request failed
I don't see "/sys/class/firmware/lp5562/" . I tried adding CONFIG_FW_LOADER=y to Kconfig to no avail.
Any idea what I could be doing wrong or what kernel config I am missing?
thanks,
Arun