From nobody Mon Feb 9 13:58:32 2026 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.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 D6D51426680 for ; Fri, 6 Feb 2026 17:29:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.68 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770398961; cv=none; b=Yel38AOhUHoULwbfwxRib4I3iRNaf1Dvgkm4OWBLE5BWJE7gkjTAUbD8mbpZkpLqDIVLl5rmqdKOiETrnaUoXeIuNcPKGO8YvlyWohcuK7yjll/HAXAm3FTbz4X0w46Z2Q5KSLXBABUuAMxhz6OG+rZTyjTJNcTK8d8HuN3QB0s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770398961; c=relaxed/simple; bh=+xCYYkFGQ4JgB4ICZr6PyE2V+kBr+3lOCPplqVBjWes=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OgA89MlELskVqzCeu7f99KAr6b7Jd6WFyBfQf/9RpsRaN73SH3yhBZXJcGSzJAuMyOKzpbwuLAxfx58989/7Yo4kBS7a0y1xt6Ad+YoefY0I40cwVRaO7wAsEFG+bFDYKYaH+MzLriHDgKaXEx6JHA8Fd/emePd4DDUPkH3AzvQ= 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=Riy2l0yL; arc=none smtp.client-ip=209.85.221.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="Riy2l0yL" Received: by mail-wr1-f68.google.com with SMTP id ffacd0b85a97d-43622089851so1828431f8f.3 for ; Fri, 06 Feb 2026 09:29:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770398959; x=1771003759; 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=Riy2l0yLjmRwP1ulNGS9BVzMh/hEKtZqCbooYDKNdtnbQ0VQ8bRBTwHK8CxnJztbsv Lz/FJ+5gnMO9shXOrrKes9P2eIhryTUzzZ7NzJ24Se2FXx/PBSf9UM2M+6nJM1E5hrP7 BOiXfz8edzIXP/HcRJr94XLm6TwjXLYOHezwKCd+njpvWA7z3DSsvDdmwpKZAcKUhn9L a2QbnJ9jvpvWV+YP7d4DxAIypNovWMP/qJvwnqNJ3N0yVhEoBRlZ+A+BVZTJz1U0uFdJ V9MUcmcERsmMnpY0jWr4XSQTUYRVdHJGsFh1JeE/hIhKGJp397+U6jDkoMSeGTJEodZS l/nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770398959; x=1771003759; 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=Acb2vAJN60ELsPEZjTsB+BWlCTMdqGfjWKDL6/tRDXFcgL8BoL2qfzgxY5IlAJgh6L ECgTVg+KZXGKpPXDrA5cw8iyFWFsprITFtmnGhkFDgXMjszJRVQWI4iv3Shaj6VJASNF XAKR3x3aZV/NhqnHf3J8DARXB7jMfYg3yfq+16WeUoq290TwC8o0hyjcjbyOZw+arbir DznMqH+PmgEKNtSxGv3RxhwrZtH+C02zaRw1X+8ty4tsKovYNWzHV9OwjfWgI7X5bunb 0ZhCQj+t87xOCt8MasxeMfPilPn9hRr/Ugn8F1cv33pIjisVrYAhDIFBsJxBbzfqXwUt MvWQ== X-Forwarded-Encrypted: i=1; AJvYcCUez5rAEEFOkgm1qTiXRC3zKXlW1238/A9xcOR151WB4pk4QXuZZYbjkVCUAWTA2D6BNUOqib1JI+UZ7uw=@vger.kernel.org X-Gm-Message-State: AOJu0YyxX8qlw5Z/pvwxsMMYhdWH8rnNL5usRJYVGfh+XG+DD0D+SWNl 0ExUE7Hpa7mQTIiy5Y2n3cCq7EtdWWOXrm82qQ5rEd1+yPiwjVsx/O0T X-Gm-Gg: AZuq6aIXpGlIe623GYVqwdapdghgC9snIHOnudly2GGdGwycbKgiK+FFX0laDdRFiS1 4yUzfTbl1BO5kVC4VuSA4FMFBh1l2ZQ7ABijGZ1y7XE5nVPI+y55RE5PUSsBFm2I3LrDrgdISmS 4i1UncnDRCyzcQWrBKXCSKLcVJskjTIVlhmWrdf1U816xHqFEOdnLDhKnnm3xoxPTfuMFcdPa/g AtPE53puiBWwNCqZAKaDJmlkPMHShm9PFcP8nm3WCnzwxtEviKsyTJtKuky6eQba86AJvUgsOm3 czkhmSSPnF+y66gVnF6yjB9NobLCO6ESspZtOWDB70ASGxVJce5A2jTzzrN3uYlUa2D7XOOyk8e RBluxF6lzxIM+54h+w5fjWIF5DMoOPu9Ym5DYK1hu2f5ZA7kOarpJ7ZOJvEM91ooCjBA7MBLPhz A6 X-Received: by 2002:a05:6000:2485:b0:435:9ee1:f91a with SMTP id ffacd0b85a97d-4362938b450mr5960628f8f.53.1770398959002; Fri, 06 Feb 2026 09:29:19 -0800 (PST) Received: from xeon ([188.163.112.49]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43629734268sm6846033f8f.24.2026.02.06.09.29.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Feb 2026 09:29:18 -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 07/11] dt-bindings: input: cpcap-pwrbutton: convert to DT schema Date: Fri, 6 Feb 2026 19:28:41 +0200 Message-ID: <20260206172845.145407-8-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 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 --- .../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