From nobody Thu Dec 18 01:39:44 2025 Received: from out-181.mta0.migadu.com (out-181.mta0.migadu.com [91.218.175.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6AE2A2E091D; Wed, 3 Dec 2025 09:42:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764754966; cv=none; b=T8Ay9m2ge8VJYJIE0ixskTPN6kltFt30G50ZDjjrJvR0AEfuu0YiMUaltMCwVwjBtGeK3PFcx1XDYl7LmgkbCEBtlLbv0YZS/qOnlxo3Krd/ESprSpLPMpoLt/O0FwidP2BZxbxen8toBYrXv2+7+tE4MaWUM3lL6bFIZH9pXhM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764754966; c=relaxed/simple; bh=3idipFl6GoUCwrCrULGXk8g6n8BULa/1gNd/5Ulfkl4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dinhYh9448h+aEwWXkSDu08RO53jCFP6RiEyTi00VQ4aaHXqVcng+sqi9u9QXrIobAlXCErYGIN/5qf+UsCys938lQNnwA464c9r95i3C4A3eD/rWqTrpYuApP/WWLDnYo9FmMNU1Gc9DBfhti1H53qvbwNkYsRqD8mObGvABzo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=M9Klh4/2; arc=none smtp.client-ip=91.218.175.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="M9Klh4/2" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1764754961; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K2Fi8dCZQRiJSMBwJUwWjixJK6rj0qnXLgPt+K+Rs9E=; b=M9Klh4/2MS0TB2cQVKU6rnDz4vkzPdQoT/JUuazyaU/WuSFd2B02s3CRlw4WZrlQ/9BbCx 3XB8Y9GWLaVQB3fbp6PbA19gp5hDdZ80T2Q9mvvGwkWiEOJGaToQDvre14BB+oy2PKihdv MQZBj8qw98NbRDT8MnFr9M9uoOdrW8IZ+Ehd3o9+AhOi5j6SEZmFTAQfRhN1XNaFgMPKpK Ja6ypWR39gasf9sbMWPJsGLw4s62lBW7db2/q3CeTBLqVzYLgfAvreX+LEbjfePU7lFb5q MyYKTCp/Ds+kfd7gYWHTCBnxKq6uRmYQBbgpiq8uaG2ex5FvbdMjJdQx178obg== From: Paul Sajna Date: Wed, 03 Dec 2025 01:40:58 -0800 Subject: [PATCH v5 09/12] arm64: dts: qcom: sdm845-lg-common: Add camera flash Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251203-judyln-dts-v5-9-80c1ffca8487@postmarketos.org> References: <20251203-judyln-dts-v5-0-80c1ffca8487@postmarketos.org> In-Reply-To: <20251203-judyln-dts-v5-0-80c1ffca8487@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Amir Dahan , Christopher Brown , Paul Sajna , Konrad Dybcio X-Developer-Signature: v=1; a=ed25519-sha256; t=1764754921; l=950; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=3idipFl6GoUCwrCrULGXk8g6n8BULa/1gNd/5Ulfkl4=; b=MbGVAt19AFSyyDf/mB11rIRTA4kALxcCq+e9EgtBl2CT8mlSkNCQolSsn9uOfnBqD/7jFCilw gjWr/xGz2TqALH99iWfZt9UtWKCHqaT6xqqQK5ef5EZ4c2tFML+cAsM X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT Camera doesn't work yet (imx351), but we can use the flash as a flashlight. Reviewed-by: Konrad Dybcio Signed-off-by: Paul Sajna --- arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/bo= ot/dts/qcom/sdm845-lg-common.dtsi index 93b9a0246510..1a80921ff744 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi @@ -494,6 +494,19 @@ &pm8998_resin { status =3D "okay"; }; =20 +&pmi8998_flash { + status =3D "okay"; + + led-0 { + function =3D LED_FUNCTION_FLASH; + color =3D ; + led-sources =3D <2>; + led-max-microamp =3D <100000>; + flash-max-microamp =3D <500000>; + flash-max-timeout-us =3D <500000>; + }; +}; + &pmi8998_lpg { status =3D "okay"; =20 --=20 2.52.0