From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BzBXI2MH" Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6104810CC; Thu, 7 Dec 2023 03:13:29 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3333131e08dso927688f8f.2; Thu, 07 Dec 2023 03:13:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701947608; x=1702552408; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NY+6+R8v4aRIvSFz5uHIjnM8cd0n2dPdBglyETOqCeY=; b=BzBXI2MHrJ4pDxQPfWQP9eEuod9/Yr/x7s6jE9mE8r+BLv1xWzA9EEVG4bHejEae15 mNcCa2XrjDEdo8U1Jo+GdJrPI5ZSI9/fJ8231tZRcwINBVXub6WGEGSD7mVcQyoFom01 P6nk6NUVdIEIypyQ36fp89877dygaNC9Ov/AM+Ns7QFunDaGdNP7+qCWniGpuuXBUNIj jnuOJHARS2GV9P+LLr+I/MjTHKg0QVPWdmL6PtogY8hINTnOne1RoyDfJqngBZ4NLD4O QP5e2g67M/q90mWC+zzu3cm9jlx3f7k5fIbJ0o71tvxorFuL/bN64insX7k7c6Ez4otC zUjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701947608; x=1702552408; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NY+6+R8v4aRIvSFz5uHIjnM8cd0n2dPdBglyETOqCeY=; b=qWPchIpm163CM8n7KaACUCJrEO9tSHFZ/K3cHaZqY+SLhYSEI1cMnpoBQSSHpJskPj nXojKr6wGPl+mcidZ+vueeV03x8Oze+U8HqH2nK0Fc5FtiTXkxdzuEP2pKZVa81KYgmf jRuH4S8trZNmlvzhK6ObL68EEUBvG1UNM/wKnULTh4BPb5siO8pN34qFWjB3HBaTWhEI 3A8R/r7QrkbgjAnH/daUcMmolbDB0O30pEfyJK+U07GBJwoR1cll4jjhvlPHIS3uzeer gMj5g+n6xZ3yq8jYV6BZmm1XrML6MVUejMMgUAXLC7rL7vHsyy0hq065tURuui2/BdTq mzuA== X-Gm-Message-State: AOJu0YyqhTr+345TcTIDWM3sROURzqv7bTUzkxqQViNHMZUK1Z4alJId OoUX2bf9yrgll4Whq0OKFIw= X-Google-Smtp-Source: AGHT+IEwKw1JVypNLO2jgvKNhNQ/YOGneVAgciUWuj/XaC9Fss2MjipcrbFcF+6gAEFLb9MlHRSbuQ== X-Received: by 2002:a5d:4fca:0:b0:333:387b:687b with SMTP id h10-20020a5d4fca000000b00333387b687bmr1203565wrw.34.1701947607741; Thu, 07 Dec 2023 03:13:27 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 03:13:26 -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 0/2] Add a property to turn off the max touch controller in suspend mode Date: Thu, 7 Dec 2023 12:12:58 +0100 Message-Id: <20231207111300.80581-1-eichest@gmail.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Stefan Eichenberger Our hardware has a shared regulator that powers various peripherals such as the display, touch, USB hub, etc. Since the Maxtouch controller doesn't currently allow it to be turned off, this regulator has to stay on in suspend mode. This increases the overall power consumption. In order to turn off the controller when the system goes into suspend mode, this series adds a device tree property to the maxtouch driver that allows the controller to be turned off completely and ensurs that it can resume from the power off state. Stefan Eichenberger (2): dt-bindings: input: atmel,maxtouch: add power-off-in-suspend property Input: atmel_mxt_ts - support power off in suspend .../bindings/input/atmel,maxtouch.yaml | 6 ++ drivers/input/touchscreen/atmel_mxt_ts.c | 72 ++++++++++++++----- 2 files changed, 61 insertions(+), 17 deletions(-) -- 2.40.1 From mboxrd@z Thu Jan 1 00:00:00 1970 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 4A3C1C4167B 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: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:In-Reply-To:References: List-Owner; bh=IaKQSMbqHGs894w301ymI3r7nX1UjSymdyJonBuRjeg=; b=AaEtapUqec1JcU 1W+I+SbGP6C/yGWfN/jUTZirpjqYAy4KB0XGiC+T/sp7mwOsGDYqLZkIw4gIDNYJ4jaFHHVN476Oo aOTjsjEF7Bo6e3+pptn+hr0YuGPSg0e/TgAWblJkQhcWKE/lQO5yvoMYUBim580Dj9MXbgbHqDKbN y/7IOY3RgfEuNiHJ2yKz94WsxWtXa6svdLLZO7YI8o2w+xpE4pcBX3O7/A/Qsj7w5VRs/ETBxUJHH 86N+E+faoC3i00hFh+8iUPgjvIAwjeaQU9EeiPErPKyDn+Ci/AxlQbWaAwV6eJ7o2AHYvUO9NbnxH TDHE9Vxx/N8zZfVlA89w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rBCJz-00CXln-0B; Thu, 07 Dec 2023 11:13:35 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rBCJw-00CXkH-0h for linux-arm-kernel@lists.infradead.org; Thu, 07 Dec 2023 11:13:33 +0000 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3335397607dso935507f8f.1 for ; Thu, 07 Dec 2023 03:13:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701947608; x=1702552408; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NY+6+R8v4aRIvSFz5uHIjnM8cd0n2dPdBglyETOqCeY=; b=R2YDfLAIOgwOKi/w5kYCW0OxRC/oB5HQW1fT610dnl1befFCVx8cQQP+5LPaJs0Qdd 0FmOD7c7ERqJwTEW1EaoNow8noMwqxF8RgqJeS6ING7lXXw17BqUvxD3kCAFbu1qxUlg 8nsxwWrB3ftLAPTZ6RjMXvzxPuCftTlIs9gv+Mj7rBl1nQqB6Ws6aSY1LSs+y4kktTfM Y0+9vEeniQMBineMe3kyMeHr+qZuO7PeHGhnI1Tz1e8UqWgXaeVt4wPjf2V7HuzWFwND KSkxQc09nA1CIRoyt+Ld7uvmj/P2WmHsMMLKaeOHlR3zG7JpoWAT4+sQ5lPB9Uq0O/3r jXMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701947608; x=1702552408; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NY+6+R8v4aRIvSFz5uHIjnM8cd0n2dPdBglyETOqCeY=; b=iHjgCSl6ZnP1d2tPvIm3fWg8mN+md4dRUlyUcAv64ZOqy3dKv3vg74sxEoz0hvAOk+ c6ZYY4vUQxilMovFpous+n1pnqkFZDxYvaV8+ywBM/SW9YkPIaZiOffd8L7QzIg2LW0D uI8F8HoQglz0QoNBPboHYIeQOkTAH1gO5x6/9sWwg/gR7t8lxOWj+uP+lZ1yPxldSNfT khGNhMydc8ZeSTvOuxHOFMaOVCz0m5FyOm/+U4jC2QMSTfvwn/Wpc6dVqSRfY9q82yzb UGIBB5eoYXxXG8rrEQMC5e3AfU4nqcIHlLiHrZEVBh4LDeuP0PCAXMhH9hiMqBf7czMV n0vw== X-Gm-Message-State: AOJu0Yyw5draYNlPhFBt0uPKi0iZnBqJjUX1OjDgWmudXSw69ckO3xX/ 6Vx++d5AICnnGIFBL4CWYZ4= X-Google-Smtp-Source: AGHT+IEwKw1JVypNLO2jgvKNhNQ/YOGneVAgciUWuj/XaC9Fss2MjipcrbFcF+6gAEFLb9MlHRSbuQ== X-Received: by 2002:a5d:4fca:0:b0:333:387b:687b with SMTP id h10-20020a5d4fca000000b00333387b687bmr1203565wrw.34.1701947607741; Thu, 07 Dec 2023 03:13:27 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 03:13:26 -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 0/2] Add a property to turn off the max touch controller in suspend mode Date: Thu, 7 Dec 2023 12:12:58 +0100 Message-Id: <20231207111300.80581-1-eichest@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231207_031332_255581_69F47136 X-CRM114-Status: GOOD ( 11.19 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Stefan Eichenberger Our hardware has a shared regulator that powers various peripherals such as the display, touch, USB hub, etc. Since the Maxtouch controller doesn't currently allow it to be turned off, this regulator has to stay on in suspend mode. This increases the overall power consumption. In order to turn off the controller when the system goes into suspend mode, this series adds a device tree property to the maxtouch driver that allows the controller to be turned off completely and ensurs that it can resume from the power off state. Stefan Eichenberger (2): dt-bindings: input: atmel,maxtouch: add power-off-in-suspend property Input: atmel_mxt_ts - support power off in suspend .../bindings/input/atmel,maxtouch.yaml | 6 ++ drivers/input/touchscreen/atmel_mxt_ts.c | 72 ++++++++++++++----- 2 files changed, 61 insertions(+), 17 deletions(-) -- 2.40.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel