Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 C39173C279D for ; Tue, 21 Jul 2026 11:21:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784632914; cv=none; b=mjvqcLA/ZynLBCoQOl0vr7UBJ1AzngRTfUZsIJfPWgnMpKwZ5gkAJuTe/p2W+/2bCcJ2CYjobFE0QOY32DWtAojicbOly1pjeTIL2g0m+WfQfVy+m9JjbUBfcmqzCynHG9gfyuI2I+YhESFNdMOHyw3M2JECHy52Q1IEGLJdyN0= 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.45 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-f45.google.com with SMTP id ffacd0b85a97d-4758bd3731bso3890569f8f.0 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=VPmwnpgzE0EcelAO3OrV9hkjGGQIGKUROhNBEB5tlDceW2LeVtWwAybLpOfZ0Canwe 5qDTzEp65s3NrlJ6rceW1Q1uKyJN2SUj0KOHlj6uzAnk/8tEqOVInWwTHjpxgZfBKjcx dLxA3XYVw3gt1eScqU/H1lot4xduIX/y+1nh5usi1tXfRyo+q04qtOiadDaFpTg2nWtg EoqYUljh9+sJt03L38OYeHVzZftxlWpTYBf0Ua9CryQ0+CQICukVzPzc1hIY0ymOFvUl R/Ed9596NeV+ypKWJLpajGEWN7EYw0J0Q9kFvxQPhBubRk+wGqDldzQy1iOe8tGJQeF5 LqOw== X-Forwarded-Encrypted: i=1; AHgh+RrERptvwwg2iMP4sl3nl/mRpwYIVup1aJ/Viq5Ps67Ni9IcKF//u5ctapp8vh4DOopNuFpRa39x/+hT@vger.kernel.org X-Gm-Message-State: AOJu0Yz3Mb9ufKaX1tRtOxUFJ8K+mVkB9jNGKNPqAGYbXe8LNTds/Pui AhaRRGVr1iqGSkTz+FprOI5RRC1389NapMPalCQumzS8czIJmuwONx+1 X-Gm-Gg: AR+sD10EZ5Xaukw/FTI5+dFu0N5sCuLYAAWq/+gH609mwa68H83RWp2hLSRkQ4JDQJR ou3dzM6mHIN4LsUNROMaoCM9pRTcRE0yMO5lZ7bpG1IG2XhlBTE2N8135pGtnQrIcJ1nuvtTz05 F5KBkYhVVm9CtgtldflAg0+Ls0SyctR4FHDk8a9JqdWOSAXvJCs3SzqniHsq9YujuVOB/0gYnmw Pl5zbZNXUdRzyqOfQhRvsWzA7UW3l9CytwyBwbGMExlEWPPEPURJPaeyNIbQ8C6uzBASTpXza38 jeAlMpXahA9e5ADINem3EIH+/oR8B0KdLrDtSLsomd6PQeik8hVwbw3gIuFfziVAHqK6a2s2IEr D+AhMI6/MIvEkEGWtcmwe/B4/xT/z4Pt8Ka8XSKeAJVnokitHOfD6d4edcPBbHTlgWudpnkuDRF ztkj4znDD/9OwsQCJFc1RVdVOw+UgsDrugPq+LcWxVVMj2 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: devicetree@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