From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 6F61043BDDA for ; Thu, 23 Jul 2026 10:06:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784801186; cv=none; b=aOaBn2S6t7pHJnWozFYWQHY2XoiXG+nUmBlSxeD2nseUtEGOH3Dftag0z/7fZPMXmnFwVMI3eoPE4CnZoOQWHUqAGUalY+AzM5nYoJwjTlKf7XRkyD4qSC3PddUMc/nh5+iDGiUlrzPUWA8F3+XqWcyU5eSvnbpGjyuoP3KZQ9Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784801186; c=relaxed/simple; bh=L40lap8bnY8cNJW9mxIUGL/vmblDYxgqq3QuCHt2Y+I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BHOsnPPf3O9YSS2NikMWnHZygyYNm3ysV6FNW7UrZ+631uUEJRw7xg0KHPIK6A4k6noS38fAjuQMHUIWfh+nJ2i/iat/0Sq1kyIw6wm4qK7GZBJIVfTws3y3qrOyPzNGxPJFAd/4ssp071BUqd81xxktXUtSUC2wvq7P2p+N3/g= 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=Z+ZKRlnm; arc=none smtp.client-ip=209.85.128.41 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="Z+ZKRlnm" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4955aa106b1so4362525e9.0 for ; Thu, 23 Jul 2026 03:06:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784801182; x=1785405982; 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=Z+ZKRlnmJ046HFQN79JnAs2JgGg4N9481AI19MZJPCn+GAHynG0mgrDa8ACPxOGeGp 7YYFxXYNGL27cVIVWw4+mIT/3GBcnEIhVp+2b0wZnFxXC3HYodwjK1fkrJbmgWCZxnOa ChMwbpIaL7XWqCG6jgEu+p9iaL3qAHLKzr1ezBSwP8VqSU7SCUwaSDENOURD2gfD6IEE IfAOOIY9JHOCIhVNNz0LnJ9gzHSbYR80O7OvyBL4afnE/dpA5lc+5GcSa1PFiFSysMJk b1dFUn5OXUT65CGfW/zxF8Mxc/+1McDQS8uQqeV323tqS52N1EI2oZdtXDy57t247KB/ UbrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784801182; x=1785405982; 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=ASMi4KNNlv3F8jLGkPQzq81lJhsuYOvSFcNKmb6lQjHxBekddjNkcT75lXO2/EgHhn kQ7ClLYaftGe2iwL7Y1R89Xei41+6ZxYJ+e2YaCnxlhtswMX72S75C33cPXlZht10gI7 bTOhWpu7NGI1Kmnm/PemliUGHDIkJRUEvvrZDTALxZxsFRdfKmi/2WeqxR25wBcO7VX+ OZnLWyKkvoT4dxsJQNWmD9Lo8AO6a6JbmnxXatJ2h3UxAfgcAWBW8MBKwyk79+3k5UZe yi2CfFcw/bdLxBRP6Ow97vXgQtzxvTiKydwHBhgmzH3Y2vPY2Wd5B34a0CLZIdQ9C32f zVLQ== X-Forwarded-Encrypted: i=1; AHgh+RqdpaGSwo83kfwX7+fCgO9/QEgaYz3EWMEEcu5DTxAL4CS6tVHAHDP/MJNejl4w0kFOw3XiSP/JcchCCRM=@vger.kernel.org X-Gm-Message-State: AOJu0YzH2jt9ltBLxg1jCchPuAJNLPHPtyvgA2xLu0q+kJ6VwBIKFiND O1gd43al+0kJFCmY0mGiiyzwWt6uVBej1vXCNSjSdxgmrhl6GsKQmvh0 X-Gm-Gg: AR+sD13zKE4BteUTSOTBjcma9fa9FDCCXetlJxdTjgLle1A251IsGQHmTy1rAJYyJK5 G1FV8FJh6VhsIyoCOF9d+rYTByYJ1v0XKq7LseCUlJ2xu3soLoV0nkqQymgNZ0kbU/pZqgYxIVb 7mNUZnUsYquXNYjknktbVhALO80+7Z0mNdwl61zXmK8OGWaarM4jFoJSiMAmUgG6ClcMZMC2Pev Xbrl+JGFRLl16++/NfMxFuB+ywuDo2A4VroMDUe36tN+cWLvHIp5JF60MpjwygeOFxsJk7ifrKh FkQOan7aOQhrAfI98JYlwhpTWyAtggKx0h7tRRidNw+sW35l+jB/RnPmLAWEkLdJjRDqNBJh6VQ bg1u0e/ElwrRZIpbKeg8+njGohQzPV24Rvk81kIF/EJAC6mNZ8x9/vv8ts42d+p+Tv67Hw1Bemh k/SjtlzTUxCPxSEBvRmfzztLZ+YMwCJfH1q3a/ICTND5OY/YAhAnQCj7c= X-Received: by 2002:a05:6000:4704:b0:46a:8fab:eb44 with SMTP id ffacd0b85a97d-47f8d710897mr2842693f8f.1.1784801182450; Thu, 23 Jul 2026 03:06:22 -0700 (PDT) Received: from localhost.localdomain ([86.126.27.145]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-47f85b9a60asm14212163f8f.3.2026.07.23.03.06.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2026 03:06:22 -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 , Liam Girdwood , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-omap@vger.kernel.org, Mark Brown , 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 v4 3/4] dt-bindings: input: Convert TI TPS65217 power button to DT schema Date: Thu, 23 Jul 2026 10:06:01 +0000 Message-ID: <20260723100605.628882-4-egbostina@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260723100605.628882-1-egbostina@gmail.com> References: <20260723100605.628882-1-egbostina@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: 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