From nobody Thu Apr 2 06:27:20 2026 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 2FD9A34A3D6 for ; Mon, 23 Feb 2026 06:39:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771828756; cv=none; b=bNNTt45UNOY+sZ0EKBRVE5U37CHF0YHXRS3F5UpnfmUgJptOnHWQMsxg5Cx0WsmWe43fd60qTu/N4H+lGQR2hiDDiquepAF6dTaRfKkhX4dcBYqo5RSxjSqcFdkvLlQcJq6WQi5TPREMNAEp1BKFWlHSg+76tUVuuqes2BJbL4Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771828756; c=relaxed/simple; bh=DrNGeBlRxTjZoXBtwt3WHPiWKByZ7OZ+6oYAQENqEx8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AR772u73ePVGKN8b5d5NZKPqtZBj+MVLGH4mGOQ7lCb6kdK5U0rTHupILJYzj5HLS+CnTMVfveLwys4rOobFs/9cI0dKNN3jUgg6tG3RTjm9ex0rELhDJ/noulkUrST1BG6ied+5Wt6e7dK8KxguoTTBdgqOf0WjuZe+59tflt8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Q2eMHGEA; arc=none smtp.client-ip=209.85.167.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Q2eMHGEA" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-59e646a4b9eso3655423e87.3 for ; Sun, 22 Feb 2026 22:39:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771828753; x=1772433553; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KFT7mMG9k0k/BXen8CQg8hnB8vdYe60xOPZB+uYBrVs=; b=Q2eMHGEABW0iPZncMKAdkd/FmCqkRsgrq8iKs/P5IyiMmfzC4OjuDStGC0l+hbv0Ap EqqiH/SUXaSsOdQBMxDFN40lH+kPKWJRJeexa1NTfu/kj66h0DLri/2veEDU/n+iFuAC xkBdXb8zz9RX5koHzXHltOHkkV7NgmBdJe0G9ZMmJCYVIRYu4GwqT8LOI9pxJ98sU8HM ejG2pL57FDeX31NiW12ahjNr07GbwJIOormjukC5FVd8lrXJPfcmCP58lVDcWdYpA+y0 w07Ae2EVaKOxqhkgD8pdbS3fRBAV0VmJ4fcvcbUxv5OTNxb9HS3JNi5UI1UgceC4Fw/W M/0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771828753; x=1772433553; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=KFT7mMG9k0k/BXen8CQg8hnB8vdYe60xOPZB+uYBrVs=; b=M8pzkIul5HdUXsfmmQEKEqQFFASU867S/5spmka44trvsgK88NDUYryd4iVIPeNX+X uUZ4SfppwlVZnAJsN0jMHS4xNio4F9jfqz4/LBgoyxB17j9vqN9in9gu1ZlXFSjQ8vc8 IrSBwDDyygTXi7l6APdXRsTlTOidbml7BB+KZOH8gDeEwJlQie8HVzieQNTE2rPlZGWn W+82Yfzkr+KvZF4EOeMlYSMXZ5NIrIi5Vk/BPxtPRWLO1PpKJU+kzwjqquabAGhJf6BF FivGcI9TqkV/msKrIBUkhCQLvZK7KsgpUHvwOMT49qxOylIwR+E1sUWZyR0e9yPysWWW 8ipA== X-Forwarded-Encrypted: i=1; AJvYcCUQKLLkNq5OdeupoUkP5+z0pKG8HnW7YI6xisiGxrhkLUv3uqgWIzFIf+dul8tfYvbN3eHatSvoWNEhXcw=@vger.kernel.org X-Gm-Message-State: AOJu0YzAryfE4A0v50mlLsasL/uY9zVqvlaDbjigv5UhjUQXvRwTwWPD Z/T60+nDZaBVVi3m8+5LUDyWZmv7216HdJG6Q69hyEF3a13xQx0JdKug X-Gm-Gg: AZuq6aIZUdKmJOSkmmss0D/5fU6woTlZxuf61TifC46pvasrjufF/Ak6hh7G57AsGfx nEWPqW3xOkKkS5bpy0v3GmkAqnNzk3sQ0FrFX6YHhW6VKM5TS7alI7qo8E+y767sbW4uZf71NWg 3O+vzuk0+SXMNtnT/o0XyrbIQnAGgptw7aIi7J51Dsq1vLoRiqfHXTESuNN4wF+qxme46DdlkG8 dfpIumaE3sGOnMJm+f3XWcdGYzHAZbAlaEbXzq6DJ+EULDhRUeBWZT4AwwKO1Zgb+Q+17owalgc hY2ZZdyjwhM1GUQBjfVOjYKlpDUD6Cx2z5Y7WTJLO5ZEUPZm4ngX0ZSe8JZZvkEju87P6sfkxsn glf//AIPYBC/y0+Ndl3qoHEJNpbRLQhzoM2bvlval8bpRyAedmIZYL4O+o2OFNaThOTAbrMvq4s G/yFJ3YQ9hpSmP X-Received: by 2002:a05:6512:39c6:b0:59f:6e82:dcfc with SMTP id 2adb3069b0e04-5a0ed99d476mr2557597e87.39.1771828753224; Sun, 22 Feb 2026 22:39:13 -0800 (PST) Received: from xeon ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a0eeb13abbsm1369626e87.23.2026.02.22.22.39.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Feb 2026 22:39:12 -0800 (PST) From: Svyatoslav Ryhel To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Pavel Machek , Liam Girdwood , Mark Brown , Svyatoslav Ryhel , David Lechner , Tony Lindgren Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: [PATCH v3 4/9] dt-bindings: leds: leds-cpcap: convert to DT schema Date: Mon, 23 Feb 2026 08:38:53 +0200 Message-ID: <20260223063858.12208-5-clamor95@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260223063858.12208-1-clamor95@gmail.com> References: <20260223063858.12208-1-clamor95@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert LEDs devicetree bindings for the Motorola CPCAP MFD from TXT to YAML format. This patch does not change any functionality; the bindings remain the same. Signed-off-by: Svyatoslav Ryhel Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/leds/leds-cpcap.txt | 29 ------------- .../bindings/leds/motorola,cpcap-leds.yaml | 42 +++++++++++++++++++ 2 files changed, 42 insertions(+), 29 deletions(-) delete mode 100644 Documentation/devicetree/bindings/leds/leds-cpcap.txt create mode 100644 Documentation/devicetree/bindings/leds/motorola,cpcap-l= eds.yaml diff --git a/Documentation/devicetree/bindings/leds/leds-cpcap.txt b/Docume= ntation/devicetree/bindings/leds/leds-cpcap.txt deleted file mode 100644 index ebf7cdc7f70c..000000000000 --- a/Documentation/devicetree/bindings/leds/leds-cpcap.txt +++ /dev/null @@ -1,29 +0,0 @@ -Motorola CPCAP PMIC LEDs ------------------------- - -This module is part of the CPCAP. For more details about the whole -chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt. - -Requires node properties: -- compatible: should be one of - * "motorola,cpcap-led-mdl" (Main Display Lighting) - * "motorola,cpcap-led-kl" (Keyboard Lighting) - * "motorola,cpcap-led-adl" (Aux Display Lighting) - * "motorola,cpcap-led-red" (Red Triode) - * "motorola,cpcap-led-green" (Green Triode) - * "motorola,cpcap-led-blue" (Blue Triode) - * "motorola,cpcap-led-cf" (Camera Flash) - * "motorola,cpcap-led-bt" (Bluetooth) - * "motorola,cpcap-led-cp" (Camera Privacy LED) -- label: see Documentation/devicetree/bindings/leds/common.txt -- vdd-supply: A phandle to the regulator powering the LED - -Example: - -&cpcap { - cpcap_led_red: red-led { - compatible =3D "motorola,cpcap-led-red"; - label =3D "cpcap:red"; - vdd-supply =3D <&sw5>; - }; -}; diff --git a/Documentation/devicetree/bindings/leds/motorola,cpcap-leds.yam= l b/Documentation/devicetree/bindings/leds/motorola,cpcap-leds.yaml new file mode 100644 index 000000000000..c8e7b88a05cc --- /dev/null +++ b/Documentation/devicetree/bindings/leds/motorola,cpcap-leds.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/motorola,cpcap-leds.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Motorola CPCAP PMIC LEDs + +maintainers: + - Svyatoslav Ryhel + +description: + This module is part of the Motorola CPCAP MFD device. For more details + see Documentation/devicetree/bindings/mfd/motorola,cpcap.yaml. LEDs are + represented as sub-nodes of the PMIC node on the device tree. + +allOf: + - $ref: /schemas/leds/common.yaml# + +properties: + compatible: + enum: + - motorola,cpcap-led-adl # Display Lighting + - motorola,cpcap-led-blue # Blue Triode + - motorola,cpcap-led-bt # Bluetooth + - motorola,cpcap-led-cf # Camera Flash + - motorola,cpcap-led-cp # Camera Privacy LED + - motorola,cpcap-led-green # Green Triode + - motorola,cpcap-led-kl # Keyboard Lighting + - motorola,cpcap-led-mdl # Main Display Lighting + - motorola,cpcap-led-red # Red Triode + + vdd-supply: true + +required: + - compatible + - label + - vdd-supply + +unevaluatedProperties: false + +... --=20 2.51.0