From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 71A5F37E30C for ; Sun, 10 May 2026 11:08:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778411317; cv=none; b=bxd0ZzEWhqny6owh2GA+LWgM50AjmtlCwtMyjmuIQ4iDP6B44eHmoYy0NeRTjw2w6wo87FmcNc+UL+THJe/iJCQ6Bq7bvWKL40fVZQNI1YEqItQha+E1FyEVUAOYVke6JUN9LPK8i790bmuHIEoXZgLBJ25iAQu0jVA1S7Up/Lk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778411317; c=relaxed/simple; bh=sJYSHWc09xFtiXGLxIY3eCmrqPgEujr443cRCV1hpP4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NTvMHSAmiXU6Kmh/0MTQqQYvgpMO4/rrNbBxGpg58SVTb8exoHCaLPvuiFKR85HSqt9envOsHY75YD2H8BM59ZhaWy1NzIHTdnw/fqrb1hbRAY6hsrwMKMpBKVUBgniu2N3F1lrs8bILy/1sqhVBo89Llgf3WURd9aKTI3lT284= 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=DWBsWxYM; arc=none smtp.client-ip=209.85.218.43 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="DWBsWxYM" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-b9382e59c0eso538934266b.0 for ; Sun, 10 May 2026 04:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778411313; x=1779016113; 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=eV+WP61ShKOblE3anHz+BLN4XFN+aFPa0yNq3Cy5s6A=; b=DWBsWxYMGAhcf2Jk9YXOqN6RrcAylX4Mkla1Z+g+GcjEkPeL1aVmZxomntrkdNaex/ dZrzMLD/LH74AnOBlxcg3/DEj77+KhKTBD5mCgQT4pFWjh0karoI7ckTssOr5TnVOpfO dxg2/v8MI4vpNdB4bjzViFl1t/elptghzMbGTUjTQpEqzGeP4FmGBxaNCXoQpgLbnrJd BsFAf8zPQtA7lbfC0Coc0Nb7yNE4EKZTxDZJkOFW6/L8YkmEy8Ki5WiD2dw4khI8MQa9 c39l2PbZ6vPSEc6PYHOEkFyBj5UjLDYXHGQZPNlvQgzihzFUA1Vz2svV6OndKe6E+sSL TReQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778411313; x=1779016113; 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=eV+WP61ShKOblE3anHz+BLN4XFN+aFPa0yNq3Cy5s6A=; b=MgEqJdK2z9f2UDb9QZrJTa47PSuf/U3PXVwbGj2FCQj+90SzNwqTKfAsNgV3IhTzUA ybvaQdFz8ssyQRqQbsnRt3PixTPmhEnZJG8KG1OcBRS73q7056lw3DvNEzaHZwALKuAw /q2Dm6j+6+TfneAFEX2R6Z8FgZ/b3GtS/2gVIucsycqS1fsiYQeTiCm1K2sA/lc1TaVz cM65wcVuohwflMR43BfBwAjgYZtZN5y0IX1hxLjY5958ZqLcEHTei84HF8WGrx4YHG5/ OZV8+hkW8zjs0atXDlsa3oL3BYyDNsWpDeLewhYyNAmcj2B0DvaZFpjqi4yuaBmnl/6H 6s4A== X-Gm-Message-State: AOJu0YyTXUnGBxDFpsVyb3IlH6mbf60YfY7yNIhs0jopxUofiS0Q5jds Pa4kGLzD1qLUTX+cvw9jKZnVDIMWxW4lkapZCPFKMBYd7CFGochn6E0o X-Gm-Gg: Acq92OFIOyvfVvanbMwRQsQXcZ8peEQGZZB++iQc2kCjVS4a/2SUBacDPOze9tAQJA5 u61xeXdB6hhrSamhZ2BMT9Xm/e5fclLNnAOVWqo2gzN/ABm16VYuH15tlP8SWBcA4a6VbQEOFLC +HZ9cVk0Rx7qfOpC84YfVhCJ0YHQ7k83xRLiVzDXBbNvHazNtgsAvuqbV9H8rl/0EM5ygvgSWZv guq5ImImi56VI7rCgV0yqFaPULPrOAQubNKiYQSsZgwG2/duECNR9lE2lLkYeNkjCxPEVeLTmEK EQgdLe5ctp3mTvPzWSVIS2KMay8dNd4nRGQUZx5bbExQ3iHb7Fh4gGIGthtZAthha6krqIYxbbf fw6AeT80QEryWWuDZw40xnLL2B+5RhrEB3mY+mOA6YSgK55+zbwCaqN+kFHc5QV0/tAyQQCq+1F c8Dv41/qYSJOAn X-Received: by 2002:a17:907:9714:b0:bc6:bb79:e50c with SMTP id a640c23a62f3a-bcc3f654801mr253345966b.29.1778411312270; Sun, 10 May 2026 04:08:32 -0700 (PDT) Received: from xeon ([188.163.112.56]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-bce7a3fcb57sm68146866b.60.2026.05.10.04.08.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 May 2026 04:08:31 -0700 (PDT) From: Svyatoslav Ryhel To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Pavel Machek , 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 v5 2/6] dt-bindings: input: cpcap-pwrbutton: convert to DT schema Date: Sun, 10 May 2026 14:08:00 +0300 Message-ID: <20260510110804.33045-3-clamor95@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260510110804.33045-1-clamor95@gmail.com> References: <20260510110804.33045-1-clamor95@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. Acked-by: Dmitry Torokhov Signed-off-by: Svyatoslav Ryhel 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 = "motorola,cpcap-pwrbutton"; - interrupts = <23 IRQ_TYPE_NONE>; - }; -}; diff --git a/Documentation/devicetree/bindings/input/motorola,cpcap-pwrbutton.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 + +... -- 2.51.0