From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 397A62E63C; Mon, 23 Feb 2026 11:03:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771844629; cv=none; b=IYr5IGh5UAW+0w01ZPIDk8v9sewzwUmXuM1Xy2SLVbgtgeeiB7sIAIOGDSuKb4uoFYyKCns3rM8wXKyh7+gFbNQyazCiq08kHNTTRPpuWL1JJqinMzGJD669AKwRTFzqcSOEBBkltcmrZsvGsTKdRw8+xABY3pThRbLHieFbycY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771844629; c=relaxed/simple; bh=pvzg0uudVR25RsljXgj/jfcfVw94ZUW6cl3RBWlEY5s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IIVbFYGrIj/Dbr0Pv6sUlab3NmBi87THHIkR0po9bMQIsKMue4sVSl1RX+lHa5QldCs4Re0ADUiOe40oL0Y7CLpyj1qNU91X2pggGR1Bv5ktzJoT48JaFuv+E0KLebtinStBZNVjIjNz0QqRnvSCQLM3rd8DRyXb15G6V8wMbbo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=J2koSouj; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="J2koSouj" Received: by smtp.kernel.org (Postfix) with ESMTPS id 0B25EC19424; Mon, 23 Feb 2026 11:03:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771844629; bh=pvzg0uudVR25RsljXgj/jfcfVw94ZUW6cl3RBWlEY5s=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=J2koSoujskK2+TB6fEDZdh6LUTeBU/FkY4SRfgGceBN71CPDIPgrezUthgT2qTgYE +OBJfKXMa+QZfpfZSRrCoBj14v8tCwV48qKgasOFhprlGkhRndUXoGfawn6PF6jr07 pGUhfAGjnoRynbya6T9xxT9qGwBd82xeJ4cGmh1UZyM3UR1iLcpHmwrmZ3wUov5Uih H7q+L1p50ojEmjlmUeW2rLBwQMIT3GYdt27xE8XhMmnrbvvEmY6wbDyliyI5VNNZdj +fweBzxDYpw0L9BN8f9maTo4NBLBYw4iky6nnjyXGvWK9BmB15/DYPAQjFpsx+m7m3 4su4e5HhPDb6w== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5223EA4FA5; Mon, 23 Feb 2026 11:03:48 +0000 (UTC) From: Marc Paolo Sosa via B4 Relay Date: Mon, 23 Feb 2026 19:03:39 +0800 Subject: [PATCH 1/2] dt-bindings: input: add adi,max16150.yaml Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260223-max16150-v1-1-38e2a4f0d0f1@analog.com> References: <20260223-max16150-v1-0-38e2a4f0d0f1@analog.com> In-Reply-To: <20260223-max16150-v1-0-38e2a4f0d0f1@analog.com> To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marc Paolo Sosa X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1771844627; l=2157; i=marcpaolo.sosa@analog.com; s=20260223; h=from:subject:message-id; bh=FCRMkpPyY7JkXoCOu/8LiDptZShSrNSW8K5xYAqx4ys=; b=/XLmGgLq5Q+a/wtPXa90y3m5gsY+TuTX6gKxip/zEjIWh0QoWtmDkEpqQZ4NAjso1GaReEUdb nlOUbN9sbfHBf19dUrxL9yr/ZMvT0ZJiBAN23MxxeuUag3HSmcxi9SJ X-Developer-Key: i=marcpaolo.sosa@analog.com; a=ed25519; pk=RR72PZYRimO/84huVqlVyHN3IM3AL984DRKCEXnOJuE= X-Endpoint-Received: by B4 Relay for marcpaolo.sosa@analog.com/20260223 with auth_id=646 X-Original-From: Marc Paolo Sosa Reply-To: marcpaolo.sosa@analog.com From: Marc Paolo Sosa Add documentation for device tree bindings for MAX16150/MAX16169 Signed-off-by: Marc Paolo Sosa --- .../devicetree/bindings/input/adi,max16150.yaml | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/Documentation/devicetree/bindings/input/adi,max16150.yaml b/Documentation/devicetree/bindings/input/adi,max16150.yaml new file mode 100644 index 000000000000..327811e1ebd4 --- /dev/null +++ b/Documentation/devicetree/bindings/input/adi,max16150.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/adi,max16150.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices MAX16150/MAX16169 nanoPower Pushbutton On/Off Controller + +maintainers: + - Marc Paolo Sosa + +description: + The MAX16150/MAX16169 is a low-power pushbutton on/off controller with a + switch debouncer and built-in latch. It accepts a noisy input from a + mechanical switch and produces a clean latched output, as well as a one-shot + interrupt output. + +properties: + compatible: + description: + Specifies the supported device variants. The MAX16150 and MAX16169 are supported. + enum: + - adi,max16150a + - adi,max16150b + - adi,max16169a + - adi,max16169b + + interrupt-gpio: + maxItems: 1 + + clr-gpios: + description: + Clear Input. Pulling CLR low deasserts the latched OUT signal. If OUT is + already deasserted when CLR is pulled low, the state of OUT is unchanged. + maxItems: 1 + + linux,code: + default: KEY_POWER + +required: + - compatible + - interrupt-gpios + - clr-gpios + +additionalProperties: false + +examples: + - | + #include + #include + + power-button { + compatible = "adi,max16150a"; + interrupt-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; + clr-gpios = <&gpio 4 GPIO_ACTIVE_LOW>; + linux,code = ; + }; -- 2.34.1