From patchwork Thu Feb 8 18:48:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 198636 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp511984dyd; Thu, 8 Feb 2024 15:20:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWgJxPBMavwVCxTxQD4G7GxBpLH9JOLtfPYCKHNSsY4WOfVAzQOcLzbaYhG5fcXnqf3w14+j1DCMxlyx3WGrtZaFTBH9g== X-Google-Smtp-Source: AGHT+IEu0xTbXTLxERGavcCSmo6zQqB2E2JXM5YBo07sRA5VgHX2hRyQ5au3dPhDz1xBH2dbRzSF X-Received: by 2002:a17:902:ecce:b0:1d8:cc30:bb18 with SMTP id a14-20020a170902ecce00b001d8cc30bb18mr693045plh.52.1707434401989; Thu, 08 Feb 2024 15:20:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707434401; cv=pass; d=google.com; s=arc-20160816; b=Jr+n/ZH3hsUm3woxxVTrIEYREmjMGwTQGC1aMOIJYqatf71zJc8Lw/D7Sl59tJSn+R P65IW+0NN6+LxlQLdK/j1pwPhzCxskIOjvPJuLFbNP9k9aun2Bez6kMTqzCNefhCWmpw ofX3ACuZaqgfBUbmuv2UJjYqgg1nJCEgRfvasNuXfLOWOVXMmBOOqwEbrdMggjBF1djw M8L4x/jFL9BiJVBupcTgpambwsFHkDHEDTZPNp8hrKcO/9SH/UJiTO2CiSBg9cOQmxqe lR4RNU+dYp8IJeNMo2VQv4SiOfG+zlYMRGm0+hpw+IorQb/uJHVZtqtZFtcrLaYcY1eU u+KA== 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=wdvnyIlUfTx4lTQCMApq5NFNdcdboayIRk1Mvbg9/40=; b=Zb2607J+30lcyl4OSe33/AUHT10WxaGtRhPH2/1WSUn0UtA6otWx+HH7E3yeYrg8By QLLp9KM1eTxYhHGD91Nl1cJIJBI5gMIby+Xkd2WF3ebYqaK42Y9xDhXfsYEyCOb2F3kT UuwsXL7MS9dFwpmFxFdQ49gQto81D31bmHTi+uxVMTY8DEvCLl8kF2hL7VPOp/nFBKKZ KCD1x7kHrR97+qJH6cBQZ24Rem7eAR5F2aVQhwSK6VpOmPfmHF8zXZG7tYQ36SXP2282 Da4TEzqqacEZS7I+hu8yfjojyzJ9HGuAhrWceIfPHQfO3CbeXltSu+qRMeUeSWernedg 4J0A==; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58567-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCXSjGt24D51RqD+LBom/cI77mlvJlUaWWCvcQWVFYsmBTOH72RYtZjtaApTfrHqVrc1wNYiMyofbLbR156nSxxTNCDE5g== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l8-20020a17090a72c800b002933854dea6si521658pjk.11.2024.02.08.15.20.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 15:20:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58567-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58567-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 51558B2A4EA for ; Thu, 8 Feb 2024 18:55:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C54A24C62A; Thu, 8 Feb 2024 18:49:42 +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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790374735671621856 X-GMAIL-MSGID: 1790374735671621856 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