From patchwork Thu Dec 7 11:12:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Eichenberger X-Patchwork-Id: 13483170 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F2BFFC10DCE for ; Thu, 7 Dec 2023 11:14:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HrE7wmPk6PitAlZYL1p7gD43xs9hol69tzAFcPLlUVY=; b=bzenUYN2tTS+dh AzzbOVvUlhn//6l8/wuUAH3xmyyKtWxA5mbf/oC701/Y9OLZ/tFUCFa0bglTZeAzyRDrvK2mpNGVX BDt8ffc+HHjZ2kV8CIr0ISEiI6Ng6ZWSdgZ1MtSQM13tg7RB+w3iyNWfaVuotV8a9w2CQ87Suz+YD vo/wzvvIwy6XaPcEkkiJP6UB2YpkJYblWjsxembnRIrpMTutYSXlu/NDsAvmMdo36tvOmUW2vd/54 3BIw4qkr0O7vdtPKPE6UGUlcspxH/LHt3UD/qnUYJeV4EnB5xumJZeTnNKtkL4ezUt0dj4IqFp+KB 1E1vw4146qW3rgRMQY4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rBCK2-00CXme-2K; Thu, 07 Dec 2023 11:13:38 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rBCJx-00CXkM-07 for linux-arm-kernel@lists.infradead.org; Thu, 07 Dec 2023 11:13:34 +0000 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3332fc9b9b2so720451f8f.1 for ; Thu, 07 Dec 2023 03:13:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701947609; x=1702552409; darn=lists.infradead.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=cd1jhV+Kh/V8UGgnPN8H8ix4gV6UKpJNpQeBveVjzsY=; b=aPavuhZBNQOZpRwFsUfmETmrhJGJ/eaXsKGKUGeQJy7ftsZ0wyjH8g5cXt3AWEs0Kn t5LMK06ABjG8RE/ncX2fJVOxuJedHOjnhtYFxwBmudnDqeA4+zlF7oYBtEbQuiolZIGB +SxWIigVqLueeQlUxfXdOz1N8DYYqZQN9AJMun6cBbJszVebWjL0RsDu/eAL+1r8qvpn xqQ1zbrqLG968691sin/WLMTB+zYsUaioP6FxmFUB5oC1aehp/4h8+LwYI8c6tUiwNKC tALht5fjLy+a3WyOz0KBbRSc8f/fAsSiHmALXput4rp3CcEPoH4V2aIqQKdnGda/nCLr XbHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701947609; x=1702552409; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cd1jhV+Kh/V8UGgnPN8H8ix4gV6UKpJNpQeBveVjzsY=; b=WRIuXvBr/y9c4VkUveAid1dU/ymAnHBapJr9OGLoft7n0eDYPIv0OHXzru2fMdV4Hh om11LMJvXMnx9dKGIkYUemq3KrzTTAO58XVNhrsVsmIfJjIb18+cs6jThIkwkt3zAYbI ZINOOBRfmwaGpRa6dix9gFxj9lsm7IpyT8eH67nf0YBVd1/7r+e3GN7Wj6BNDM4AW0mc Z4eFkoIL360kgjHpCBu87uh7cn1D9ewKI0PGQ096E09KafOgPIhEYz4ArBJzwQPJ6tc+ RR/66pXJyQndbYHIdUih4aLKHf8Pc4L0wagOSB5iPDDl2ui31Lwo9Fwho15zaNR80pGx w4DQ== X-Gm-Message-State: AOJu0YwdclLVbJSDGjAV4kWOkFkBszl2Kza8th3+ND1LyrMw3P2I56oD PF9iFHRgScZqMQMb7wKmGjw= X-Google-Smtp-Source: AGHT+IFv1ebmCk3N1x3Mxx6fv83N1AAOGffRf8mBXwhKza7hBzguDpGV7NiDcl/L/wezk+ucRBqHfQ== X-Received: by 2002:a5d:49d0:0:b0:333:4fd1:1c6b with SMTP id t16-20020a5d49d0000000b003334fd11c6bmr713944wrs.84.1701947609065; Thu, 07 Dec 2023 03:13:29 -0800 (PST) Received: from eichest-laptop.toradex.int ([2a02:168:af72:0:5036:93fe:290b:56de]) by smtp.gmail.com with ESMTPSA id b10-20020a5d550a000000b003333541a5bdsm1166096wrv.80.2023.12.07.03.13.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 03:13:28 -0800 (PST) From: Stefan Eichenberger To: nick@shmanahar.org, dmitry.torokhov@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@tuxon.dev, linus.walleij@linaro.org Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Eichenberger Subject: [PATCH v1 1/2] dt-bindings: input: atmel,maxtouch: add poweroff-in-suspend property Date: Thu, 7 Dec 2023 12:12:59 +0100 Message-Id: <20231207111300.80581-2-eichest@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231207111300.80581-1-eichest@gmail.com> References: <20231207111300.80581-1-eichest@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231207_031333_071928_DE81743D X-CRM114-Status: GOOD ( 10.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Stefan Eichenberger Add a new property to indicate that the device should be powered off in suspend mode. Signed-off-by: Stefan Eichenberger --- Documentation/devicetree/bindings/input/atmel,maxtouch.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml b/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml index c40799355ed7..047a5101341c 100644 --- a/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml +++ b/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml @@ -87,6 +87,12 @@ properties: - 2 # ATMEL_MXT_WAKEUP_GPIO default: 0 + atmel,poweroff-in-suspend: + description: | + When this property is set, all supplies are turned off when the system is + going to suspend. + type: boolean + wakeup-source: type: boolean