Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp467811rdb; Thu, 8 Feb 2024 10:53:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUQT9wVYJVOpVQrM5d3m1ipHRQ33idIv2ErNGhQW86IjVlKbeNItIIeqK+3kyBL/ATBlsOxqbdrEnqnHKr+zVBKvUW5UhSe1GOROeCt+A== X-Google-Smtp-Source: AGHT+IHl7CMbNuJgb8l5VIbcBCJkoPeAp6Yy2Nor3YAW8+btET+WNar3Idhov/173JxJ4QbLF/O8 X-Received: by 2002:a05:6808:13ce:b0:3bf:f5f9:c9c0 with SMTP id d14-20020a05680813ce00b003bff5f9c9c0mr271234oiw.45.1707418415113; Thu, 08 Feb 2024 10:53:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707418415; cv=pass; d=google.com; s=arc-20160816; b=uvI73MQSIuh7VCMmzMpQ9jk91CPlVitod3EMfUhR/GZ86RkY8z94geOFe08EAYAaJT EQEJ1hMglQajVACyAmfmLVtXGHZLvp8WQ6C5TuUlgqlPmYaOOjRXu9mALvs0vf/gxLJk Kt8Hndx3Wa7Z183x9Lu5o7h+WCjdskr36OvRXNinqvTCxmIOrOUMw7fhFUokwPLzhBQX 0M78Uh5nLrP10d4zA+PMdWCfM7sv6Peqo9iBoUY7T6jj3Hmjyd5kqJHj8cJKf7fn9Zo3 VaLBAbg5ti97AT33I3w7C0Zr4ysyGyffmTx34YsbCRfR7lfFSSNkTnfuNrLdNM7nuvF7 zq7g== 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=3TMZ+mBu170RKM8wOKWxRMcpkFXx1rLzPSWdkTSRkKM=; b=qqLHLM0hxDklqEliwBmmKnvJKRfgstfkKZ+eEa1rC+4ExBsQUGg5A6oBCR366ur49M KIFXoc2pLpEJa29gwozL3AVFZKW8ldnQDV+6XraYdeTW4CErtopx6J34J52TV0CBku6K be4Xd2diNDmEt67wF4MYqS4YXCFFxXpUu6WCbzg7qSa1uO6POrN+aepfk+Vy7hw+ObKL 1atl5xJ1KyUHvExuJi+DDU5iTnDCGJnv1VDWN+6dwVpea/7qYSxTSp2acN1fRDwqNPmA zJjgaSqChXpoIbLqp17/gHXGNNSN32wmcK1kqnD4OpLUFfx/4b6Mdhe7Hrz974YL9TD6 QPnA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OFWhm9OK; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-58567-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58567-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCXuyR8/z31ztj45BjQhAqQcMwzSpRCo4RmV93FcTV22R2W7E9TZDp3pN6tGYJARU3KXqT28PJg0gqhSjYbCIL9moCdRVcHSaZGB56parQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 18-20020ac85912000000b0042c301820e5si76696qty.126.2024.02.08.10.53.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 10:53:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58567-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OFWhm9OK; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-58567-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58567-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 914711C2278B for ; Thu, 8 Feb 2024 18:52:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FEE138FAF; Thu, 8 Feb 2024 18:49:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="OFWhm9OK" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 49BC72D044; Thu, 8 Feb 2024 18:49:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707418173; cv=none; b=rQiZ8+hvtf3kAhjjMGOiWd7dZD7hPYdCxZ4H1n5GSSgA8pC2apNna7DSn0iyrsPy42/pieNlf8c5m3+jVhGTKPnopZdCLtoqZKtg8j8m40zdsEi58o4HXpulej4HcDxOwDaUqVJP/9S8t9Of1+kCWOOc8HWh1RY3PtI1GIikfjI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707418173; c=relaxed/simple; bh=Fg8HFd6qXwgrRuKizTmdQy4zN2vPEsdI81OkVtdnatg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Gt2ZBJ1rBKTcO9GO57W1sV1lz/2eoErvq4hjwQ2OH+2rCImEFnSEGyM1cVdAxWzkn5X9ZupCcoWQFMAOHYYjKf0KO80Y3E+mFqfOyRgR8Vn3QV3UT0Tem2I8ETXT8IHyO00j85W6TMPLq/Yia5vB9ug7sUHvDzVGD3ADQ09nI8Q= 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=OFWhm9OK; arc=none smtp.client-ip=192.198.163.19 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=1707418171; x=1738954171; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Fg8HFd6qXwgrRuKizTmdQy4zN2vPEsdI81OkVtdnatg=; b=OFWhm9OKBi2ICSz9BlfzjdSrPO6mylkBy6yUc2JqoDPJUnGfF8hw9BDB ElhH+yaubG4bZ8BZd3iq0dGFqj+0et8yCum7qh9YgUqN4+9+UtP/wcy+l /pcorJi76mv7IP87nae1mXY6k49BVFY4KOnjwGVIHuTvPRwCNjZxJyC8D JoiCCa+fV+Uo02aLUVS7Y2zCB9EtFb5GIkFZuZzTP6RNiG+okXi2NBvOP kSbrg3LBrW6TlyE+gpjn0aNI8F7fN6cS9d234mNte8YZte8rec2/pPaCY qwKT4jcYyF/CsctB1qnu5P9wzRt6iabgv8mnEV1Nq3BC7xluvOptl3SQ8 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10978"; a="1186124" X-IronPort-AV: E=Sophos;i="6.05,254,1701158400"; d="scan'208";a="1186124" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2024 10:49:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10978"; a="934215534" X-IronPort-AV: E=Sophos;i="6.05,254,1701158400"; d="scan'208";a="934215534" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 08 Feb 2024 10:49:25 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 6E811B84; Thu, 8 Feb 2024 20:49:21 +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 20:48:05 +0200 Message-ID: <20240208184919.2224986-8-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20240208184919.2224986-1-andriy.shevchenko@linux.intel.com> References: <20240208184919.2224986-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 Content-Transfer-Encoding: 8bit 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 -- 2.43.0.rc1.1.gbec44491f096