From nobody Fri Apr 3 09:31:55 2026 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2532628643A; Tue, 24 Feb 2026 19:15:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771960526; cv=none; b=FNLLADBHoBDGzaKPc0+RmB4OxbaBtkyfaK3YWwP/ogbSL3TtVg74PeRsQ6EdApyPJIKVrQxbQFHxIIgwbvv97G4vL/byXOn0SnctUjzuDMdtFGiSjOjebssQq6LIixL9+PY2SRpXfFxA0QZ0F7ZaHUEQtacCiS87j4fXyRH5Sls= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771960526; c=relaxed/simple; bh=UGom5F2XoRj2ePCeHluZNCyK/VNDR585euzHO1No7lQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FAv1ZfCxdNxR4USA+SGbAPII/8ighjILmdQFbci2tx1ybqb3Lg20zF60zY8kwtauXkoo62+c9ceo1KysxuExXGsw0Di3Dvu0TPGFYbfB3ARB6/VOSFHXng6KRIXH9J4DUmqCuZDqbzitCJTr+wVFA1HVtMt1cKX3xk9R+EVYU6o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=KMO38l3H; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="KMO38l3H" Received: from [127.0.0.1] (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 9753426250; Tue, 24 Feb 2026 20:15:23 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id FBP2Im-5o-Mx; Tue, 24 Feb 2026 20:15:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1771960522; bh=UGom5F2XoRj2ePCeHluZNCyK/VNDR585euzHO1No7lQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=KMO38l3HcW687CYfOzJ9VZs5+IW19TqM20r46B/3U2VWc37hSmwWUoXDF7JvRilxZ RSuRc+nKSUr1Hev7lFMzzGzgMuEeCLuox+hNPaCcWJcMFQhwsvdqNEgdDqX982Gsnf hS5/5Nz8d4KfVdabfSja0c1wu1Z/AEUWxhRy+ZSl6HSMLh7eWd8gOKb2ZXlA9vpwzG cHZLmfzvht01pyNiRb8YJPu3Eajd+bzstTcVSel9qZYweR3Z6/WH9Li6NNInZ68+1M oUhmTwmTbnjhtkSFSlMr70AeGH6+xX31leOXV2pwOb+/5LTm4BUjgLYzbfVAuYX0Y3 q5rQ5uhUlK8rg== From: Kaustabh Chakraborty Date: Wed, 25 Feb 2026 00:45:03 +0530 Subject: [PATCH v3 01/13] dt-bindings: leds: document Samsung S2M series PMIC flash LED device 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: <20260225-s2mu005-pmic-v3-1-b4afee947603@disroot.org> References: <20260225-s2mu005-pmic-v3-0-b4afee947603@disroot.org> In-Reply-To: <20260225-s2mu005-pmic-v3-0-b4afee947603@disroot.org> To: Lee Jones , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , MyungJoo Ham , Chanwoo Choi , Sebastian Reichel , Krzysztof Kozlowski , =?utf-8?q?Andr=C3=A9_Draszik?= , Alexandre Belloni , Jonathan Corbet , Shuah Khan , Nam Tran Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-rtc@vger.kernel.org, linux-doc@vger.kernel.org, Kaustabh Chakraborty , Conor Dooley Certain Samsung S2M series PMICs have a flash LED controller with two LED channels, and with torch and flash control modes. Document the devicetree schema for the device. Acked-by: Conor Dooley Signed-off-by: Kaustabh Chakraborty --- .../bindings/leds/samsung,s2mu005-flash.yaml | 52 ++++++++++++++++++= ++++ 1 file changed, 52 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/samsung,s2mu005-flash.y= aml b/Documentation/devicetree/bindings/leds/samsung,s2mu005-flash.yaml new file mode 100644 index 0000000000000..36051ab20509f --- /dev/null +++ b/Documentation/devicetree/bindings/leds/samsung,s2mu005-flash.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/samsung,s2mu005-flash.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Flash and Torch LED Controller for Samsung S2M series PMICs + +maintainers: + - Kaustabh Chakraborty + +description: | + The Samsung S2M series PMIC flash LED has two led channels (typically + as back and front camera flashes), with support for both torch and + flash modes. + + This is a part of device tree bindings for S2M and S5M family of Power + Management IC (PMIC). + + See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for + additional information and example. + +properties: + compatible: + enum: + - samsung,s2mu005-flash + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^led@[0-1]$": + type: object + $ref: common.yaml# + unevaluatedProperties: false + + properties: + reg: + enum: [0, 1] + + required: + - reg + +required: + - compatible + - "#address-cells" + - "#size-cells" + +additionalProperties: false --=20 2.52.0