From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 022E63254B3 for ; Fri, 6 Mar 2026 10:40:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772793662; cv=none; b=SefV3CQljAvxTSBhXwjG9OUCKI5v50LvQAG4B+fs1Tn10kgZctnawuytYNGdflAvxTgnKdp/C40HkEkFnG5J2IOkU33mGLn4hzLYXkA1gRpCJ2M4x3YLNtYWl1aU3gN6lsdLFq+dUhBolFxtOwR3ckv65WXg5cZVqc5H6rmi/ZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772793662; c=relaxed/simple; bh=XZoJJh9iagM+FGAwGy5HzzWjLybmYsra7ggsR9sck18=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UORmgKTWfveeiMmlNOyNcw88G17K2nEwpPO+D5rEXLEjL60ktmuC4b8Wm/eqwOKrxCSKYwzRuF1BUyofholirAQV2nlsDKuJMxqCaKwaAoYxcTyqCzjyQaVrPuMn6QywyLQ0TCZ0nWfUzau5RcHB3ULRK6KnLSK4jctvLsxVNCI= 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=E5ahXN2T; arc=none smtp.client-ip=209.85.214.175 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="E5ahXN2T" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2ae505619baso33154755ad.2 for ; Fri, 06 Mar 2026 02:40:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772793659; x=1773398459; 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=uL1VKM3s/estp6r05irAg1wzzhKUK1/TduaCAbOsvp0=; b=E5ahXN2To37I0X54iHOte1JgW3z6eBCkEYMmRUiLkcUqf0DhVz6S3O/MJGTaMY0r+s r/RwGMjBsLnHS6h3qT+jPiMszVNGFMca16ND5ijbIX0Kse/UVu4MO7m1z6wrHr5H0QDB zWiBDVZgQeNiLY4bpc63CH1ZuUQ8PChOTF1zGCHe/GdQPAK9DOPi1sNkousC4qqfpwT0 yrdGdGA+j5OS+JARIigr0imVQUpojuraCV55C5T7UFsBB7Cj//MeVYpvmeeHNo8xqI9w P//4Of66TypAUxGMKMJq/6T2+9naxhcHeDTI5SkEj8a4V2JDs5q2mXtHH/Xry2etffq0 jw4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772793659; x=1773398459; 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; bh=uL1VKM3s/estp6r05irAg1wzzhKUK1/TduaCAbOsvp0=; b=foKw5RJ1yLOY+5nvVPS5x5+F6sKmHSrDry521IOcnTki5ZhuROpzfH9b5jrWVe0grL DnBNYhp8faWj+zKm+eh5/oLctfhvTS5OTwcuhZa1SPRaQgEA4laliiWThfkKi0GLIja3 caEQg3OjcQU54K11o8tiS2If8mXr9SNSz9uIr8loWerXpjH6TZHPaFBbA6LaiyW4cvSL dO8OmcTm5Phz+JQh0wD+S4t+k18UpoVpBpEhtnliaqOZXrx5jhU65452HdOeqV2SGg2q sLoGByF9GwV2oQCzEzdRdNy8owOKhw67836QPIpJ56Fu+Z1s9Zj3Jy4PN2iJKUVXA7Wr 9QMQ== X-Forwarded-Encrypted: i=1; AJvYcCWi9uEYi+9COtbEWeBOslA9zR+nlJdOhdCx0h3cfxTXX8Wn3NRaefxCj07sjXKiU5h2Z/cjLIvJSn+pYT8=@vger.kernel.org X-Gm-Message-State: AOJu0YyHoVIFOvIo+IXpU4x3ARD7qIZl6nTtnO5tgcV9luvehE669YvZ 2t6MqSPRuCqbgmCOr8breSC1on56tB/EWz5YGUSwFBVcAh+Llm29dOJ7 X-Gm-Gg: ATEYQzxIepm6dLe3ASHAmtkyLrsgpwoh2/9akdlqmK4YaarPQwEJkAFLJ+WqSfnnb+Q ZKbE5FOxLLFPFsBJwgmNA1AWWHFvgJnaccknG7Xy4ObFdCHcsBwyVvC4183TBm3Gal7jiTjepRz S3RPMEjrTcD7ZTscAW3lMUKRlEjlcNKuh/aBxkFf9JGMMehSfLIt2ZhFKzbZr8Q36WJB1F7+wSl jbbejf4vbJM4XlhBKq/YNDWT96FjzoH1ZEalYvt/yuPkKcTtv0GTchNUzdbS6oKmRyCSicT9mXB uGAXzTDlr2dUJdt3zLMDXoY4FjXZvI6kVyhT5AFiH214GR7+GfpHdNDJ9jxUmpivDlE0Sk+shl0 sOBifIUkDvhBx3PjfpXTRLfBaMMCvxi+JMekj07sKdXgmVAT3Pn/20en78BTYYO4dy1c9kdVA6V bYTBhiPHU7UPN6f96Rx/AadL2MlGVSh01wH01uYx1GODzLxkX0s6/wtybBtA== X-Received: by 2002:a17:903:2f8a:b0:2ae:57cc:63d7 with SMTP id d9443c01a7336-2ae823ff86amr20528435ad.7.1772793659243; Fri, 06 Mar 2026 02:40:59 -0800 (PST) Received: from phuc-desktop.. ([183.91.15.56]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ae83fa2fa5sm16107775ad.70.2026.03.06.02.40.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Mar 2026 02:40:58 -0800 (PST) From: phucduc.bui@gmail.com To: Dmitry Torokhov Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Wolfram Sang , Jeff LaBundy , Bastian Hecht , Javier Carrasco , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, bui duc phuc Subject: [PATCH v2 0/3] Input: st1232 - add system wakeup support Date: Fri, 6 Mar 2026 17:40:22 +0700 Message-ID: <20260306104025.43970-1-phucduc.bui@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260305113512.227269-1-phucduc.bui@gmail.com> References: <20260305113512.227269-1-phucduc.bui@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: bui duc phuc Hi all, This patch series adds system wakeup support for the ST1232 touchscreen controller. During development it was observed that the device did not expose the "power/wakeup" sysfs attribute, preventing it from being configured as a wakeup source for system suspend. To address this, the Devicetree node for the touchscreen is updated to include the "wakeup-source" property, and the st1232 driver is extended to initialize the device wakeup capability and report wakeup events to the PM core. ## Testing The changes were tested on the Armadillo800EVA board based on the Renesas R8A7740 SoC. The system successfully resumes from suspend when the LCD panel is touched. Due to the interrupt hierarchy on this platform, the parent interrupt controller (GIC, IRQ 24) is recorded as the primary source that wakes the SoC, followed by the device interrupt (IRQ 35). Example kernel log during wakeup: PM: suspend-to-idle PM: Triggering wakeup from IRQ 24 PM: Triggering wakeup from IRQ 35 ## Verified functionality * The "power/wakeup" sysfs attribute is present for the device. * The system resumes correctly from 'mem' and 'freeze' states when the touchscreen is touched. ## Changes in v2 * Drop description for wakeup-source property as suggested by Krzysztof Kozlowski. * Updated commit messages for clarity. * Added driver-side wakeup handling in st1232.c. ## Patch series 1. dt-bindings: input: touchscreen: st1232: document wakeup-source 2. arm: dts: r8a7740: armadillo800eva: add wakeup-source to st1232 3. Input: st1232: add wakeup support Feedback and review are welcome. bui duc phuc (3): dt-bindings: input: touchscreen: sitronix,st1232: Add wakeup-source arm: dts: renesas: r8a7740-armadillo800eva: Add wakeup-source to st1232 input: touchscreen: st1232: add system wakeup support .../input/touchscreen/sitronix,st1232.yaml | 4 +++ .../dts/renesas/r8a7740-armadillo800eva.dts | 1 + drivers/input/touchscreen/st1232.c | 27 +++++++++++++++---- 3 files changed, 27 insertions(+), 5 deletions(-) -- 2.43.0