From patchwork Sat Sep 13 09:16:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 4276 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id F362B3F206 for ; Sat, 13 Sep 2025 11:16:46 +0200 (CEST) Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-afe81959e5csf269656366b.1 for ; Sat, 13 Sep 2025 02:16:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1757755006; cv=pass; d=google.com; s=arc-20240605; b=Q5Oafci+31200SMz33oIN/mg5m3Aw3alaHncfx90uFjPNemBg92SbvkDJcAg88AxDS ovmEXbMgrtpae/OJzfyjo0Zp2MTN+SMRMwZiBWrBiFfuNKe/P4tKIe6+awIwBB3+SJhO Kc32+Bv+lWFg3uAdJtVlLYqQHLfrsy2vHn/AOoo3AL6I5RHBN/Xoq5rP0E4YTQaCBnw3 3JGWfbTj7U+S1fymxDqcWS3Dol1MKl2H8BX+nPqPvDiccaEk17x7IO56/y7dT5G+dF9B yNdMZmJ8s1bdfZ/IAVFzr8iC/M2KkFFoss/mTrR2SBdzNB1idpM1GcLzHEA99m7gOduW tJxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=rJ0gIkSSZbilfuW6jO5sC0PVFuNQnt7ndJpTEBUgRos=; fh=f442YhZrWvLBTbsVoS8+X9l1n9UoZallO/K/JlSvlos=; b=CmRKtFK1bt7FsErwcnMghwxW/zYuviY+tPHunjD5GS3M3vMaLXICJL5ZhpEIisLiXL mM/SbxDIsbjXee+/l5WSp+77gJr1t4Ezka+uJfVePDs4ErsK7UiIIUSLqqBmE/nMpO9e kM+Dp8hSqDnANAvUZgym26FJHbZkvlEQH6/jZJ/TXv02C6Coc+7PUzD1v6ylgDLVlD4D 3RROMaLyQjkpFJu719J3vZa/6bWDe10w5KXhGBapYdL1fKAm8fn3TUue/AUYBoMvWEtH hi6s2ulQYqP1ncyzo/i/MflVjrpp8dEvt+hbKI14OT6QZMcog9nv+Z1mx2rhOGQezK7j eSeA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=T4CDTUwo; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1757755006; x=1758359806; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=rJ0gIkSSZbilfuW6jO5sC0PVFuNQnt7ndJpTEBUgRos=; b=CUmv9+1n85stpnVtYXvEu1EMIznVgWhPzTJlgS5/AH2fO6aJLO/qSMHPFRCEnRXga0 CCwyM/D9itbUV1DEKsWChfqW2Ax3ODtEzUdFYW7IoKSjHHTJs+H2zzxsVpqmMhbco+Zm 8DmRCkoki9osXKtuT8viPhkPurs7Ln25Snnqs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757755006; x=1758359806; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=rJ0gIkSSZbilfuW6jO5sC0PVFuNQnt7ndJpTEBUgRos=; b=QA7KfRxA8I2JesHL6Dxt8Z5cX5hv3KT7KLMeZLkN+ECk8aDrcK3HoVJGw2sNDugW36 Sc7enel/gbDc3a6399BulQsqrOlK6ln3DbOyZZ214ZbXG73AITNcz6164vxmSrlHxXLC HJd+dgI4GDWKjGCd+xUTbwoYZM59q/tleQ423pUz/fWnuOkYE7AEIZd6F3JFhoBPX18P izoaYVRU/i7j7z/ni1GVHp7yGgbsRFrpg6ePDG90q01q0IapaW+WsnhrF4gwWZ54L7xN BUJqs0BtmKMowMvHjAP9Ln1PjHzDhpTX81beOlLopPaVSCwJRuqtcfsUbsmR5ayBUYyX x+Fg== X-Forwarded-Encrypted: i=2; AJvYcCX6gsl/T5QkSm5amNmrB3A0DoSsnXgSVaqSqzg9yMrUXtH+8p1zRKFjCMEyuZ+IAUr7IIYD7jQmkirweuxE@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YzJhChp/ensSWPApVVDycPOshrK/OkVXS6QXNnurfbp0yHaCDl+ qDvaiBO11udz+YSFBjsa7CacSkIuVNtLOTGNWwB8Ncqus5NqVLxo2Jr7XvXWkI4xaWbUgdOnQNs BVQ== X-Google-Smtp-Source: AGHT+IG0hpoWBPCILiabxi+N0abpIdvTAkql0CCrkspE2RJEAVxBmU0tLocAC5iEDuZXUZmpOhqhzA== X-Received: by 2002:a17:907:6d02:b0:af9:c119:3b4 with SMTP id a640c23a62f3a-b07c3532e89mr630441766b.13.1757755006052; Sat, 13 Sep 2025 02:16:46 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h=ARHlJd6t4+i91FVywRK1jC5hcn0dLO2eQmG12+rb23HREEJefQ== Received: by 2002:a05:6402:52c1:b0:61c:38df:202f with SMTP id 4fb4d7f45d1cf-62eba65972bls2612034a12.0.-pod-prod-06-eu; Sat, 13 Sep 2025 02:16:43 -0700 (PDT) X-Received: by 2002:a05:6402:4382:b0:62d:c711:7a37 with SMTP id 4fb4d7f45d1cf-62ed825a798mr6067710a12.5.1757755003395; Sat, 13 Sep 2025 02:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1757755003; cv=none; d=google.com; s=arc-20240605; b=fSukOzoH0Wr7lg6FGs7rQEcAWxcC0EIXhzCHY0iOYvlnRlUQpClY9et/cuJ4sIAEPe B9ON9xsdTvtKqL1GJnL2rbyXFHnFZIwUzWDl9SNuhE67vpM9pjl6qIxv8VP99nkDTC/f KsVUBi1LtJMGZZZiE9tO+By+u11W2lxfxiKYW3LpJN6/Gs7LNdJpgTHBnTtnWTIyBZ1r 2PhNc3NK2HZ/vSnOZsoOWFMliNhGpiRsr6ivertkwxEAOBtMxpIeUCGpDO4u+yj2CpUE s9THwlGGqarVKl6ALhHegjN/iiCoKImRSYnOmy0krbJXUxp8vIcfd/f+6BKsluVBlzqW zp+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=woVp7FNEkX/bwtVc5utqy3tuJJ+oPzZT5NUOh8DxvE0=; fh=OIHDhCQI3L/6MkmIRBFj/CknCq04CQRjmjgFYgDsj4Y=; b=fWYmJyCCmd8G8RPkFvsEOETxYebVZGDXqIkU4TsxNns4cRMmOpd1KMpM9WJOMwHVhF 9YTGezdz2NPzh171H4VDRvlZdIv7NndCxnjorRof9ZFtQl2QqqEZc1kWfvaJ9fwglA5f h6LEOg2RYYfeRMy1KPwg4jLslYPPUROTgUh8eqa+qmhbwWcBhZFnLdFJiAP5rtFmgaO2 5ppnp2/OqL2YqlSAqiEEwi2pAr/C6QOBYU7arJ9/8l6dQbIIVLHFEIHWzK59OB5s6Y+i cSVyOE1jW7yL/UQ+h8AK9e4xQ9wDwy/dz26f5+KjgNJcczTPqPz7nIu07/SDDjUOVQA3 9QYg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=T4CDTUwo; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 4fb4d7f45d1cf-62ec33f34bfsor3010633a12.6.2025.09.13.02.16.43 for (Google Transport Security); Sat, 13 Sep 2025 02:16:43 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Gm-Gg: ASbGncuhbivqEMvhIxpTI2rYOZxD4Bb9V75w9cmHPcrH6ygkyjbfXa43XSYHhH+8Jqf R4rTwp/82q63XAWesHhPtoM4O5MgwI+ul2NJVzHmyDK8J6LkoOGWLSakumEyi7/mRcB8RMyK28+ RvoBLazF2Se7rUs2KggNHLALYe0qCxEVoRp8XNOC+dOl/V6ey1+9ViriH7o7urLot8Sr4Nhfgkh 7XSvSKj7GBmAHhUL4JZuurlg/je07qqLzB36JchGet8UDyM4lIOzKzaq8trFoEagSKXSkHKkQZS eg+qDr5evf9X7Pnsrckzi/E48o4mgqWcVNKRTK75czyv+KKsaygdMnZlqysKAGWNw62slyhit4g 87x9J4ALQbDq0xaP/TVB2bKeoL/t3tL4Cf70X1QN90eGbLQvr5srnJWmubK6PD/uL1ZuEmKHrYp oKHcBo3q32mtxQuYwNiSil9Um1oxQuUjq+Ra85nF5EBA5apmNGrlfbwIB6KPLGxlSM X-Received: by 2002:a05:6402:44d9:b0:628:e750:85d with SMTP id 4fb4d7f45d1cf-62ed8410affmr5076000a12.21.1757755002961; Sat, 13 Sep 2025 02:16:42 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-56-38-125.retail.telecomitalia.it. [82.56.38.125]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-62efb5b8b0asm1593089a12.20.2025.09.13.02.16.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Sep 2025 02:16:42 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Michael Trimarchi , Conor Dooley , Fabio Estevam , Frank Li , Krzysztof Kozlowski , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: imx6ull-engicam-microgea-rmm: fix report-rate-hz value Date: Sat, 13 Sep 2025 11:16:31 +0200 Message-ID: <20250913091638.1003563-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=T4CDTUwo; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The 'report-rate-hz' property for the edt-ft5x06 driver was added and handled in the Linux kernel by me with patches [1] and [2] for this specific board. The v1 upstream version, which was the one applied to the customer's kernel, used the 'report-rate' property, which was written directly to the controller register. During review, the 'hz' suffix was added, changing its handling so that writing the value directly to the register was no longer possible for the M06 controller. Once the patches were accepted in mainline, I did not reapply them to the customer's kernel, and when upstreaming the DTS for this board, I forgot to correct the 'report-rate-hz' property value. The property must be set to 60 because this board uses the M06 controller, which expects the report rate in units of 10 Hz, meaning the actual value written to the register is 6. [1] 625f829586ea ("dt-bindings: input: touchscreen: edt-ft5x06: add report-rate-hz") [2] 5bcee83a406c ("Input: edt-ft5x06 - set report rate by dts property") Fixes: ffea3cac94ba ("ARM: dts: imx6ul: support Engicam MicroGEA RMM board") Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- arch/arm/boot/dts/nxp/imx/imx6ull-engicam-microgea-rmm.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull-engicam-microgea-rmm.dts b/arch/arm/boot/dts/nxp/imx/imx6ull-engicam-microgea-rmm.dts index 5d1cc8a1f555..8d41f76ae270 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ull-engicam-microgea-rmm.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6ull-engicam-microgea-rmm.dts @@ -136,7 +136,7 @@ touchscreen: touchscreen@38 { interrupt-parent = <&gpio2>; interrupts = <8 IRQ_TYPE_EDGE_FALLING>; reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>; - report-rate-hz = <6>; + report-rate-hz = <60>; /* settings valid only for Hycon touchscreen */ touchscreen-size-x = <1280>; touchscreen-size-y = <800>;