Messages in this thread |  | | Date | Sat, 10 Dec 2022 18:16:26 +0100 | From | Pavel Machek <> | Subject | Re: [PATCH 3/3] arm64: dts: qcom: sm7225-fairphone-fp4: configure flash LED |
| |
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. [unhandled content-type:application/pgp-signature] |  |