From patchwork Thu Feb 8 16:58:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 198574 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp446526dyd; Thu, 8 Feb 2024 12:57:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU+5x1rMqK6DJlR9V8Qf1pn5oR+77Wa1ru0TR7g7awZ5VqyUAGa7ULdE0aG09FEkF6bUSfcqReeXym6hdjBxagiBg9amA== X-Google-Smtp-Source: AGHT+IFXyDtz4Atv6G5mFez/AVfofO7qtGznbR3AD0PRXG0YuUnEw5YLq2BixbwoAm06E6ZL9NZG X-Received: by 2002:a17:906:2b4e:b0:a37:73be:7f56 with SMTP id b14-20020a1709062b4e00b00a3773be7f56mr403922ejg.22.1707425822064; Thu, 08 Feb 2024 12:57:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707425822; cv=pass; d=google.com; s=arc-20160816; b=FZOieOU8WSNOrCM1T1Iv/7I7+7iv5tT/pMgOEZHmzbn0x8sLu0W3LJO4grbvi+iZ3Y pt5EcvTq34sFxK4lG6ZbCewRrM8uLFIx3asFMYy2BFwnu6tQXFKC2ltkr21XdoSxpyw9 48BiPVty9fVYyQUfRqiZpgmnHmqC3oo3q/X7ckjHO7nZoJ/pQrRnaPmKcvwZS0eZP9xJ wChQuK41gwoI4QHaqsr8APR77psT/z8FFbJDmGWAV+t3lO90n7difmlbP3xkfvkcdik3 qwSEwzfnqB4ZPPGoPu8QqdfIKU5nChWlSQbVMvN7cd/qVEPqqklthDHuzOkdyczcIt1A WIDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=iJXgImdyiWl36jXfqlg7UOXNxx3T/hLj4YbpY9NU+vk=; fh=bPBXx9IoVnxH9kFfUSd/0+SnxhczZsjJIwtNULXlq0o=; b=PTXnAS1NOsOC+qeQ6PPNLYZV3gwVCe0HsUgA94IkiBUcTCYAl7opKfp8ZZsNRoY2Zk OCMXEwBFqZiFTkIuekTzOjqRCIbTFGxUg9OEj+AbPJYRjdlU52pHVuDOPLDLTSx4xbjv L1v2r644cLMzyRbG9FPgLqnRRBvjC2R0Ab4fXJxfkC7rPHXZagC1tJO1TlTPtnrmSmfO LjYHIrlm5oHCJHY1fnVdr+NLFTw0+mk4/0RAOEJA9roxjUnnIeEtbyyizeEZlCLEZW+l dT+NMCza4rifek62s1hqSvAZuCz8UzS+4osKbBqc2rzPp2E2lW1ZKjyeMzoVeljB9qHU h6Rg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=inMS7K2y; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-58439-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58439-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCXmH8X5RdEmYWTNBDQqYHBQ8fk95GYpjOyvY5vdEgwZMWXXHdv2fdxxhfZHUObwb9gWjojRV8sYcskqaR6oTo9pNvYhjA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l12-20020a170906414c00b00a37debdad2bsi47146ejk.683.2024.02.08.12.57.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 12:57:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58439-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=inMS7K2y; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-58439-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58439-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2F4AE1F2A4EE for ; Thu, 8 Feb 2024 17:20:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 762FE1292D9; Thu, 8 Feb 2024 17:17:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="inMS7K2y" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (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 022438121B; Thu, 8 Feb 2024 17:17:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.16 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707412657; cv=none; b=Rv9KnAlqkyHuRSAhr9ewA0D6x4NSOUXhU86+KB9bW825HsqMqiJgk7IcSUP+Ys9kbvRFXCu+29bekThv2YH7/RbFIMrms/SkkEfGRBFda/2MnS28sbNBfbDtkEYFMXdzlLnGwOWJ223yWrNwapCkJoc16OlQqKT9IHbQJ+n3U0I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707412657; c=relaxed/simple; bh=Fg8HFd6qXwgrRuKizTmdQy4zN2vPEsdI81OkVtdnatg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qZ5TFir34wpbmLgSaM2ymKOzrUcJJBMJtpjVpabUzMqQNKqNwAX4+H9QA1sMPksjDJEhgjUELJB9u6CYwxoKVOAejP5PD2qKwBjbTpvyuFANe+3/joESmRwMTdDhLFxpmT8Wiluc8KzR9C/y2VBkNAUqqPyJ5eHdWZR8VcQqYmg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=inMS7K2y; arc=none smtp.client-ip=192.198.163.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707412655; x=1738948655; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Fg8HFd6qXwgrRuKizTmdQy4zN2vPEsdI81OkVtdnatg=; b=inMS7K2y4NKgs4TmUojWeFTQYcLpmiR0bk/Ch8CkMFrp8ThyJLBhG8NE drYRM3C2w/TpbG/USSMEVBJ2f3zNQH1PRIIHqB2qwdl/nd2GDvChKrOyv ygNJw22cFBClhc7WSuvo5xh8R6u5Zfjl+kF+r7cZKyVihTH1L8nusioYf 7lXA6jv12BHgu56hpw866Qz9lpxZcasDW81QeGm+YLuLIjHQ8jTbfR/s1 z77qdPPkdELhPYUxxHuaomDsoF5VOwHbC4RCaG+8zvBhxCbUPG1FIIYOP +ahV7KS06Ul2kEsN6s1KNzJRamJ6/OFWe36dpyegOdBpHyvYR/iuK+teM A==; X-IronPort-AV: E=McAfee;i="6600,9927,10978"; a="1565667" X-IronPort-AV: E=Sophos;i="6.05,254,1701158400"; d="scan'208";a="1565667" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2024 09:17:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10978"; a="934195371" X-IronPort-AV: E=Sophos;i="6.05,254,1701158400"; d="scan'208";a="934195371" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 08 Feb 2024 09:17:29 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 5B2E6147B; Thu, 8 Feb 2024 18:59:41 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Miguel Ojeda , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robin van der Gracht , Paul Burton , Geert Uytterhoeven Subject: [PATCH v1 07/15] auxdisplay: linedisp: Group line display drivers together Date: Thu, 8 Feb 2024 18:58:50 +0200 Message-ID: <20240208165937.2221193-8-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20240208165937.2221193-1-andriy.shevchenko@linux.intel.com> References: <20240208165937.2221193-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790365738601541808 X-GMAIL-MSGID: 1790365738601541808 For better usability group the line display drivers together in Kconfig and Makefile. Signed-off-by: Andy Shevchenko --- drivers/auxdisplay/Kconfig | 32 ++++++++++++++++---------------- drivers/auxdisplay/Makefile | 12 ++++++------ 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/auxdisplay/Kconfig b/drivers/auxdisplay/Kconfig index d944d5298eca..a34a9a52158f 100644 --- a/drivers/auxdisplay/Kconfig +++ b/drivers/auxdisplay/Kconfig @@ -25,12 +25,6 @@ config CHARLCD This is some character LCD core interface that multiple drivers can use. -config LINEDISP - tristate "Character line display core support" if COMPILE_TEST - help - This is the core support for single-line character displays, to be - selected by drivers that use it. - config HD44780_COMMON tristate "Common functions for HD44780 (and compatibles) LCD displays" if COMPILE_TEST select CHARLCD @@ -52,6 +46,16 @@ config HD44780 kernel and started at boot. If you don't understand what all this is about, say N. +config LCD2S + tristate "lcd2s 20x4 character display over I2C console" + depends on I2C + select CHARLCD + help + This is a driver that lets you use the lcd2s 20x4 character display + from Modtronix engineering as a console output device. The display + is a simple single color character display. You have to connect it + to an I2C bus. + config KS0108 tristate "KS0108 LCD Controller" depends on PARPORT_PC @@ -153,6 +157,12 @@ config CFAG12864B_RATE If you compile this as a module, you can still override this value using the module parameters. +config LINEDISP + tristate "Character line display core support" if COMPILE_TEST + help + This is the core support for single-line character displays, to be + selected by drivers that use it. + config IMG_ASCII_LCD tristate "Imagination Technologies ASCII LCD Display" depends on HAS_IOMEM @@ -177,16 +187,6 @@ config HT16K33 Say yes here to add support for Holtek HT16K33, RAM mapping 16*8 LED controller driver with keyscan. -config LCD2S - tristate "lcd2s 20x4 character display over I2C console" - depends on I2C - select CHARLCD - help - This is a driver that lets you use the lcd2s 20x4 character display - from Modtronix engineering as a console output device. The display - is a simple single color character display. You have to connect it - to an I2C bus. - config ARM_CHARLCD bool "ARM Ltd. Character LCD Driver" depends on PLAT_VERSATILE diff --git a/drivers/auxdisplay/Makefile b/drivers/auxdisplay/Makefile index 6968ed4d3f0a..43bad850481c 100644 --- a/drivers/auxdisplay/Makefile +++ b/drivers/auxdisplay/Makefile @@ -5,12 +5,12 @@ obj-$(CONFIG_CHARLCD) += charlcd.o obj-$(CONFIG_HD44780_COMMON) += hd44780_common.o -obj-$(CONFIG_ARM_CHARLCD) += arm-charlcd.o +obj-$(CONFIG_HD44780) += hd44780.o +obj-$(CONFIG_LCD2S) += lcd2s.o obj-$(CONFIG_KS0108) += ks0108.o obj-$(CONFIG_CFAG12864B) += cfag12864b.o cfag12864bfb.o -obj-$(CONFIG_IMG_ASCII_LCD) += img-ascii-lcd.o -obj-$(CONFIG_HD44780) += hd44780.o -obj-$(CONFIG_HT16K33) += ht16k33.o -obj-$(CONFIG_PARPORT_PANEL) += panel.o -obj-$(CONFIG_LCD2S) += lcd2s.o obj-$(CONFIG_LINEDISP) += line-display.o +obj-$(CONFIG_IMG_ASCII_LCD) += img-ascii-lcd.o +obj-$(CONFIG_HT16K33) += ht16k33.o +obj-$(CONFIG_ARM_CHARLCD) += arm-charlcd.o +obj-$(CONFIG_PARPORT_PANEL) += panel.o