Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2987820pxp; Tue, 8 Mar 2022 05:52:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzMPzAk5ZFEeCMQzKI4aLzWsW8d/MSUXZcuzvkxOlvuZYYamBwIKNHwluOQ42p/qYY0qhqu X-Received: by 2002:aa7:d711:0:b0:416:11c2:55fa with SMTP id t17-20020aa7d711000000b0041611c255famr16549307edq.242.1646747554446; Tue, 08 Mar 2022 05:52:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646747554; cv=none; d=google.com; s=arc-20160816; b=03SXI3JGGZPQ/YKVmc9DwyPYS5cqnxE6yey18f8G7RweJUWYPlFCLGQb4Br55g3mmE 3h9d3w+B2km7nSPn8BtAbNRukqH/JSd7nYJ3lus5dJhqLCi3r0aJuHFi7pBRaC1XBmrQ s+i9LSz4fdqG7nrGqPnENPmTGvtO4VzeBBgTcjpu4P3Gw/4o8+Y/BwRPFsl/ki3+1P9l wqwK5m3RBKIwBGDt0dm5Ri3Cmc7D1TdHo3OzJi9H6kK24q4Vgj/hG23qB77U65Csw1Nf Tnx9ruSI5W2IT7DXd8tdl99fjSwR17ZsPMlG5LcaeSE6g1dQ/EEkFkWZ9/W54ThJU4fG l2Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=jrabGUJysN1uwfEgo+iq98edk990rUt8WRb/QOzKRYc=; b=TCEE3Ol3Eg6o6bxgzgOma2WlENnOOTz9s0/NoKv9yxaaYwELy3UjbaNtp92/avddhB 2BBLDUMzJaTlE30qsnEGue+iZeNlzYIkHNLbBuagGQPUdWjGWI5k/Dg38B6qhsCXSZYf YVdCBSpwi7PJsUffdBF+ELEXFhtP0X4Wx9fuGsURhy0AHs2vYT7M29d3X+0C9IJ2hSB9 odrRkV0Y94GLFrgxfiTMZlamEsa0VxCqsM2JClYJXTiDI+aVLM0ubB2E3Acu4yOP8tE9 BudaWlrCr7tCBBqcFNnmw/PdqP5Q+SURPEK+Li0TLaBOELTcLTmX0YbYkxuDX53FDx56 PDjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ahkuBYs1; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr14-20020a170907720e00b006d03ab2b4dcsi12635834ejc.712.2022.03.08.05.52.11; Tue, 08 Mar 2022 05:52:34 -0800 (PST) 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; dkim=pass header.i=@intel.com header.s=Intel header.b=ahkuBYs1; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243511AbiCHNBJ (ORCPT + 99 others); Tue, 8 Mar 2022 08:01:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347071AbiCHNBF (ORCPT ); Tue, 8 Mar 2022 08:01:05 -0500 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40E1F47AE8; Tue, 8 Mar 2022 05:00:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646744405; x=1678280405; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=murWsNFPOe1OlSq+kj5GaepW/BVIXTdSkeIeUhjHRNg=; b=ahkuBYs1tXbnkkWSCnjvFnmwyQWDWJtmcq8akufPw2CnjQKV01mFPMZ1 xtorutZ4PZbhfrKrC36Qlj9OOmE9vkowbRvv0qACN1QHwWkFCkYpCQ8on Nqotn1tpp5sBlnSKzaoKuHQFOhu6WOM/soLx7p9inhkmNd0M/hr8bsjtL 4k4ZRVJzo38dh6DySNDuvGHFyzZZ+XnTevt9sdPunI1bTo9zMiDem1H/K FuJZm+c/YLflCQMdzwGrBKMy2z3Gpz23qn7yrLUJN+iAS793J3IyPe4Lb 84FzIoqfwPkOu/GJp5FGYjS2dJOBhnHJkA2dtr32JsBxDDfyNeSHYdWJq Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10279"; a="315391326" X-IronPort-AV: E=Sophos;i="5.90,164,1643702400"; d="scan'208";a="315391326" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2022 05:00:04 -0800 X-IronPort-AV: E=Sophos;i="5.90,164,1643702400"; d="scan'208";a="537558240" Received: from lpessina-mobl.ger.corp.intel.com ([10.249.37.31]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2022 05:00:01 -0800 Date: Tue, 8 Mar 2022 14:59:59 +0200 (EET) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: Lukas Wunner cc: Andy Shevchenko , "open list:SERIAL DRIVERS" , Jiri Slaby , Greg Kroah-Hartman , Linux Kernel Mailing List , Johan Hovold , Heikki Krogerus , Raymond Tan , Heiko Stuebner Subject: Re: [PATCH 1/7] serial: 8250_dwlib: RS485 HW half duplex support In-Reply-To: <20220308122220.GA24694@wunner.de> Message-ID: References: <20220302095606.14818-1-ilpo.jarvinen@linux.intel.com> <20220302095606.14818-2-ilpo.jarvinen@linux.intel.com> <20220306184857.GA19394@wunner.de> <20220307191854.GA27748@wunner.de> <6931d6ad-7520-b585-a8ba-35349e730bb@linux.intel.com> <20220308122220.GA24694@wunner.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-177724195-1646744404=:1613" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-177724195-1646744404=:1613 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT On Tue, 8 Mar 2022, Lukas Wunner wrote: > On Tue, Mar 08, 2022 at 02:16:56PM +0200, Ilpo J?rvinen wrote: > > The SoC also has a pin to select between RS485 and RS232. With a combo > > transceiver, TCR-based heuristic just runs into the same problems as the > > version-based one did. > > I thought this was about detecting whether hardware-assisted DE assertion > may be used (versus software-controlled), not about whether to enable > RS-485 mode. Right? HW DE assertion only works when RS485 mode is enabled so I don't see how these questions could be easily decoupled like that. That's assuming with "software-controlled" you mean RTS(RS232)+em485? -- i. --8323329-177724195-1646744404=:1613--