Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2642110lqz; Wed, 3 Apr 2024 04:35:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVteNtVQgBRSTRigQuhV4kXou/ENJfKNf+9vdnpLkKvHeQctMSmIhXeH4QKM/9WUYtZr/2dwv+PwrezeDYx5hieLUZXdE87nu7tDQhMTg== X-Google-Smtp-Source: AGHT+IEpVWLBAWNVJnXIa1Mjf3oOp4VMAGNSFrHmsIRAi9roHx6N6jx6Z6MiT8xSg3smviB+Bsrg X-Received: by 2002:a81:8495:0:b0:615:2ce9:6cf2 with SMTP id u143-20020a818495000000b006152ce96cf2mr3767557ywf.44.1712144115272; Wed, 03 Apr 2024 04:35:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712144115; cv=pass; d=google.com; s=arc-20160816; b=pFpWtSIlTYe2uMEkSGkXUMggnIeqoGf25DlG7kNllG0Kta6kkh6ouZffxI6xvBYiou tnd3kvNqoFHJ2wv/c96TkU7Y1U7xefFeiqcjmc34yk3rLMWZtHSsF8dYgsDUlr7SlNuU hNlJ6zl8xmjAJwfjXcI5eB0GIY1LooNyIwiZe+nbo4tbBxMiFRnevikJ2RHA3C27c2H8 j4m9wVk4DZoIUhoVwglGBHbOkqlgx0bf2gLqjM2V0ywb0OGtLK+k9BDzFrvMls5CrOHu M1mHqzhNaMfFR1Ud2UaeGy2G/JroYvoeSGYwEyg27Q99Ouw3Hz4vD1+P3wBaxiXzm6+d xjNA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=6cW+zY4/pq1361B9Fsnog/1S5cM2lpria31q6f8lvJM=; fh=h3eTqoRcBdAkIZs3kYaa2EQyFX8vLZchOzYh5/h5Dn4=; b=tVkaBVTXqu7Exgm69LrM0YUgx6sHiZxcxZDBhaWPF9NFOS8tyEeMkxyKXVr3dGzWfr u3/KZ9DoVkKHdXx0nLimn6q+t7KTARCS0Arhddzj5xlFiNUBcjP2MSp0LYnhYr2122X/ FumnSOdwWmjExNDXxJNEupL2nWizs8/tjZ2DcExR22qfB7er5YZwTDJzERGOV9COxiM7 8Rj6OU2wjKlxM5wVD+tvLMRrGzD7P/Ldx4CYji1JshmAdXdRdtXWfKdQaa4dWHBZ3oGY qLXWPJoM3hrVLoH8vXgsy+JyxXAyZCu3R12tuPYZeDtVGvypvGJxF8pib6vyvGmOApEq FfrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YPYoONGP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-129665-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129665-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x9-20020a05620a098900b0078a31e1ec3asi14459397qkx.109.2024.04.03.04.35.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 04:35:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129665-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YPYoONGP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-129665-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129665-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 01C9A1C253A4 for ; Wed, 3 Apr 2024 11:35:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1177146593; Wed, 3 Apr 2024 11:34:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YPYoONGP" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0A7313958E; Wed, 3 Apr 2024 11:34:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712144093; cv=none; b=jA+5n+Uy/d1VVDBJBzYTguktbknei4LHLTJ5/cwCvT5xTZfPfJC+Qv92wrFpurNplcbSyX+soLNymo3ZT2naqB0dPgPBgsePNOHNPIwbeC8Csg8/3pf6CmL2+I1HnyaITACqA3koNI+mrn/YfH+1pqCgV08J1Lq/2PoqEhZkam8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712144093; c=relaxed/simple; bh=/1FdhJ9j3YsGxn2x6BZ0RA0uu6K60/KgnMao7N8mf9I=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=gumErw763k56hsAF1FCOhHhSnpJ6ul6zmLUa9jw5m+TqKrRQEDu4YfYTptEZ35HTy7q9iP3mfg5M0Od6s0fHYZxNN1ap8jUI/E6+r7fV1lxdSRYxZlT8nDUdLQwtMBWRqzWGorHh03pgEpiIVz93JeFMoczW6xqOb+WU3YBZp5o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YPYoONGP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26BB9C433C7; Wed, 3 Apr 2024 11:34:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712144092; bh=/1FdhJ9j3YsGxn2x6BZ0RA0uu6K60/KgnMao7N8mf9I=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=YPYoONGP9VG+OzIO9HijTwRnUDAEVbNhe3G6DttCorCsK8ZZR5gc44qDs66ibmzhp tdidGS4DAE1KHsSpKPY/lqY5dJF2s393LD5eWw4kbJxJYFe5GGSv4Lk++dU9ShVyC1 f6IaDVCkjqxpLlq6jEUB/QXr/BioJLaxfyIXMXiOiYalSl7fH+kS0PDgXSrvpcNhJF RpjpT6Ra5R/+lgo+S36viFSbDHjgHwL+5gfP/zBBMiV3XTo7/Rqm5G8cfnDiua7ION Z1goY2uzodJxbr58oWljrtJjw5BQJ3i8X3d5Zlo0Lj3uNmp1hIj1mBZRVllT/Z6oYs fCxTUrdJhjjTg== Date: Wed, 3 Apr 2024 13:34:50 +0200 (CEST) From: Jiri Kosina To: Christina Quast cc: Benjamin Tissoires , linux-i2c@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, equinox@diac24.net, Daniel Beer , Michael Zaidman Subject: Re: [PATCH v5] hid-ft260: Add serial driver In-Reply-To: <20240216-ft260_review5-v5-1-36db44673ac7@christina-quast.de> Message-ID: References: <20240216-ft260_review5-v5-1-36db44673ac7@christina-quast.de> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Fri, 16 Feb 2024, Christina Quast wrote: > Adds the serial driver for FT260 USB HID devices, providing direct and > simplified access to UART functionality without the need for FT260 HID > report format knowledge. > > This chip implements an UART and I2C interface, but only the latter was > previously supported with a kernel driver. For the UART interface, only > FTDI example code using hidraw from userspace was available. > > This commit adds a serial interface /dev/ttyFTx (FT as in FT260), which > implements tty serial driver ops, facilitating baudrate configuration, > data transmission and reception, termios settings. I don't see a dependency on CONFIG_TTY being added, and I believe it should be there (even though !CONFIG_TTY configurations are likely super-rare). Thanks, -- Jiri Kosina SUSE Labs