Re: [PATCH 3/3] arm64: dts: qcom: sm7225-fairphone-fp4: configure flash LED
From: Pavel Machek
Date: Sat Dec 10 2022 - 12:16:32 EST
Hi!
> Configure the pm6150l flash node for the dual flash LEDs found on FP4.
> +&pm6150l_flash {
> + status = "okay";
> +
> + led-0 {
> + function = LED_FUNCTION_FLASH;
> + color = <LED_COLOR_ID_YELLOW>;
> + led-sources = <1>;
> + led-max-microamp = <180000>;
> + flash-max-microamp = <1000000>;
> + flash-max-timeout-us = <1280000>;
> + };
I'm pretty sure the flash is not yellow.
Plus, how is the node in /sys/class/leds called? Can you make an entry
in Documentation/leds/well-known-leds.txt and ensure the name stays
consistent across devices?
Best regards,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.
Attachment:
signature.asc
Description: PGP signature