Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1062290imw; Tue, 5 Jul 2022 03:09:34 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ujbtSTKygfvYsF9tp3sc63IIEdNlMnQfChuwEp5CbJmvWOLv8YGfn01+8Xjrg4uouQmn7I X-Received: by 2002:a17:90a:1a14:b0:1ef:91a9:3c91 with SMTP id 20-20020a17090a1a1400b001ef91a93c91mr6861700pjk.203.1657015774633; Tue, 05 Jul 2022 03:09:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657015774; cv=none; d=google.com; s=arc-20160816; b=U8L0HBl8u4m3K+3ea0DkZihM8qegFaktAxJvRZDvyabVr2ii/cHtzHRFW7vkMkTwEa wN8veuvGHMIuiFGH8JUGiSD7HDRlS/Ike5WsLJgzXwNeKaqvce5LPFl1/OSMiv4vMnCA dMUn+zD4YApzWuwD5Jdi4HBddST6yOMF4tRzgtmDduAqoD0a/bkmgBplqWc5Kh9panWg sSG00Yt8H1I1HxQWJFcV8FW4Hi5kfkQOS/GcsVpTFZTum5F6Oe4WPyxaojh+cMzICqxU lMItJRqn4X24OE9DMY8R5PtkrxpM04apGs8XxZIS1aBKVXv2Yv9Q6yGfgCiDJTnsWE7f DwmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=W8+QrvACQn9WMUlGvEAzS4YKgDTyQ2IUW/FqaPUj1o4=; b=dM6jnmuP4+9tgsoCnvT/IinCLmRZ5DNMkUnU6ewatZi66BgYOdU4XPyXDYZODBYsiI VzxbSD2OhMhJgzGrK7hOSS1m11+X9rSOoWjzRI4UkZdT/ONmBLwqroj4OTCyTKMx5ENi k3WUH5fcH/5BSlGOfCjTgsRJJh3YdNOFpn3KNY96ZmaGbyruAwpmVuG3mxNigfveUGqx p5jsJFMePfs0UBoF1kL+9LsLY3yeXjnkLCOqzsG9JdZ7lfdT8dAclPjMDEp4Dzz/3rc8 pwg1Z7nS2wP2ebB7cX6iJrnIOYXc9d55472oAYH2aWZmUiPl4VHAmOjHRXJV43u/ao2w l+Qw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hk6-20020a17090b224600b001eca5cba1b3si16032629pjb.163.2022.07.05.03.09.22; Tue, 05 Jul 2022 03:09:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230058AbiGEJ7O (ORCPT + 99 others); Tue, 5 Jul 2022 05:59:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231309AbiGEJ5R (ORCPT ); Tue, 5 Jul 2022 05:57:17 -0400 Received: from mail.enpas.org (zhong.enpas.org [IPv6:2a03:4000:2:537::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DCA7CB7F9; Tue, 5 Jul 2022 02:56:19 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.enpas.org (Postfix) with ESMTPSA id 247EEFF9BF; Tue, 5 Jul 2022 09:56:16 +0000 (UTC) Date: Tue, 5 Jul 2022 11:56:13 +0200 From: Max Staudt To: Marc Kleine-Budde , Geert Uytterhoeven Cc: Wolfgang Grandegger , linux-can@vger.kernel.org, Vincent Mailhol , Oliver Neukum , Linux Kernel Mailing List , Vincent Mailhol , Greg Kroah-Hartman , Oliver Hartkopp Subject: Re: [PATCH v9] can, tty: can327 CAN/ldisc driver for ELM327 based OBD-II adapters Message-ID: <20220705115613.69d32b22.max@enpas.org> In-Reply-To: <20220705094927.vgtxcjh4klw6dcg3@pengutronix.de> References: <20220618195031.10975-1-max@enpas.org> <20220627150557.qluqtejrddj5nfif@pengutronix.de> <20220627190126.4eb57a2b.max@enpas.org> <20220705094927.vgtxcjh4klw6dcg3@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 5 Jul 2022 11:49:27 +0200 Marc Kleine-Budde wrote: > On 05.07.2022 11:43:52, Geert Uytterhoeven wrote: > > So development started before commit cd6484e1830be260 ("serdev: > > Introduce new bus for serial attached devices"). I guess that is > > the reason why this driver uses a line discipline, instead of the > > serial bus? > > > > I had a quick glance through the various revisions posted, and it > > doesn't seem like anyone mentioned the serial bus. Would there be > > any advantage in migrating to the serial bus? > > Does serial bus work with hot plug devices like USB Serial Adapters > and/or devices that are not described in the device tree? This is indeed the reason. The device cannot be autodetected, as the UART has no identifying information (USB VID/PID or the like, and don't forget the BT variants) attached to it, hence the manual attachment. Max