From 741840c473052a7b388d28982b174bee061acda2 Mon Sep 17 00:00:00 2001 From: Tim Hsu Date: Thu, 30 Jul 2026 09:32:11 +0800 Subject: [PATCH] ci: cram: freedom: point WPS gpio-key check at gpio-keys-polled node MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WPS button moved from the gpio-keys edge-IRQ node to a separate gpio-keys-polled node to avoid the GPIO12 pad-leakage IRQ storm. 015-platform.t still read soc@0/gpio_keys/button@1, which no longer exists, so the WPS label and linux,code checks failed. Point both at soc@0/gpio_keys_polled/button@1; reset stays at gpio_keys/button@2 and linux,code is unchanged (0x0211). Fixed: PCF-2655 Signed-off-by: Tim Hsu Signed-off-by: Petr Štetiar [rebased] --- .gitlab/tests/cram/wnc-freedom/015-platform.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab/tests/cram/wnc-freedom/015-platform.t b/.gitlab/tests/cram/wnc-freedom/015-platform.t index 9f131422fa..35f2290027 100644 --- a/.gitlab/tests/cram/wnc-freedom/015-platform.t +++ b/.gitlab/tests/cram/wnc-freedom/015-platform.t @@ -61,10 +61,10 @@ Check that ethernet-manager configuration contains expected CPE aliases based on Check that we've WPS gpio key available: - $ R "cat /sys/firmware/devicetree/base/soc@0/gpio_keys/button@1/label" + $ R "cat /sys/firmware/devicetree/base/soc@0/gpio_keys_polled/button@1/label" wps\x00 (no-eol) (esc) - $ R "hexdump -s2 -n2 -e '1/1 \"0x%02x \"' /sys/firmware/devicetree/base/soc@0/gpio_keys/button@1/linux,code" + $ R "hexdump -s2 -n2 -e '1/1 \"0x%02x \"' /sys/firmware/devicetree/base/soc@0/gpio_keys_polled/button@1/linux,code" 0x02 0x11 (no-eol) Check that we've Reset gpio key available: