From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 AB36B38F656 for ; Sat, 22 Aug 2026 21:40:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787434810; cv=none; b=MN/8EgXQoLGmJSlgcwJqk/BGNfpwLZCDWfxBDAktjvX75ripkoI06SDPHz43Dt/mGJ1lMsyOQ1agzfphxPAnL9vLIMeu6SONdkyfq38yocs3BdZTOMvPch4aYVJgKHK6wFXJd9nn4ppyzeNWERObBRDDmMrXP/WKUiUFzXP1Tx0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787434810; c=relaxed/simple; bh=KVdVCQFws2YHcTf23OIbqpRHGvWtL05gPa/MIQhexKg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bPNvu30dT0HrjoM4eSEDaGcDiyTqzo6REte91jguSqIXKIX/QGWGCdW7VlJq5sxXYEVAIyqmQ2/maGtJD1z0bTG5uA8TCn96bgZCbkWJNBoMvi2wfd/ye0NfUND6Ym3cgtyDHAFTSsAg3F120J6BrQC/Ro2jIdi8Pk5obdZyyBg= 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=fCZ626GC; arc=none smtp.client-ip=209.85.218.53 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="fCZ626GC" Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-c2020421077so372231866b.3 for ; Sat, 22 Aug 2026 14:40:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787434804; x=1788039604; 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:content-type; bh=rgMbZ8S6nkK5E2O40RbnDFU7z8jdbPLfNie0mYT0a4w=; b=fCZ626GCLhBsDRzFUNLU/YDlvTHSp3ZLtaj/x8sIhfDruvwrr/H0AKWZkCSolUukZF WQojYuU4cwqBEAfa5fBXHJrNUhUUbex28qO4zNaEMXlJW3pmjzlJiBX5Ixit2mVMWiBW qGBfuaowEhbb1BAAU3huh+a/+GkL0PzLP3tNMrr41/lVgXKqV+PdIGAjv5vIdkKd2YV9 vM3sA4siiq1uxAEkNYnFBJRN2w1uxc0isKVRnuX6Gfgxenw4WVYrR9iK3EJfXrKt91ZV MSD4HSHdPs3yfPSPHEWcv97lEEFe5IgCo8NW2c0c2xZ7v2vBSE0Z+bOzokZV4OxOIR1b jN7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787434804; x=1788039604; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=rgMbZ8S6nkK5E2O40RbnDFU7z8jdbPLfNie0mYT0a4w=; b=BoSvWehK9NTvvpjw85/a+Y2VZ6d8pbp8fxzxcOWP7t55aFnYqjO5oVVKw+LphAkFWQ ME59TOpOajtrC0T9CXqGLpjrmFWkdpJiLjdeYZiSessdsnngTJnoc6k1STUbtzkmla2b Cc4s+s++2Hucy/MsmBqWnQZyRbY2mHINeSnJqL0vHmZJo32EKWIPyu/6sNPUBzm7Ddn7 u/cyalBN1WGf6FdyB9IaGYJaq4lczrJ9Jld4FECC14aQ31Q714PXBn2LWG/LMXt+6AQ3 bUsekYRkik9a8QeaMRdl9Xxu09bwByZD2IMpgX1yTTtMJiMf9Z4NkBVK/8mOxEQJgB4Z Pc3g== X-Forwarded-Encrypted: i=1; AHgh+Ro+gYKe2N1/fs9i9YAQywhE16RkHxnUdCbFfpSzrW2XfNK3Y4cSzKN8ilstqLdcagkVK5x6xLw8Ca5v9p0=@vger.kernel.org X-Gm-Message-State: AFuF++l6TEUbnuAe/nOofNDQ5fot9FINwLDmscdLTNMlYXNEFSrUsM6D FoSboNVHvyD0vRBckU0gx70pR6xHBLTWcXQgpFQ4AsH8dxIqLZ0NzEAb X-Gm-Gg: AR+sD13Bd7XjzSt7QSSM+LGEq9HhU/o2AxDlzpiYduN4Q7tzPZOP8X0b9XFEMklESzA LbG0sXp7VubTM6uxtkol1XdBbJn/T0m6rrfLFvlAQX6snhFLxFeUhNRBGRLaf9VGHv9+A5ikn42 UfHL7txRjVxq//dMmrTRqho5W5NORf0ALkdSflhE9ZJu/YcCZKXL7MqyY0DM/9pMsrqJ7M0wexk Blgj7GwYtxfjGpB5N6LqdmNyrDNvp85YDMVyC9ur05QpSEXW/B69v3I7NXjKxGn0o2JcrFg/ZGK qD8jwWt4AnZIvvQKCkSp3mRgM5Jv0ZXzL79CTLhVMNSQjM+Gf0xuDUDfvc1uXUbfDmzGLiDkqSv mTTZyTRYyRHx1d59khjLu5nJqP3sDW2GfQ0Ud1cLbmo/DhpClBcX9uG8tRhps5iV7ZTzSZ1UZEJ m7/j0v41z1ze1xFk+J4AQGwOGyVfuxa9YcRw+gKqEZujb//9bu1/SnIVLKIfECBiTmtpKupA== X-Received: by 2002:a17:906:7316:b0:c19:45e3:2f57 with SMTP id a640c23a62f3a-c2491cbca79mr901591266b.9.1787434804173; Sat, 22 Aug 2026 14:40:04 -0700 (PDT) Received: from m2.. ([37.142.151.124]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-c24966f99basm466778466b.37.2026.08.22.14.40.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Aug 2026 14:40:03 -0700 (PDT) From: Michael Zaidman To: Jiri Kosina , Benjamin Tissoires Cc: Linus Walleij , Bartosz Golaszewski , Germain Hebert , Rio Liu , Bruno Giacomazzi , Christina Quast , linux-input@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Zaidman Subject: [PATCH 00/13] HID: ft260: add UART and GPIO support, plus I2C fixes Date: Sun, 23 Aug 2026 00:39:28 +0300 Message-ID: <20260822213941.98882-1-michael.zaidman@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Mainline supports only the FT260's I2C bridge. This series adds the UART/TTY interface and GPIO on top of it, and carries the I2C fixes made alongside them - two years of out-of-tree work [1], now replayed upstream. It picks up work that stalled twice: Christina Quast's serial driver, posted as v4 and v5 and never applied, and my own pre-UART GPIO series from 2023. Patches 1 and 3 link both threads. This is a new series rather than a v6, being much more than the serial driver now. The patches keep the order and the granularity in which the work was developed, so that authorship stays visible: squashing would fold several people's changes under one name. The UART and I2C changes also interleave in the code, so regrouping them by interface would mean a rewrite and a full retest. Only adjacent commits were squashed. Patch 1 is Christina's, patch 10 is Rio Liu's. Tested on a UMFT260EV1A with a 24LC512 EEPROM. I2C - reads and writes that cross the 60-byte write chunk and the 60/180-byte read chunk caps, SMBus byte-data and block reads, and the shortened read timeout with the abort path of patch 13. UART - a 2.8 MB pattern in both directions at 115200 and 1.5 Mbaud against an FT2232 peer, without flow control and with XON/XOFF and RTS/CTS, plus DTR/RTS toggling over TIOCM*. GPIO - through libgpiod and legacy sysfs. Every commit builds with W=1, and checkpatch --strict reports no errors and no warnings across the series. [1] https://github.com/MichaelZaidman/hid-ft260 Christina Quast (1): HID: ft260: add serial driver Michael Zaidman (11): HID: ft260: uart: bring-up fixes HID: ft260: add GPIO support on top of UART HID: ft260: i2c: reduce driver module loading time HID: ft260: i2c: silence sysfs store big-numbers HID: ft260: i2c: reduce bus-error message severity HID: ft260: uart: enable flow control HID: ft260: uart: add modem pins control via ioctl HID: ft260: gpio: group sysfs attrs per HID interface HID: ft260: i2c: fix large write transaction failure HID: ft260: workaround for TN_189 errata endpoint STALL after enumeration HID: ft260: i2c: abort in-flight transfers with STOP before reset Rio Liu (1): HID: ft260: uart: fix active-low RTS/CTS/DTR/DSR polarity drivers/hid/Kconfig | 10 +- drivers/hid/hid-ft260.c | 1967 ++++++++++++++++++++++++++++++++++++--- 2 files changed, 1830 insertions(+), 147 deletions(-) -- 2.43.0