From nobody Thu Apr 2 06:27:20 2026 Received: from mail-lf1-f68.google.com (mail-lf1-f68.google.com [209.85.167.68]) (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 55F0134AAE9 for ; Mon, 23 Feb 2026 06:39:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.68 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771828757; cv=none; b=Qya/UltlsrxK3Ye2oKtAgx2+1YzpcbvPiZCCRUHva5JMTKjjtqv6YsR48p/ST5znE48m/PBABlxPJEI2BBkHMSRzQpXerSX1Du98lGZot6RVfDN+fHNKLbLufkEsr35nTy3b5hShy8FZUKY1dlmE8wNDBr9h2AV1ZMGxtitwQys= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771828757; c=relaxed/simple; bh=+xCYYkFGQ4JgB4ICZr6PyE2V+kBr+3lOCPplqVBjWes=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EBBLBz4JxK/vM8GC2D57rXI/MYMlu/MhmEtjIIEdrQoM41SHZrw+7XZpwYr4PhoSubHgpEMwtSPZTenBpU0ZePFkPHpAhGZ/jqBqyl1TSB1cqKC2qwEOar4z/TJ2FbkL8oXxribgtoEmUFg5qizSqgC/SztzIJv4KE1yqQztpJw= 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=Eo9QYRJ3; arc=none smtp.client-ip=209.85.167.68 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="Eo9QYRJ3" Received: by mail-lf1-f68.google.com with SMTP id 2adb3069b0e04-59de0b7c28aso4654671e87.1 for ; Sun, 22 Feb 2026 22:39:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771828754; x=1772433554; 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=MLyVcjdxnN/By9KBCrGjy5x8Jg9Sn7LCgXxWdazKspA=; b=Eo9QYRJ3oQ+cWNy1xyZ218YlS+X/rJmtiE9RBqrb/h7Vqwudy+DzlA+hPcrR3EZ/DW RgXkvfiUpPhqg6Fa36OFFhaOPSUHe3GtHSh/DtpGMAQRH8DAJKhig+jxGvue43afS75h LPTKhj4yZ6hI3IZrTzRnCrL8o45ywqCY73W5KSOGypAJQyqEEL9yBjBDSlmt3uoFNWsa eT4CgDunHFq2IJYZ+BL3qsFsGMNZ3sd9UXEKpZgbDZuew94Jn4CjG+sGZY3t28GOm/Sd icW0sUfUf9sw0h51U+0qFJ8v0Uv/cgkWF0yE1TNYvjVOU35OsNk7EuzzDGzzuY2dkRTp Pg5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771828754; x=1772433554; 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=MLyVcjdxnN/By9KBCrGjy5x8Jg9Sn7LCgXxWdazKspA=; b=Qhm1pCiyRJ2rIxjREr0GLx4KluhJ86EqAnYPVo6qDardhQO7Wb3H3vD3dZjiKpP8eJ EYj1Id9Xj5GDfbNSpy2nNHzVNMClfoGCIkat1ePVC2d21PqR4WL9dck/kPLTDKxSpae7 UBf3AXh1TX9Yr7NkADIOLloYPjoVldkF+YL3+bb5nmBB6POLwXDbS+0b3o2k2/+GZc7C qZKOREDKR+qj8y+XwdwCCRAUy8hcfqGL23h3yqdAGshAMh1EF1y+x1w1Wqq08CB6Mssb 2g65+mXSZfukFLHTpqeH+uoBCGzxepbJEJXLw7FLL3cyurzh3+984LPt3Yyc3NBX8k05 eqGg== X-Forwarded-Encrypted: i=1; AJvYcCUwWCUlrtExUjU22FDBw98yxJ4lYMA1CBNuF5tJHkgZNgzGnYeHFdIRN5ZF8dNMncXOdUoeDkjnt2i9N/E=@vger.kernel.org X-Gm-Message-State: AOJu0Yy2IRY1/PzCPiYPnLUu+Wt9NRkeNErxG0baRSE3AArRH0g7/n+0 cMad4FBA0AHk2wtWHLOUS2NklNVLwbK2b+o6wLh2h08lWNxT77Da/rU5 X-Gm-Gg: AZuq6aIYAG/U8/k2vcRdywsMFZhZfdJDijFmYRaPoLwpB5UIJCLKpF3SAHlB3MzNRPy ZrJPv3BNTNc98BYfwo0xjxRllKx3k9qrLcj7yu8hQH48eTrdfSvbkvik7lXigso1bByHp3WMmss nAynPfGfVfPXRsUOiXJTM66T0ziFawQ8zqs5bruqpv8bT2S0lwBDFZEth5GBllsL2Hr6TUYpoXQ UYVqOwh2X2tzGXxfdbeGXYVwUvV4nqBK9koUxMJST2H/ZroKilGVv8GPrwoH/vrkGIlx5e9yyc3 iAeO146kLpefGC4P4q8K7bvAjFHaODWvhBdkpnaKtu+x+d275/xtvDla5o9XhbM0x8DV7+n25JY FmkCASbrOToIHAUdliOsk/JqWqjGJq4AyBtjYoaUVp2emI/45k/frESF+JKseR4srGS2VgJl9+I PrIrl6bAqCJURLxDHNLLvp0zo= X-Received: by 2002:ac2:4bc1:0:b0:59f:84ed:f1d with SMTP id 2adb3069b0e04-5a0ed87df5emr2535363e87.14.1771828754254; Sun, 22 Feb 2026 22:39:14 -0800 (PST) Received: from xeon ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a0eeb13abbsm1369626e87.23.2026.02.22.22.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Feb 2026 22:39:13 -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 5/9] dt-bindings: input: cpcap-pwrbutton: convert to DT schema Date: Mon, 23 Feb 2026 08:38:54 +0200 Message-ID: <20260223063858.12208-6-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 power button 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 Acked-by: Dmitry Torokhov Reviewed-by: Rob Herring (Arm) --- .../bindings/input/cpcap-pwrbutton.txt | 20 ------------ .../input/motorola,cpcap-pwrbutton.yaml | 32 +++++++++++++++++++ 2 files changed, 32 insertions(+), 20 deletions(-) delete mode 100644 Documentation/devicetree/bindings/input/cpcap-pwrbutton= .txt create mode 100644 Documentation/devicetree/bindings/input/motorola,cpcap-= pwrbutton.yaml diff --git a/Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt b/= Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt deleted file mode 100644 index 0dd0076daf71..000000000000 --- a/Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt +++ /dev/null @@ -1,20 +0,0 @@ -Motorola CPCAP on key - -This module is part of the CPCAP. For more details about the whole -chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt. - -This module provides a simple power button event via an Interrupt. - -Required properties: -- compatible: should be one of the following - - "motorola,cpcap-pwrbutton" -- interrupts: irq specifier for CPCAP's ON IRQ - -Example: - -&cpcap { - cpcap_pwrbutton: pwrbutton { - compatible =3D "motorola,cpcap-pwrbutton"; - interrupts =3D <23 IRQ_TYPE_NONE>; - }; -}; diff --git a/Documentation/devicetree/bindings/input/motorola,cpcap-pwrbutt= on.yaml b/Documentation/devicetree/bindings/input/motorola,cpcap-pwrbutton.= yaml new file mode 100644 index 000000000000..77a3e5a47d1a --- /dev/null +++ b/Documentation/devicetree/bindings/input/motorola,cpcap-pwrbutton.yaml @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/motorola,cpcap-pwrbutton.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Motorola CPCAP PMIC power key + +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. The + power key is represented as a sub-node of the PMIC node on the device + tree. + +properties: + compatible: + const: motorola,cpcap-pwrbutton + + interrupts: + items: + - description: CPCAP's ON interrupt + +required: + - compatible + - interrupts + +additionalProperties: false + +... --=20 2.51.0