Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4820135ybi; Tue, 28 May 2019 03:05:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxv/RfgRbAbBeo+PClAW4TbP5cPUQ00lozyQH44z2cFBbJ7pEFrbSuNscy7Ku9dK7dmVL+R X-Received: by 2002:a65:4c4c:: with SMTP id l12mr125916264pgr.404.1559037953366; Tue, 28 May 2019 03:05:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559037953; cv=none; d=google.com; s=arc-20160816; b=BShSY0ZT1xfzfxlZDsmNoAicjQb1OASGWbjRI7DJTTUCoxSa2CCpSTPzBnRxHSXzmN tEHTp/dpwwUCY/XPyDPYrKjl/LXhXxmEy+Fk03khwrlaMVoF1CTfJxiztYT9Fs05g/GL j6zGzQJ5PZHuyOqmWtTNiaW4nXny98VFs6Uui2cqBIlQOdmz6+71LZk3lr5ovqew+T0P PgWI4WOYf3p4/ExQloLoqMzwYRUSASIeUh6sS019c85KViBoEs2tQsMsRmb7Oa0dAq7T a6sw1NxMYNfr5I9zSs2ZFvw8wHNsh1GEj/LbtW8nRJ3ZtxAAv+D2/1vIUag638d40rtV pq8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WrlTalll7MVKL0H2Nmyyt2cII2ncsMHC8nS4lF47WyY=; b=IUxN4Yp5TMGGXrE/HcgNG8Cfo1vqpVpeFMRjjrvIj5xf1HDBjcWpPJBevNZngnqNWy Ip1WOcENqokSi+y7HD5fRAgkEKwMiG2KElAj6QE2nniJHPNbZSstli7JUyS9b1gMmr7Z AwuYyTCxPXIhCA3uopHrTqA9cO3XqR8HJXV8osScT9V9J//ebc9jwqnx0TF8DdsZao+C drHrTyGF9PSBa+qg9trog8FkvD1nAhJvCHCmb13sedrxm48k4irBBkXyISkcwJxpIlns BCqdGsS1v75tqyWo7UC+hdnBtqB+XjQ6aUOw196NPI+QXzp/BGuKyVuO9Dyuu/YLRrNI uPFg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id v4si22660260pfn.197.2019.05.28.03.05.36; Tue, 28 May 2019 03:05:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726713AbfE1KDl (ORCPT + 99 others); Tue, 28 May 2019 06:03:41 -0400 Received: from mga04.intel.com ([192.55.52.120]:48752 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726236AbfE1KDl (ORCPT ); Tue, 28 May 2019 06:03:41 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 May 2019 03:03:40 -0700 X-ExtLoop1: 1 Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.157]) by fmsmga001.fm.intel.com with SMTP; 28 May 2019 03:03:38 -0700 Received: by lahna (sSMTP sendmail emulation); Tue, 28 May 2019 13:03:37 +0300 Date: Tue, 28 May 2019 13:03:37 +0300 From: Mika Westerberg To: Stefan Roese Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Yegor Yefremov , Andy Shevchenko , Giulio Benetti , Greg Kroah-Hartman Subject: Re: [PATCH 2/2 v3] tty/serial/8250: use mctrl_gpio helpers Message-ID: <20190528100337.GU2781@lahna.fi.intel.com> References: <20190527111805.876-1-sr@denx.de> <20190527111805.876-2-sr@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190527111805.876-2-sr@denx.de> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 27, 2019 at 01:18:05PM +0200, Stefan Roese wrote: > From: Yegor Yefremov > > This patch permits the usage for GPIOs to control > the CTS/RTS/DTR/DSR/DCD/RI signals. > > Changed by Stefan: > Only call mctrl_gpio_init(), if the device has no ACPI companion device > to not break existing ACPI based systems. Also only use the mctrl_gpio_ > functions when "gpios" is available. > > Signed-off-by: Yegor Yefremov > Signed-off-by: Greg Kroah-Hartman > Signed-off-by: Stefan Roese > Cc: Mika Westerberg > Cc: Andy Shevchenko > Cc: Giulio Benetti > Cc: Yegor Yefremov > Cc: Greg Kroah-Hartman > --- > v3: > - Only call mctrl_gpio_init(), if the device has no ACPI companion device > to not break existing ACPI based systems, as suggested by Andy > > v2: > - No change > > Please note that this patch was already applied before [1]. And later > reverted [2] because it introduced problems on some x86 based boards > (ACPI GPIO related). Here a detailed description of the issue at that > time: > > https://lkml.org/lkml/2016/8/9/357 > http://www.spinics.net/lists/linux-serial/msg23071.html > > This is a re-send of the original patch that was applied at that time. > With patch 1/2 from this series this issue should be fixed now (please > note that I can't test it on such an x86 platform causing these > problems). > > Andy (or Mika), perhaps it would be possible for you to test this > patch again, now with patch 1/2 of this series applied as well? > That would be really helpful. Unfortunately I'm not able to test this anymore. Andy should be able to test this but he is on vacation this week. Regarding the ACPI changes in this patch, they look good to me so Reviewed-by: Mika Westerberg