From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (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 0869834AAE9 for ; Fri, 6 Mar 2026 10:40:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772793662; cv=none; b=AJjM+RLsjdG/GluH8/F729/KNwxpOaEzT5/85sasMKf4WHkQi1Nsz5i6lvp0CpeVWVIUjEr9ybluRND5CWHycrXakdBV3fQOOOZcyIVou+1PH68SDzIQi/avsjK/Hwa5vP6DdvhTN0OW0x5KsAthIuzbPSC2QiKoNAlRYfRAVLw= 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.177 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-f177.google.com with SMTP id d9443c01a7336-2ae527552acso20161935ad.0 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=kylLBBKtjIuREt2oLIGmubM8KS4kh0tK9/ASveEB8s7WMC99NDKcCRoKe8ZNQEyqaJ BB+xT7exWkEA4SbHOLayBE4qbWHSbOpl/HsT9p0H0gBdjClXXD0gnPJdhQvQZAkwHvAU HIz4q2OLg5kHpCULBRlE5gIczgzbb0ldxYxoEl9ZMQm8Td+In8XFrp+ygBU04+55sapq HIzSoMABay9bRHKsXuKi2h+/cM9E5a4eqoHliP3FmMcnhU2x7lu9/KNucrsPKHVy1s1L TCnOxJ/Qw4WaJE5pbH2o4OmUVwvYsswvjNKUgsPhgY+1ckgBWOWUyjvfWSBiOYXWO/no 08yg== X-Forwarded-Encrypted: i=1; AJvYcCWWaeX6/me/jKQV+3+8OkR5jO70PItV6PCMWdMvjHNcRymrmXDeq5gsrblov7qY7pQJv14yRHVOa7nwv9Kof7E2rg==@vger.kernel.org X-Gm-Message-State: AOJu0Yww+UhVaMDVAZxvoF7iSmsllPwGNRFZTzzRjEbs7AKK1po25f55 Q6bQp4sjWsbKR6XmEpmvLeMHzP/rPU5MXJD5irHCUvSHcGRX8rlK6nyW X-Gm-Gg: ATEYQzwurj4CTio8hm6q5xPF1qmDZsKNNbIu3CqE6tYLq0uIBt9W+5NHcDz0ej57J7Y ji5hqrcnerFvsOPf0aKR2wyEcXWVXedHs8+34TCZ/aENzZb01oiCqwbGjdQg+Ni5u3lvaV+7G+s DGVFeHIGxQr/W7kMOmYDGPG0CNeK63ff93AWAJavOM5J1wAjC7Tt8h+GGYMCdxbncsOvZqDns86 Thb4+NSY88aqsB1mAGaO1yB5RtdZotyK+EWk8KwTrUH6PZqCb4UAuTh78CryBWEcLOIEiljHlQJ Fo5aNKoe9hhdLUWpzj6JGbvpbrVTVbVz4Qt4YPPUpNCeQLFw+yARVaVATH3R576KGtK3fsSgwDf CXwjnYTIxAhpA06X9oYcOZxnQTim3zzrvUEuizUEvD6s6q6iIqJj+yk3aUnVg8m0c6qzcMZoly1 W4qM+CN0JAVXS4G+WGnhp15Y+hviyLFNQvpCYpTPuhpLpwdhEkktCJAPwbmg== 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-renesas-soc@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