From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 5D72F391E59 for ; Thu, 27 Aug 2026 22:26:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787869564; cv=none; b=K2zNdh8HDlnO4iCcMFGmYtLMmcimnZyJumlbUYSJ5DzLQxx9ts1ENEe1/2UO4goJOJUtLr4DMBOFI/d7iDIDsOG0kXOlCMtu86ZmvMPXou330hgeJaFDWb1TsCM0xALt2u02XaiBqR2KI6JdE4R17EaZKNdiw5nCWaipEijAZxI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787869564; c=relaxed/simple; bh=TxvaZ4zayK7a2B63L4t8D8MbZm8/BwjOSwYLxeyM8RU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XkRHO0Ssp/9Shgt1GuMq2cS5RC2R58T9p1vyz7F9rLyrXekYKgzAqwZlUxxfBl4YgvssG91Ji37OhobhaPbZZ65EswhI9GROOBr/IdXp8Y2JYNZHkI8J6mz395hr/z9JdHxPBJwx+AEEwufUuXkqc6KydjAiAUGvS7AZMgT1nag= 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=IF5KNcA6; arc=none smtp.client-ip=209.85.128.46 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="IF5KNcA6" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-490cf322ed0so2579845e9.1 for ; Thu, 27 Aug 2026 15:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787869559; x=1788474359; 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:content-type; bh=KrToZPBnqDhx/hwRhT5E5yIhfEGUpGAvOCdqzL7a7pQ=; b=IF5KNcA61mCdmQAodnOMCbggzzV5GrSxVQCEGQJCGP+SqnY/CbBiUNQpPohcXta6/K NJe2uIl9cAqkhldVJeP/RHrhRUn7yJKKMjLsSzx6+PUyVtYqxVPTOjVnksM7d+0IGS5N IOyTXSpEAjSHBLhgHkzxOKK4VpjTVLgm5rFiOo6d3Q/2pR5ckLDRn7RPbDRdf0QnPl40 qUueiIgrMI2dGZREPRUnf/e0U85r4aBQ+P5obu1ijGNY2ipD6EV8sK0/Ag/aXn4IuANN 3u7T3fs+tvg9It+W2/9VvHMwu1q3C4af4S5GFVgrQ/LQ2j4Npi+T1zwbe2IKpmj58hOY JfOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787869559; x=1788474359; 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:content-type; bh=KrToZPBnqDhx/hwRhT5E5yIhfEGUpGAvOCdqzL7a7pQ=; b=KZ4IsnkLSrUloFBhiKjoyJzcVpwAgxs5bEjBpiPjvQN6ErhWeRhjlUKpyh3prewE8M rQ3CC3cnC60oYT1KnRhp/XWffhE9lY65w1u6EHgpwct8+PNJWQofIOQXYc5NUBN77xcr h18+NrDsvyLQY6YlGslAum2gujarnBGjxnk4BjYUOMDqkUqS436kAT5UjS4tO7h4LOed foJ0XAYtRRHceR6HigNvULLuwULW01hQo0+FYz9ivIaMRCbh8TYhRSRpqkls2RrxT/F2 TuM0r0NTzIoTjjlSvUkTxcUmBJ8adrgFxUWB7GW8GrLjMHsz2X/bWXHQXIv9x2lYaJfz H54w== X-Forwarded-Encrypted: i=1; AHgh+RpFZIl8+ggvLK/4YiJcju3z9wFHaWWfbkSzQ6vAkXUugFemTUSEjb0BkthvQjQPaRVXqWlaHVs7ltjbKQ==@vger.kernel.org X-Gm-Message-State: AFuF++kroJ/ZRob056X7YpqhHKMvrOzpA74jeZZNiTkfPF+dzNcl1bNx IHyUHTB/pfXuIJF02wEb3N5b5f6UaQITmpkqR5/GzxKboct0MASZoFJm X-Gm-Gg: AR+sD10d1ORx7NbPYIpzwbKbfqOTbqJ97pDYu18p4d+qdb9DIixbQ1PEyxmJL3ZiU7i gOJVYG7Pw1oyT8i32h/Iy7wpefQPfikozC41zzKa/Ak8eouGlKYDtykOVprMwvaO9E5KthlID6U PFA4aTSa/CbBsohw1RSh/qqDZb5SfhE8zEOwhzsVl0XzMHJLBMEo3mNzmKgcVfsjiVqOB9RFZXU ULrkKvHyPb0SedLPOft97PQKmHfQqn1p1foeUuBNArUaEfTZ6rX7/lOHX8QP3CTl41ckKRmdBVw jO2MdiHoq4IuEPs3R6+nRVyuLA6tAKaCVFBPSI5sxYxUDajAjlHTYvB05KzEX7zga3LupREqo1p y0oz9n6vmkgOB3rlCMF66vBVp5kdlMCga6Qd5fGPB2idD8ozTwxdijM0bDGYPBSqDgzAGxwD/Tu s281AynyzirQ+TbauFO/pR67Ycj10qe1OwvZCABDOAepAQ025lhY7n1621FA8= X-Received: by 2002:a05:600c:698c:b0:499:adb5:e7b2 with SMTP id 5b1f17b1804b1-49b91c3ddc7mr38429415e9.11.1787869558933; Thu, 27 Aug 2026 15:25:58 -0700 (PDT) Received: from m2.. ([37.142.156.156]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-49b494228bfsm79722395e9.2.2026.08.27.15.25.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Aug 2026 15:25:58 -0700 (PDT) From: Michael Zaidman To: lee@kernel.org Cc: linusw@kernel.org, jikos@kernel.org, bentiss@kernel.org, brgl@kernel.org, linux-input@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/13] HID: ft260: add UART and GPIO support, plus I2C fixes Date: Fri, 28 Aug 2026 01:25:50 +0300 Message-ID: <20260827222550.24634-1-michael.zaidman@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260827205116.GJ2943942@google.com> References: <20260827205116.GJ2943942@google.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Thu, 27 Aug 2026 at 21:51 +0100, Lee Jones wrote: > That's precisely what MFD is. It's one chip, usually with a shared and > overlapping register spaces, that conducts multiple functions. This is > no different to any other single-chip device or SoC. > > Shoving everything into a single driver isn't how things are done in > Linux. This should be divided up into the associated sub-systems where > each part can be reviewed and looked after by the appropriate SMEs. Understood, and I am not going to argue MFD scope with you. But this is not specific to my series, so I would rather not decide it here on my own. drivers/hid already registers other subsystems' devices from a hid_driver: hid-cp2112 adds an i2c_adapter and a gpiochip, hid-mcp2221 adds an i2c_adapter, a gpiochip and an IIO device, and hid-ft260 has hosted the I2C adapter since v5.13, commit 6a82582d9fa4 ("HID: ft260: add usb hid to i2c host bridge driver"). So the split you are asking for is not a change to this series. It means moving code that has been in drivers/hid since v5.13 into an MFD parent with cells, and the same reasoning would apply to cp2112 and mcp2221. I am willing to discuss that as its own conversion, but it needs the HID maintainers to agree on the direction first, and I do not think the UART and GPIO support should wait behind it. It would also spread the driver over four trees, so a fix touching the shared chip state becomes a cross-tree series with coordinated merges between four maintainers - a cost the single driver does not have. Jiri, Benjamin - this is your call. Do you want FT260 functionality to keep growing inside hid-ft260, as cp2112 and mcp2221 do today, or do you want a drivers/hid to MFD conversion for this class of USB HID bridge chips? Thanks, Michael