Re: [PATCH v2 1/8] arm64: dts: qcom: sm6350-lena: Add flash LED
From: Bjorn Andersson
Date: Sun Sep 27 2026 - 21:42:59 EST
On Sat, Sep 26, 2026 at 04:00:50PM +0200, erebion wrote:
> Add a node for the camera flash LED found on the Xperia 10 III
>
> Signed-off-by: erebion <erebion@xxxxxxxxxx>
Per
https://www.kernel.org/doc/html/v4.19/process/submitting-patches.html#developer-s-certificate-of-origin-1-1
please use your real name.
Regards,
Bjorn
> ---
> .../boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
> index 6e2bbf4f060ac..79aa2521aed40 100644
> --- a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
> +++ b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
> @@ -4,9 +4,11 @@
> */
> /dts-v1/;
>
> +#include <dt-bindings/leds/common.h>
> #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
> #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
> #include "sm6350.dtsi"
> +#include "pm6150l.dtsi"
> #include "pm6350.dtsi"
>
> / {
> @@ -302,6 +304,19 @@ touchscreen@48 {
> };
> };
>
> +&pm6150l_flash {
> + status = "okay";
> +
> + led-0 {
> + function = LED_FUNCTION_FLASH;
> + color = <LED_COLOR_ID_WHITE>;
> + led-sources = <1>;
> + led-max-microamp = <180000>;
> + flash-max-microamp = <1000000>;
> + flash-max-timeout-us = <1280000>;
> + };
> +};
> +
> &pm6350_gpios {
> vol_down_n: vol-down-n-state {
> pins = "gpio2";
>
> --
> 2.53.0
>
>