From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 D42F13C76A6 for ; Tue, 21 Jul 2026 11:21:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784632914; cv=none; b=NGbzr/coRZ/QTZMwnbX0gU5aWFRtxdYk/27uJhOFy6pUYRN3f3Q/YZ5gyKUe8ooHRQ1Bv6yXS8WsXcuvXPC4No0Rvwf8y2RKTWez49iLN6FiNjdhoozb0cfDiXWpEMJ0a00Eosith2V/Lzq9dREolFI8ULDV63MKPrH9tq3HUGE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784632914; c=relaxed/simple; bh=L40lap8bnY8cNJW9mxIUGL/vmblDYxgqq3QuCHt2Y+I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oTBzR2w8ozp/420sqSES/bgw5KBXNcRs9qE4sDEYeFm/yjzk11XqBYNl8le1+GLvSbH1BSrxsKD7wDX57k7N7CJ935cfdQHvpg9IaVoZh0agkke/Qts2Dbjr3JLzWRGK7+ZutMQv0xAGbPod5ZCH2PnIZ4rKLynHyHX6V3u2AR0= 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=glVxivWz; arc=none smtp.client-ip=209.85.221.52 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="glVxivWz" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-47de008b020so3601072f8f.1 for ; Tue, 21 Jul 2026 04:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784632911; x=1785237711; 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:content-type; bh=Ux9hmvQYpNrioGxp+5tKSBKeWP1obZYcrlrpcPAFDf0=; b=glVxivWzwrgp0wlu9/8vj11RzqSFAQLEXD+w5UydGUTFsZG/q5GdwEqra8MfDP2Jnv WHmVuMjnkWiDuUp2qdMcb8Z2AGCJSQ/OQBWTv6Bx5iPmPxByLMM4VFB/OG6mrPpHESm4 Rprymk0KJx/M78W96QeWEoAeCq/DohMPdi7xYr0NcnUCMhC+8w2MNyStAcG02tfMDm/W YOD6YjGqYsi8S9QIgD2w930S1AaHWc08WxTN2MybQNUaY0inWv+LIeQucIZs5XvaOE77 uLLYu2ON0zyLhZrj6EGyuXeKiIOUPhlyPyZ3HNzcb+/5DlLQgwpL1eBZ6z3waFvV7ejU tU7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784632911; x=1785237711; 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:content-type; bh=Ux9hmvQYpNrioGxp+5tKSBKeWP1obZYcrlrpcPAFDf0=; b=kz8Q0NN19y23MsHhjeQ9A4hfLQ/NBuV6LYMLez1JBOoIBkoGJhjlPKv3Oskn1V7Mwf 9nZwbtTGFojNYQwIRMjN4ZXEHSPzx+H1onU0BMoEhKLvM1qIo7rhp2ukyU6V5AfkDGhf +ZBQyxP/vPZErIQeM9AJb2Y24B5Hgwf5+2ElHvzcDi3y8GVxdR3YFxkDjlxkpg3P05zM q5jC8asG+gmOdB6ZFt4hKnSy/wBhZq4Jd4GvYXpRowoWmdOLOYc/GdNqV0krPqkSXFD2 8UAP/2AXPQ0Pw3uXorBZCBQu6615zsvoR30JyhfKdJXYS053oLFrCkqOxZoadfIDfWmQ lfFQ== X-Forwarded-Encrypted: i=1; AHgh+Rp570MqRZ36UwCjbmZA1cNsGlSVvCCBNU43kY1Ac4kkkrYH5sLGqEgyBOGqFvGOjhPMO3dxRN98ZgaZ@vger.kernel.org X-Gm-Message-State: AOJu0YypyE0+L6zcuXx7AVrNgOJqdUGpQ6d04V7IEThlfGwKRXk72910 xbdUYBeTo1j0zcf626NQvGLA6U20NEi2MDt8uMX0TJsfxU6yM1SuHU7O X-Gm-Gg: AR+sD135L19csEuLoy0lC9/J8BRmupWrb4k/+XEb7LQiTnxm6Hw/q1tRHu1U9KIJV47 y4DfhucRINeS7tRLxtbd+1LkK/uiy654U9RhTRJRcWaB0Q14edxkYzYeNCYS6t1KhPA5d22VsmG CaPHyR8Jwyiatw4f08XX/VHwpzI4WuGMQvl87iqkPNDXX8j/S8rKJ0sPF1iBdg95/O1kT+N6vNM wai6KakVoVWVvvPlhtzcY0t4G8vLcAL+kn2jRa5og8lpYhYaLl1Qb+VfpoHrk309RG5l0J8thnp Ua79gWMEx5WJ/hBt6jWLRQm2tftkpTSTDJuCWZsvMJYloysnS/YGVl55sGVYZ0IjTPlJXmIR2gY ZGyrmwzHZj4rZIlSxLkcIlRcq+rpNrXIj7kUbPRuDzbCoYBu/Y1W+hmIT0USc1Wfs1OtpN7N2x2 AMNhwHc12L1IFfv0wAUE2CUsYNLsjtUMw2/6rZr9I7j9Ly X-Received: by 2002:adf:e003:0:20b0:47f:7864:1b7b with SMTP id ffacd0b85a97d-47f78641d6emr6602519f8f.24.1784632910754; Tue, 21 Jul 2026 04:21:50 -0700 (PDT) Received: from localhost.localdomain ([188.26.50.240]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-47f63e49ab8sm40232416f8f.5.2026.07.21.04.21.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2026 04:21:50 -0700 (PDT) From: Eduard Bostina To: Aaro Koskinen , Andreas Kemnade , Conor Dooley , Daniel Thompson , devicetree@vger.kernel.org, Dmitry Torokhov , dri-devel@lists.freedesktop.org, Eduard Bostina , Jingoo Han , Kevin Hilman , Krzysztof Kozlowski , Lee Jones , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-omap@vger.kernel.org, Mark Jackson , Pavel Machek , Rob Herring , Roger Quadros , Tony Lindgren Cc: daniel.baluta@nxp.com, simona.toaca@nxp.com, goledhruva@gmail.com, m-chawdhry@ti.com, Krzysztof Kozlowski Subject: [PATCH v3 3/4] dt-bindings: input: Convert TI TPS65217 power button to DT schema Date: Tue, 21 Jul 2026 11:21:27 +0000 Message-ID: <20260721112133.70382-4-egbostina@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260721112133.70382-1-egbostina@gmail.com> References: <20260721112133.70382-1-egbostina@gmail.com> Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Convert the Texas Instruments TPS65217 and TPS65218 Power Button bindings to DT schema. Signed-off-by: Eduard Bostina Reviewed-by: Krzysztof Kozlowski --- .../bindings/input/ti,tps65217-pwrbutton.yaml | 42 +++++++++++++++++++ .../bindings/input/tps65218-pwrbutton.txt | 30 ------------- 2 files changed, 42 insertions(+), 30 deletions(-) create mode 100644 Documentation/devicetree/bindings/input/ti,tps65217-pwrbutton.yaml delete mode 100644 Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt diff --git a/Documentation/devicetree/bindings/input/ti,tps65217-pwrbutton.yaml b/Documentation/devicetree/bindings/input/ti,tps65217-pwrbutton.yaml new file mode 100644 index 000000000000..3526d8b045fd --- /dev/null +++ b/Documentation/devicetree/bindings/input/ti,tps65217-pwrbutton.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/ti,tps65217-pwrbutton.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments TPS65217 and TPS65218 Power Button + +maintainers: + - Eduard Bostina + +description: + This module is part of the TPS65217/TPS65218 PMIC. It provides a simple + power button event via an interrupt. + +properties: + compatible: + enum: + - ti,tps65217-pwrbutton + - ti,tps65218-pwrbutton + + interrupts: + maxItems: 1 + +required: + - compatible + - interrupts + +additionalProperties: false + +examples: + - | + #include + pmic { + #address-cells = <1>; + #size-cells = <0>; + + power-button { + compatible = "ti,tps65218-pwrbutton"; + interrupts = <3 IRQ_TYPE_EDGE_BOTH>; + }; + }; diff --git a/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt b/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt deleted file mode 100644 index 8682ab6d4a50..000000000000 --- a/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt +++ /dev/null @@ -1,30 +0,0 @@ -Texas Instruments TPS65217 and TPS65218 power button - -This module is part of the TPS65217/TPS65218. For more details about the whole -TPS65217 chip see Documentation/devicetree/bindings/regulator/tps65217.txt. - -This driver provides a simple power button event via an Interrupt. - -Required properties: -- compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton" - -Required properties: -- interrupts: should be one of the following - - <2>: For controllers compatible with tps65217 - - <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218 - -Examples: - -&tps { - tps65217-pwrbutton { - compatible = "ti,tps65217-pwrbutton"; - interrupts = <2>; - }; -}; - -&tps { - power-button { - compatible = "ti,tps65218-pwrbutton"; - interrupts = <3 IRQ_TYPE_EDGE_BOTH>; - }; -}; -- 2.43.0