{"id":2227492,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2227492/?format=json","web_url":"http://patchwork.ozlabs.org/project/rtc-linux/patch/20260424-s2mu005-pmic-v5-1-fcbc9da5a004@disroot.org/","project":{"id":9,"url":"http://patchwork.ozlabs.org/api/1.1/projects/9/?format=json","name":"Linux RTC development","link_name":"rtc-linux","list_id":"linux-rtc.vger.kernel.org","list_email":"linux-rtc@vger.kernel.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260424-s2mu005-pmic-v5-1-fcbc9da5a004@disroot.org>","date":"2026-04-23T19:39:00","name":"[v5,01/11] dt-bindings: leds: document Samsung S2M series PMIC flash LED device","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"c2cae457cf3b7828fab4f1912dfc0fd4eea7df37","submitter":{"id":88698,"url":"http://patchwork.ozlabs.org/api/1.1/people/88698/?format=json","name":"Kaustabh Chakraborty","email":"kauschluss@disroot.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/rtc-linux/patch/20260424-s2mu005-pmic-v5-1-fcbc9da5a004@disroot.org/mbox/","series":[{"id":501238,"url":"http://patchwork.ozlabs.org/api/1.1/series/501238/?format=json","web_url":"http://patchwork.ozlabs.org/project/rtc-linux/list/?series=501238","date":"2026-04-23T19:39:00","name":"Support for Samsung S2MU005 PMIC and its sub-devices","version":5,"mbox":"http://patchwork.ozlabs.org/series/501238/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2227492/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2227492/checks/","tags":{},"headers":{"Return-Path":"\n <linux-rtc+bounces-6396-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-rtc@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=disroot.org header.i=@disroot.org header.a=rsa-sha256\n header.s=mail header.b=Gof7z4wL;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-rtc+bounces-6396-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org\n header.b=\"Gof7z4wL\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=178.21.23.139","smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=disroot.org","smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=disroot.org"],"Received":["from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g1ms82ZFZz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 05:50:04 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 5C661300CE57\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 19:50:01 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 9CB5C38B12E;\n\tThu, 23 Apr 2026 19:50:00 +0000 (UTC)","from layka.disroot.org (layka.disroot.org [178.21.23.139])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E70C30AD0A;\n\tThu, 23 Apr 2026 19:49:57 +0000 (UTC)","from mail01.disroot.lan (localhost [127.0.0.1])\n\tby disroot.org (Postfix) with ESMTP id AE28B26E30;\n\tThu, 23 Apr 2026 21:49:56 +0200 (CEST)","from layka.disroot.org ([127.0.0.1])\n by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id Xfdy58reHSr3; Thu, 23 Apr 2026 21:49:55 +0200 (CEST)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776973800; cv=none;\n b=K5C13h25LSv/xroBvkWdbYNEKR1Q5rBirqFX4wwyoYm5jPQDXMg7MvW1mWmWHeIljqumgvbeborkNWx4V7B/sYPBcaaYVQJN/jP5rl5rC61oECnORAc5/MMNMPS8masSmOaoDyQXygwlKoVPnDVWR1WabodIYzEN1aYbkv/mxXg=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776973800; c=relaxed/simple;\n\tbh=yhg5gVajDM6Da2FgjY3mvjRRBtWbHEv5TqLXfC/zzJU=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=pT5kQn+o2kRHk4oF16mcjjSXGazYuvfvqB8oyn8YCZ+HkcB+y8olgBIaFJMw9RWdxunivAHLi9p15sZq7Dl1OYNc+rqpAdoN8mibewm2vi+sflfEzPTAd8HbSlJ/vydbFOGPt2dvqMDhtyDeZsB9jCVolLKloAA+ZvePiYiPedE=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=disroot.org;\n spf=pass smtp.mailfrom=disroot.org;\n dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org\n header.b=Gof7z4wL; arc=none smtp.client-ip=178.21.23.139","X-Virus-Scanned":"SPAM Filter at disroot.org","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;\n\tt=1776973795; bh=yhg5gVajDM6Da2FgjY3mvjRRBtWbHEv5TqLXfC/zzJU=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc;\n\tb=Gof7z4wLEw1THwcB3kYUtiAAjWyvZaXYF0Ah0mNzVq9q8HyKLHoA48eSZo3CgLSJn\n\t xq0kSgysgkdwr5iP6w2+SMjMSSkHsfQBYNJm7Ntio3X7ogDcIEn6OOvA0OqcXEnONP\n\t 3fD7mPipkfHZFMYuODhk0tmaIaHJXzoogZBJxe81h7EtJMM7+0+tdgTM6uQDdZu+3m\n\t v0XKW0CamKLB76dOK9vf7P8kLzw5VbmKWe3uzJWdU3mY8XrFZZ+qFSvfJAf6dwKaW4\n\t F5b6NlRqkP7tdRNUoT2X0yO9WYZtfsGfGTNiHBBi2r9k2frpCp2W2ShQeZ8d/1x2Gg\n\t fOe0HqJMPP6+g==","From":"Kaustabh Chakraborty <kauschluss@disroot.org>","Date":"Fri, 24 Apr 2026 01:09:00 +0530","Subject":"[PATCH v5 01/11] dt-bindings: leds: document Samsung S2M series\n PMIC flash LED device","Precedence":"bulk","X-Mailing-List":"linux-rtc@vger.kernel.org","List-Id":"<linux-rtc.vger.kernel.org>","List-Subscribe":"<mailto:linux-rtc+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:linux-rtc+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","Message-Id":"<20260424-s2mu005-pmic-v5-1-fcbc9da5a004@disroot.org>","References":"<20260424-s2mu005-pmic-v5-0-fcbc9da5a004@disroot.org>","In-Reply-To":"<20260424-s2mu005-pmic-v5-0-fcbc9da5a004@disroot.org>","To":"Lee Jones <lee@kernel.org>, Pavel Machek <pavel@kernel.org>,\n  Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,\n  Conor Dooley <conor+dt@kernel.org>, MyungJoo Ham <myungjoo.ham@samsung.com>,\n  Chanwoo Choi <cw00.choi@samsung.com>, Sebastian Reichel <sre@kernel.org>,\n  Krzysztof Kozlowski <krzk@kernel.org>,\n =?utf-8?q?Andr=C3=A9_Draszik?= <andre.draszik@linaro.org>,\n  Alexandre Belloni <alexandre.belloni@bootlin.com>,\n  Jonathan Corbet <corbet@lwn.net>, Shuah Khan <skhan@linuxfoundation.org>,\n  Nam Tran <trannamatk@gmail.com>,\n =?utf-8?b?xYF1a2FzeiBMZWJpZWR6acWEc2tp?= <kernel@lvkasz.us>","Cc":"linux-leds@vger.kernel.org, devicetree@vger.kernel.org,\n linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,\n linux-samsung-soc@vger.kernel.org, linux-rtc@vger.kernel.org,\n linux-doc@vger.kernel.org, Kaustabh Chakraborty <kauschluss@disroot.org>,\n Conor Dooley <conor.dooley@microchip.com>"},"content":"Certain Samsung S2M series PMICs have a flash LED controller with\ntwo LED channels, and with torch and flash control modes. Document the\ndevicetree schema for the device.\n\nAcked-by: Conor Dooley <conor.dooley@microchip.com>\nSigned-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>\n---\n .../bindings/leds/samsung,s2mu005-flash.yaml       | 52 ++++++++++++++++++++++\n 1 file changed, 52 insertions(+)","diff":"diff --git a/Documentation/devicetree/bindings/leds/samsung,s2mu005-flash.yaml b/Documentation/devicetree/bindings/leds/samsung,s2mu005-flash.yaml\nnew file mode 100644\nindex 0000000000000..36051ab20509f\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/leds/samsung,s2mu005-flash.yaml\n@@ -0,0 +1,52 @@\n+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)\n+%YAML 1.2\n+---\n+$id: http://devicetree.org/schemas/leds/samsung,s2mu005-flash.yaml#\n+$schema: http://devicetree.org/meta-schemas/core.yaml#\n+\n+title: Flash and Torch LED Controller for Samsung S2M series PMICs\n+\n+maintainers:\n+  - Kaustabh Chakraborty <kauschluss@disroot.org>\n+\n+description: |\n+  The Samsung S2M series PMIC flash LED has two led channels (typically\n+  as back and front camera flashes), with support for both torch and\n+  flash modes.\n+\n+  This is a part of device tree bindings for S2M and S5M family of Power\n+  Management IC (PMIC).\n+\n+  See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for\n+  additional information and example.\n+\n+properties:\n+  compatible:\n+    enum:\n+      - samsung,s2mu005-flash\n+\n+  \"#address-cells\":\n+    const: 1\n+\n+  \"#size-cells\":\n+    const: 0\n+\n+patternProperties:\n+  \"^led@[0-1]$\":\n+    type: object\n+    $ref: common.yaml#\n+    unevaluatedProperties: false\n+\n+    properties:\n+      reg:\n+        enum: [0, 1]\n+\n+    required:\n+      - reg\n+\n+required:\n+  - compatible\n+  - \"#address-cells\"\n+  - \"#size-cells\"\n+\n+additionalProperties: false\n","prefixes":["v5","01/11"]}