From nobody Wed Oct 1 23:46:49 2025 Received: from out-172.mta0.migadu.com (out-172.mta0.migadu.com [91.218.175.172]) (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 30BEF23C51C for ; Mon, 29 Sep 2025 05:06:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759122364; cv=none; b=Q/gGetAhZcsCUgJomXti+9qEHn/aW1yt1QoHu0BJc0L1wfUDlAtoPDYjW7pfJvF2o/pC5uZ9b8zbvvEzuXgBRinJ1ZDknCmXhCg/ekIkM4YxWxRRzuLmDbJAsSk+o3dXu75wfg5ud5T3EojnOWU0X314Q2n5eovvPBYWVv+WFKI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759122364; c=relaxed/simple; bh=cl/E7ZXBAssDUGhGzoBCNSTKhHrLBOGtbcJNQFpU+5M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jrT6EYPtISVJfKoVyluw9V5S2KsCq2BbGW7bM4ckQmiG0ogTqZA2T0U60LM7fW21r9RAEjF9dA7iksNlEqmnX5ZI6QzJXR3ZxlK+UQw58/H4Y5+pb4mlUSR7c9BLp4VY9qDeBsMjvy9CbybU3UnZp0WlQ/ZBBOHG1Nsmj48CP24= 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=izZHhcTT; arc=none smtp.client-ip=91.218.175.172 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="izZHhcTT" 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=1759122360; 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=J+iuN3ejpJiAhQuCV+hDZxAkXgGQNpawK6Kx6hgcIHs=; b=izZHhcTTQThsCNzVPEkk4G0w1aAvKRDG3q24AxKCMqiUTZS0jj4aWKzbbEO6/PNc3mVtwk PEn5wi1UvhHyflAJ+Vsr5OODUXO2UoifG/XX2P4DYCMeOZUVVdlqb0exwmT/L9Rd/CrAnl xoq+ZivAlSXB9aPkRHmEssfmjFr9/X8ZawiYe4/F0ebBalac1GB55IW6S4zkqd7mIPDivr KKkd50wuYGEmcpGUG5Nx81RgBWD3BwZHzonYNKgy3RLOephLN89cKqU05E8HG2wYHuRcRc YCYW2XxfLKCWOmtPgHtbP9mq5wuDFeh4BDmXNXiLvhJX19l0lAiW8TwtT7ukeg== From: Paul Sajna Date: Sun, 28 Sep 2025 22:05:32 -0700 Subject: [PATCH v3 09/11] 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: <20250928-judyln-dts-v3-9-b14cf9e9a928@postmarketos.org> References: <20250928-judyln-dts-v3-0-b14cf9e9a928@postmarketos.org> In-Reply-To: <20250928-judyln-dts-v3-0-b14cf9e9a928@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, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1759122330; l=903; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=cl/E7ZXBAssDUGhGzoBCNSTKhHrLBOGtbcJNQFpU+5M=; b=VdEwediuNUnX5xcTpFKdS2Oo+mCrc+c15HjidFIJikvdVV7sLh+nzkcGzZw6/fJGjh9QtW6Fr cRUVpx8nDchAI5iTiuUn4FqI2sEq+9xQ7Fx3/wb9XhhLcQz3BkjsZYs X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT So it can be used as a flashlight 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 a8c8706f2057d36d5ef4130f11d9ad417f93d575..f309e6ebc075a691c7a522238b4= a93ba9e63f3c0 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi @@ -509,6 +509,19 @@ &pm8998_resin { status =3D "okay"; }; =20 +&pmi8998_flash { + status =3D "okay"; + + led-0 { + function =3D LED_FUNCTION_FLASH; + color =3D ; + led-sources =3D <1>; + led-max-microamp =3D <850000>; + flash-max-microamp =3D <850000>; + flash-max-timeout-us =3D <500000>; + }; +}; + &pmi8998_lpg { status =3D "okay"; =20 --=20 2.51.0