From nobody Mon Feb 9 08:29:28 2026 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 28BA8425CCC for ; Fri, 6 Feb 2026 17:29:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770398959; cv=none; b=ZdyLdShjTNo6HthvguIkW8qkzU5k/H+g7CfNksGBU6nV74XRZYKh74Nw1o8vaXIQzlFE5sYTDKymFl8/6SRbNFHBRkNqNmDZQqgFk5xOLZ2y5IqfEMMw13jd0xG23plRzAK8Bek8mIZfd9mEwFAeIHJVoqD01lNLBs7Lr0EXF3E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770398959; c=relaxed/simple; bh=DrNGeBlRxTjZoXBtwt3WHPiWKByZ7OZ+6oYAQENqEx8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gtTfNd/sbrWJZSBUyUQS/2Sx5XBDwyRsdySdHwaKjuSq2qJLFx3u3gLNRZakKm8E1JbcL7/rnA3BWz+VkLETz9Iw0hqZ0Y3j+6Q93hLTzDWDL0H3zaiUjX3A32uJP/EEsZxU4MJg1NBTOajtvteuoLFmFkYP2Cjg1OAmhuNbaiI= 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=KCwh3bIb; arc=none smtp.client-ip=209.85.221.53 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="KCwh3bIb" Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-4358fb60802so1631805f8f.1 for ; Fri, 06 Feb 2026 09:29:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770398957; x=1771003757; 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=KCwh3bIb//zvZ6x8Eeqi5oW96xjKRphn+S3INdExR7uEdNzwn+8MXX0oKYd/fWC+Pc Ldsig3m7gudUyEkHw/2hQrq7aolu3ph++Fcx+xFeoZHvft9Bddbe5vvl1hjB34G2jX+G nOBWK99hiO7EnOwJykvohpC30hcGmKqDtw9U41A+F6R/PaRQ/KfxIPzwagY7a0NZgOlj vzC/Kx1+VeBHwD41lAklcBc9vHqkMFZDk1Cv5kqy0Esrs5Y93r1ZZ3g9bXcEMVR9jocA VUww/ntgzXmlpM9hUn/DmzwDApcI5b/FRRJfalYKZyHVzOv5n9qQ3FpZKEmGWhYXgcSQ UbQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770398957; x=1771003757; 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=Y8IZBpG9srTxi2zfQbmjGQCoFbk8vDJtnrAnLlKHrvDvcsJ0lLDqK3JTJN2vFOvB4z kSRRCMROuDLuYwaItlXKR7HxpMX81i09cijaH7/rfWXx2FnDBVDX1Fj+c8YKCoKZGmZr CqNAtgY0zoM+ix76VYFaFonU7KFEmTJOBi1Wb48CUV4l6q8KMoEWdgxOtsXiuM8e7CS9 Varzd4OxY9Uq1+TC2Uje0Y2fUNENKhAPyYnF4nO6mdcCpvOQNI1kiogFRbnL1yyMhJg/ ezULgnllT58V+URSl8hkFl2w++pOau7s8M22ybDpPphmkhlHl/TJLkKbqJ77Bs875Y+0 iqDQ== X-Forwarded-Encrypted: i=1; AJvYcCV3L6VshjwJiWSsUEUzwEobbhd+cwd62H3pghkw3LpLlQua8oAaOXRtRGTzbjy7XEPmE6JjBETi2xDIJHk=@vger.kernel.org X-Gm-Message-State: AOJu0YxtDCiczVb/iO8Svg/4idnUIYu1QCi2Ut2rEDHvZfl4NE2ne4ZY uXqXO9oMrSf6VHZggJjqv4bYsx6eb4Br//6V1/5Tv8C/Dj5yM38HQV49 X-Gm-Gg: AZuq6aITMMlOP78ix8avxsDqvPsRdfZ1jbhm4BsKPO5ngUY4XqbUA5aKEJ1fyTzfo4l QTHyAWFnjkaTI6y3rsmbhJ2sjB1IDjkzthX71v4Sa35x/Oya9uiWJ3l+NOFrXPxhLs671GXLgmo y+csDt5qM57Nus7wBOPkI/p1e8NzyAcZo88gXv7EPwLQL9HoI+5x+jA7m4261txdEBYaLuA5ABH CbysCtYuVMyBZWbhrJazMZpt/09MwXlCoM+qm/mqy2hEzISp1yFpuKHrIVmqotBqRJsFUrTAZxA E5SeO28X0rpweVyURsIvpSzH3Moe0FwrmTQV0Vu6mAo2Fgsq5wparGsZ87iTVQvudsCrRdZhN2F Hc8O3Jm1bn0RnQVVYBP8jT5LMRH6nRWjCiHBwYunJtyd9WV4mPHSLVV9oqL+PKt3KefLRxFCXKu iA X-Received: by 2002:a05:6000:288b:b0:430:fd0e:a502 with SMTP id ffacd0b85a97d-436209c9865mr10673215f8f.22.1770398957349; Fri, 06 Feb 2026 09:29:17 -0800 (PST) Received: from xeon ([188.163.112.49]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43629734268sm6846033f8f.24.2026.02.06.09.29.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Feb 2026 09:29:16 -0800 (PST) From: Svyatoslav Ryhel To: Jonathan Cameron , David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Lee Jones , Pavel Machek , Liam Girdwood , Mark Brown , Svyatoslav Ryhel , Dixit Parmar , Tony Lindgren Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org Subject: [PATCH v2 06/11] dt-bindings: leds: leds-cpcap: convert to DT schema Date: Fri, 6 Feb 2026 19:28:40 +0200 Message-ID: <20260206172845.145407-7-clamor95@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260206172845.145407-1-clamor95@gmail.com> References: <20260206172845.145407-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