Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp481669lqb; Wed, 17 Apr 2024 02:06:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUMZ5hGl19GkClLmPfTb/szrjazyX2Pbb928hwtyevAIXJrBykl7i8aYmoLtHMfFGIB7qETvaC0hwR01JGoIT8jUfXlShi1+BFmbznRBQ== X-Google-Smtp-Source: AGHT+IH+PPHkm9cvpbwe7atpk2QXflk6ol6jvrtlxVjHZPh7nEDiORXhXBUfG+ouUObJmPQ1ykKZ X-Received: by 2002:ae9:e11a:0:b0:78d:61ad:6edc with SMTP id g26-20020ae9e11a000000b0078d61ad6edcmr16110061qkm.44.1713344799013; Wed, 17 Apr 2024 02:06:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713344798; cv=pass; d=google.com; s=arc-20160816; b=0ieE+El99so8xymGZ1b52Tk098ZQ7JCinmVPXEDeoqdYRjjd8rgxrpqqNoEMq+5LdY YZH9XXJUlpclpMN3qQSgRGsgprbdYZKGp5IqviTELREEDe51i1yWTQUPgQgJxbIUaThx SLlFreQbOzWCL9wUf2CRMs74R26e+A98HazexCTbHNEW1eANvYaFLmpUZAEMyRy+HIud bOFkNG938P3PC3a4zFntLx/slVdm2I/c0LksinYZ2obUavTYWrMA+kykEn743XIOrp5B mSeBR/fN8NAVax77j0U9qNaaPJ//wEEtXY83BWQwUT61T/AY6UWL7yRuTC271+JKPfm3 S4mQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=SZwRK1DevWHs7TSy/8l1VCGmE7RT9MSmuvvOPNO04ZE=; fh=oO6l9NvTxuJlypxc7mYWMmWgFN5ZTGpLF2Oms0CfWyc=; b=hHGN+ykOoWwnjtwWXPfQ7vH1DA+v1Ib864aIakY63iIfVwlQUFQ0y2gvQJ6I6FRzhh KOCV5VCWRdqvzz/mO4cspvCSc7TkHWTFSxaS1IsXwupYjee0fjLFdzeGe/xN4+oLkp3/ LZlnN1QsqiGS1EfrJev/5f9s8Vyl73vd+7Z+SjcSQLjzlYZcS9ovlzvum9sndmvlJRqS eUQ70oIepBr+RDMusUCPIAj3VL9aakG7dSyml9OJuHjXvVrtA1kqGgePcsMc4IXKDdKs /jYQMta52/SxmTOz9s/unjvh75XB9kDI1bn49Icgv3qQF5rlr5NFU3ZSPVCDUwphZL2r se9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=i+zuGh8r; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-148205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h6-20020a05620a21c600b0078d684b1014si14279652qka.103.2024.04.17.02.06.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 02:06:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=i+zuGh8r; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-148205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B93FE1C2132A for ; Wed, 17 Apr 2024 09:06:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 777141350FA; Wed, 17 Apr 2024 09:05:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="i+zuGh8r" Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.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 0BB0457898; Wed, 17 Apr 2024 09:05:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713344757; cv=none; b=TxF9bgYf6l8Hvube8XKfO6EgWNQ5kd2XEUjKkmr3v/FZAhWc+B+oileaCcg6HoXzAFYFWaFo4F2wFwOlIc2OYr/MTnVIKiE7fK7QdnuyHYqu/XF5eK2kAPJMpAMR/uS1rgyahqsnCKDcSMSy6HqXwc3tTy05P/jELcM3jMVNZIw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713344757; c=relaxed/simple; bh=t0Yp1kY6qtM37V8D5tGl8e+xZzRSxjruApL0YIVR4Cs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=kUlmGvss7i7P1LlAd5oieIPZVgxxVCQFrT9ltkVqiL7YhO1ErO8XUZlnohZ1HWUcEFwUNXLsnLpFILZePPyPQSoVBDNx12m+sXULyaWD+gG/wDgRWE9QYAStzl1vuAhxepG50zJ13BMJvGFaqX84l5Z3RJAihfUVBfsWPKV3OI4= 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=i+zuGh8r; arc=none smtp.client-ip=209.85.208.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 Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-5701f175201so1028012a12.1; Wed, 17 Apr 2024 02:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713344751; x=1713949551; 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; bh=SZwRK1DevWHs7TSy/8l1VCGmE7RT9MSmuvvOPNO04ZE=; b=i+zuGh8rKomRn6KSCG47IAnmsZf/Q9We1UJzgN13VYxlNBHWW5h47v174hwQZecImd FV5fB1f5WCkn60UvLFuwVNLHr7ZYwEJSwyGwQRabzpbWkz3CtLqe3b50Chkn8cdXiQDU hW8MZX5EOPB24XbKnRgoHxFI2Nb5sVqbXvsn/Fj8Nu6Hj8iVC1Y8IBVnW+dOEYjf2RQu u1HLTmhGYPyfQb0r7tbdxTC4JEvu6c/uUy4ORSUQSu50mmPVa99AnhUln3pCsFoDRKJh ZmEXoyWOmo6lpXbcxULHJ6S1NMfdPT4EoNXtXhU13hGmaPNbCx6R7pvqIMAli7g8/RGL YHAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713344751; x=1713949551; 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=SZwRK1DevWHs7TSy/8l1VCGmE7RT9MSmuvvOPNO04ZE=; b=p5ZRTaWaPxhdSYTEfo3ks55Om7Ub3+B6P1flEsNDiC7fSDbx202bGNtApCXou1RmIV +Igo4IJZ8j/SCT7pceI9pIE4g11MqyP5RzTRlKTRsTCHVetr8fM8M2aiOOMR7CWQLeny zRw8Y1WAbfZ4GF1LP3pg6wY5/AF0FCyKM4BeE+dJybAYi2xGzdMdHSQvApvxNVtzglBx IDHzZ44mJtHBPj3D+hariAG3dI1xnFzx4naW6GRbyf5yk68In2SOhVLMERZXPg1Vs+oI eZoKmmZDjvdDFLUhi2tlR+oS7/lxQbRQyIOXiWdO4C5hQ5K051qrz2yQMvvk90mtv4o+ mTnQ== X-Forwarded-Encrypted: i=1; AJvYcCVTEAqjH1yJQLy8vsRx+MneJFcDytSKkk4pSqXEKLw7cTWLH2IxBYVoOMEQhPQYQ3Wmg64iWf520wtFaQXLUMIcLgM11ljcH/DzdFFua2Ama4sBFABxi+aPaMoz9gk5rN92kQF9YDcACw== X-Gm-Message-State: AOJu0YyUy10x1tZvIzuT+K9mZOA+aof8EigYqJJ5rAX5ocm7wFm7sk7/ 9Y8IhxlOa0+EHb1qVE03Q8sqyRNpINtNV/zWWwJb7wHexuq6k+qP X-Received: by 2002:a50:a68f:0:b0:56c:18b4:d2ab with SMTP id e15-20020a50a68f000000b0056c18b4d2abmr11801276edc.42.1713344751147; Wed, 17 Apr 2024 02:05:51 -0700 (PDT) Received: from eichest-laptop.corp.toradex.com (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id x16-20020a170906135000b00a51a7832a7asm7897814ejb.199.2024.04.17.02.05.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 02:05:50 -0700 (PDT) From: Stefan Eichenberger To: nick@shmanahar.org, dmitry.torokhov@gmail.com, robh@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 , Krzysztof Kozlowski Subject: [PATCH v4 3/4] dt-bindings: input: atmel,maxtouch: add poweroff-sleep property Date: Wed, 17 Apr 2024 11:05:26 +0200 Message-Id: <20240417090527.15357-4-eichest@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240417090527.15357-1-eichest@gmail.com> References: <20240417090527.15357-1-eichest@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 From: Stefan Eichenberger Add a new property to indicate that the device should power off rather than use deep sleep. Deep sleep is a feature of the controller that expects the controller to remain powered in suspend. However, if a display shares its regulator with the touch controller, we may want to do a power off so that the display and touch controller do not use any power. Signed-off-by: Stefan Eichenberger Reviewed-by: Linus Walleij Reviewed-by: Krzysztof Kozlowski --- 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..8de5f539b30e 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-sleep: + description: | + Instead of using the deep sleep feature of the maXTouch controller, + poweroff the regulators. + type: boolean + wakeup-source: type: boolean -- 2.40.1