From patchwork Thu Mar 7 16:18:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugo Villeneuve X-Patchwork-Id: 778782 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6B85D130AF3; Thu, 7 Mar 2024 16:52:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=162.243.120.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709830335; cv=none; b=IoRD7J89BMil8rebGloxgAZTzoFhXJj7z7A6EdDvCyPJMKYiWvlxIkvy9Pg4o1JHo0x0SgNcudNlt8Lnejwhx9uMmd0gWPSgE2qlO9acnOwOxf9jIq/2TofFpK+IHAsDF359CkJr9Bj41w9gQrV6mtDRYPZVbbKpXTc1JyYQrdw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709830335; c=relaxed/simple; bh=iX/jZ6x7JPoYKfE3wKn+A8vOt4Aa7voggEBapOK97Ys=; h=From:To:Cc:Date:Message-Id:In-Reply-To:References:MIME-Version: Subject; b=VoEQjgUGxXBhN2BgtgCVsU/svXT7DcMt+aPmTcEjslhX6Gfnyn11vpZrgGYZhwIFPt1hR3rDZNPHKbt/pUEe7odrZq9Sol8Zl0HGKzCSr/IwZv3wYI74sdKjp5bLnm38L/1NudfDZ9PwOLi2oCgPypPYu5QmA+x3racfvsG9YLI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hugovil.com; spf=pass smtp.mailfrom=hugovil.com; dkim=pass (1024-bit key) header.d=hugovil.com header.i=@hugovil.com header.b=DEcbVVhv; arc=none smtp.client-ip=162.243.120.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hugovil.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hugovil.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=hugovil.com header.i=@hugovil.com header.b="DEcbVVhv" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Cc:To :From:subject:date:message-id:reply-to; bh=/gIgOLz3wVbfgBdtwAQlAKb78cdDXKUGPHpE/f9zKGA=; b=DEcbVVhvb0WPj3HwB5ZJVd8XGO 9ZdEuuDtwwE0BiXTk21tVzCrRnAXtdq9B3sbUy98XlaOQFZ8OZJFMcrNhJ6rrl4ru7aOfwBNXOVUr pfwDmxaVueUCkZgTD0yPNDsQSiAgEYXV7vwhgFcdwu1yEkmk1OE9C7E+TK5IL6s2R9B0=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:57020 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1riGS4-0005lI-Up; Thu, 07 Mar 2024 11:18:37 -0500 From: Hugo Villeneuve To: gregkh@linuxfoundation.org, jirislaby@kernel.org Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, hugo@hugovil.com, Hugo Villeneuve Date: Thu, 7 Mar 2024 11:18:25 -0500 Message-Id: <20240307161828.118495-2-hugo@hugovil.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240307161828.118495-1-hugo@hugovil.com> References: <20240307161828.118495-1-hugo@hugovil.com> Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Level: X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -0.0 T_SCC_BODY_TEXT_LINE No description available. Subject: [PATCH v2 1/4] serial: sc16is7xx: simplify and improve Kconfig help text X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) From: Hugo Villeneuve Simplify and improve Kconfig help text for SC16IS7XX driver: Especially get rid of the confusing: "If required say y, and say n to..." in each of the I2C and SPI portions. Capitalize SPI keyword for consistency. Display list of supported ICs each on a separate line (and aligned) to facilitate locating a specific IC model. Signed-off-by: Hugo Villeneuve --- drivers/tty/serial/Kconfig | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index ffcf4882b25f..48087e34ff52 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -1028,9 +1028,18 @@ config SERIAL_SC16IS7XX select SERIAL_CORE depends on (SPI_MASTER && !I2C) || I2C help - This selects support for SC16IS7xx serial ports. - Supported ICs are SC16IS740, SC16IS741, SC16IS750, SC16IS752, - SC16IS760 and SC16IS762. Select supported buses using options below. + Core driver for NXP SC16IS7xx serial ports. + Supported ICs are: + + SC16IS740 + SC16IS741 + SC16IS750 + SC16IS752 + SC16IS760 + SC16IS762 + + You also must select at least one of I2C and SPI interface + drivers below. config SERIAL_SC16IS7XX_I2C bool "SC16IS7xx for I2C interface" @@ -1041,9 +1050,7 @@ config SERIAL_SC16IS7XX_I2C default y help Enable SC16IS7xx driver on I2C bus, - If required say y, and say n to i2c if not required, - Enabled by default to support oldconfig. - You must select at least one bus for the driver to be built. + enabled by default to support oldconfig. config SERIAL_SC16IS7XX_SPI bool "SC16IS7xx for spi interface" @@ -1052,10 +1059,7 @@ config SERIAL_SC16IS7XX_SPI select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX select REGMAP_SPI if SPI_MASTER help - Enable SC16IS7xx driver on SPI bus, - If required say y, and say n to spi if not required, - This is additional support to existing driver. - You must select at least one bus for the driver to be built. + Enable SC16IS7xx driver on SPI bus. config SERIAL_TIMBERDALE tristate "Support for timberdale UART"