Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp216657pxb; Tue, 2 Feb 2021 03:28:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyNCFjwTN9sunycggqFZR/5p3R0gvOse6NkoXntHxVowU04frrsNJDTGIFfDSsKv4y3FErh X-Received: by 2002:a17:906:c824:: with SMTP id dd4mr20695090ejb.253.1612265303781; Tue, 02 Feb 2021 03:28:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612265303; cv=none; d=google.com; s=arc-20160816; b=mDCVNqK+Wqi/2hLljke5hOMtX00bcRliHhE6rH5ItdPuFJG37bIIh50H/Bh0A/wiJs AeAOQzJ48rwSU1iksQrHdPCt8kUNRJSrurtIF5GtEao+sOGIs42xP9wi21WfAKsw4tBR oRs//UgA6Cod7/hfm3ZtZv4/AYOlUoy41hB+iU/1Nh0w3NjNU3XBJe/c2M2mBUs8yaWg xpGSU/pKW42u7VCrpYKw0y5EwD+KWP4ZoNKV6Te4/fc7RZkNaLDLPSNIOMabo8BvSMXA d/DZhThGqIkGHCLCUg/zA7VS19vbkaR43omMpnlnPrgLi668LR5gBgFo/lUj++r62AmC WgIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=vGcQFwMZWnZaj7sx8/aw7r3hwqemNA3kc9ezRgVmvWg=; b=HSQb3lMjSYFOaff2IaDFVX/6tyyI7xJaxzc7i4rCYMXvMhoVmMqsdVEyYqDZKU1PFO nyhkF3UHA2hKasezxJCwx+fquFnMW0GWMDLsIr+s0EQ2sNwyP2CzeKpEe311ig7uBUGV sYrNTMhP04C9SPXUMLWuHYy8hJ/n3nrzRqVWF7u1bB2VCAeTo1m/EIuNmIJsZItyB2jU jnhaZxcPaJ1G3L9fEubqm/0ak5tWI3CwPMoQn8L24t4hMhfSpPWzQn+YeIJM3ftEVlKP 7M3pTCC/+pIrAMpy/5AqbQJTiuBvo7+x+Zq2HZeDu1jXYSMV27cvOxcf9wimPREVSgyU CXGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l13si13634989ejg.426.2021.02.02.03.27.59; Tue, 02 Feb 2021 03:28:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231402AbhBBL1E (ORCPT + 99 others); Tue, 2 Feb 2021 06:27:04 -0500 Received: from mga05.intel.com ([192.55.52.43]:42302 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231245AbhBBLYG (ORCPT ); Tue, 2 Feb 2021 06:24:06 -0500 IronPort-SDR: 90cM5wyiVTkRt1gQbOKr+m+Gvo0vJ5g2wZ8iwVhye4HtVaHi0Dr5adrCFPvNfN4ylW3s29ko1z 3ivyp59KvNqw== X-IronPort-AV: E=McAfee;i="6000,8403,9882"; a="265669327" X-IronPort-AV: E=Sophos;i="5.79,394,1602572400"; d="scan'208";a="265669327" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2021 03:22:17 -0800 IronPort-SDR: moMPn00gvSZCt+UezBpZ7wwZYzT4zWMIrShx2RULg13yS8k8EYKpYFVSEU+ImgSugF3lwKsHQm KBdglL1MkTPA== X-IronPort-AV: E=Sophos;i="5.79,394,1602572400"; d="scan'208";a="413557648" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2021 03:22:14 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1l6tl5-001NIM-WD; Tue, 02 Feb 2021 13:22:12 +0200 Date: Tue, 2 Feb 2021 13:22:11 +0200 From: Andy Shevchenko To: Giulio Benetti Cc: Heiko Stuebner , gregkh@linuxfoundation.org, jslaby@suse.com, matwey.kornilov@gmail.com, lukas@wunner.de, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, christoph.muellner@theobroma-systems.com, Heiko Stuebner Subject: Re: [PATCH v3 5/5] serial: 8250_dw: add em485 support Message-ID: References: <20200517215610.2131618-1-heiko@sntech.de> <20200517215610.2131618-6-heiko@sntech.de> <20200518152103.GI1634618@smile.fi.intel.com> <1f7881b5-f900-dbbe-3f8d-f990d2bdf5a7@micronovasrl.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1f7881b5-f900-dbbe-3f8d-f990d2bdf5a7@micronovasrl.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 02, 2021 at 01:31:17AM +0100, Giulio Benetti wrote: > Il 18/05/2020 17:21, Andy Shevchenko ha scritto: > > On Sun, May 17, 2020 at 11:56:10PM +0200, Heiko Stuebner wrote: > > > From: Giulio Benetti > > > > > > Need to use rs485 transceiver so let's use existing em485 485 emulation > > > layer on top of 8250. > > > > > > Add rs485_config callback to port and uses the standard em485 start and > > > stop helpers. > > > > Would it prevent to use native RS485 support? > > 8250_dw doesn't have a native RS485 support, do you mean using hardware > RTS assertion? Anyway at the moment it's not present. This would be the > first rs485 support added to 8250_dw. DW v4.0+ has it. -- With Best Regards, Andy Shevchenko