Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp642659imm; Fri, 1 Jun 2018 07:14:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI7wovbNHqHXYrB03wCpg0vv3yZqVd5/tybJkGgpWt2UVyIqAWWVAxEIl2VuodKHFXLVBuB X-Received: by 2002:a17:902:aa03:: with SMTP id be3-v6mr11327421plb.61.1527862440146; Fri, 01 Jun 2018 07:14:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527862440; cv=none; d=google.com; s=arc-20160816; b=WIhqlLcKG0nKNzvv4X4TYaxAwcm7knR4lPDYwwAfUlOGRdJfyftXPvIs1CpyeY5vWG 1FctmKk7JdPmZJY4/0Z6KU4eVbSaWpf2vGS7sO1odc6K609Usp+FoFU6Gvifu6/oDds+ khTB2sgxogF82468r10rYwok/XTqFWkwkgOaos8A8gxmL4izHVUKyskXzprg3NZqiTal Dlpk2UjYJ36ZeObYBtRjA5XI5/pLntvrVVANVP2ii5XkPRAKPdj0BFiH9SfiMQu2rLOO A2F1A3Wf6uXJYpDrjNy2x+AqX1FrL9CFbxnSrmqwSBjS+BFavj4WhKJ2jQXJUBxoVwDl GD6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=v2MogHV5/bHiZOcgbhlcE3XfOzSlexcDZrUEHImYIlU=; b=aehJd/w9I3V65KkXSZdHxq0f6ssevgOkIPLjgnkDnsfcilvvFjwRzxBpq4sTPYsDJt YwwpFcvu+okdBzFF2No7ZrtGR1kMkiG3zQHbeCV0T5o+4OABeVQUd2EQkN1Gst5YHB8Q JyIgwBHM1/WiguIH5Mgoom2a8UybzpnVqlZhN5MnBEGLNikoyc4yl6GCwawQaousrnex fiB/l5qJMH4ISprEA58WYxECO5xFND5h10yLR6a1Bw/zl267OC/PDyM7qKvXokSu8ch9 5P2eVrPnG8gmhxEn/Fkon7hNhxsgcgfU5ABOmL13mkfDYCE+hfloDVfD0kRPNpGBjssT bKVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@micronovasrl.com header.s=dkim header.b=viXN5hD4; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t20-v6si39160002plo.326.2018.06.01.07.13.46; Fri, 01 Jun 2018 07:14:00 -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; dkim=temperror (no key for signature) header.i=@micronovasrl.com header.s=dkim header.b=viXN5hD4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751822AbeFAOML (ORCPT + 99 others); Fri, 1 Jun 2018 10:12:11 -0400 Received: from mail.micronovasrl.com ([212.103.203.10]:43966 "EHLO mail.micronovasrl.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750850AbeFAOMH (ORCPT ); Fri, 1 Jun 2018 10:12:07 -0400 Received: from mail.micronovasrl.com (mail.micronovasrl.com [127.0.0.1]) by mail.micronovasrl.com (Postfix) with ESMTP id 81361B00955 for ; Fri, 1 Jun 2018 16:12:06 +0200 (CEST) Authentication-Results: mail.micronovasrl.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=micronovasrl.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=micronovasrl.com; h=x-mailer:message-id:date:date:subject:subject:to:from:from; s=dkim; t=1527862325; x=1528726326; bh=LihvZvLkjd+GAEDDt4A61p1B 2L0StgDFSUQzRN+Sjls=; b=viXN5hD4OUOmnn7UdyFxlXf+MroIioVUwJpg6Opi 73hOyyOHbYxN40Bt2hfKAOeVZ02kJn/QQC5WVKA4nHylupWpocirFWRqct/T8od6 aeqvhI9YucBTIxfZtILKbNB+x1KWXL9mQXXRvr6r9Dfi5OyX5ndVTfAyuQ5nlTqV SoI= X-Virus-Scanned: Debian amavisd-new at mail.micronovasrl.com X-Spam-Flag: NO X-Spam-Score: -2.9 X-Spam-Level: X-Spam-Status: No, score=-2.9 tagged_above=-10 required=4.5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=unavailable autolearn_force=no Received: from mail.micronovasrl.com ([127.0.0.1]) by mail.micronovasrl.com (mail.micronovasrl.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GE08o36ou1dP for ; Fri, 1 Jun 2018 16:12:05 +0200 (CEST) Received: from localhost.localdomain (unknown [87.18.119.93]) by mail.micronovasrl.com (Postfix) with ESMTPSA id 3629EB00793; Fri, 1 Jun 2018 16:12:02 +0200 (CEST) From: Giulio Benetti To: Greg Kroah-Hartman Cc: Jiri Slaby , Andy Shevchenko , Kees Cook , Matthias Brugger , Allen Pais , Sean Young , Ed Blake , Stefan Potyra , Philipp Zabel , Joshua Scott , Vignesh R , Rolf Evers-Fischer , Aaron Sierra , Rafael Gago , Joel Stanley , Sean Wang , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Giulio Benetti Subject: [PATCH 1/2] serial: 8250: enable SERIAL_MCTRL_GPIO by default. Date: Fri, 1 Jun 2018 16:11:57 +0200 Message-Id: <20180601141158.93817-1-giulio.benetti@micronovasrl.com> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It can be useful to override 8250 mctrl lines with gpios, for rts on rs485 for example, when rts is not mapped correctly to HW RTS pin. Enable SERIAL_MCTRL_GPIO by default. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index f005eaf8bc57..c7992b94fece 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -7,6 +7,7 @@ config SERIAL_8250 tristate "8250/16550 and compatible serial support" depends on !S390 select SERIAL_CORE + select SERIAL_MCTRL_GPIO if GPIOLIB ---help--- This selects whether you want to include the driver for the standard serial ports. The standard answer is Y. People who might say N -- 2.17.0