linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] auxdisplay: move the ARM LCD driver into auxdisplay
@ 2016-04-15 11:42 Linus Walleij
  2016-04-15 11:42 ` [PATCH 2/2] ARM: realview: update defconfig to match new subsystem Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2016-04-15 11:42 UTC (permalink / raw)
  To: Miguel Ojeda Sandonis
  Cc: linux-kernel, Linus Walleij, Arnd Bergmann, Robin van der Gracht,
	Sudip Mukherjee, Paulo Marques, Miguel Ojeda Sandonis

This driver most definately belongs in this subsystem. It is a
simple hardware block wrapping the Hitachi HD44780 LCD into
a system peripheral, and if there is ever going to be shared
code amongst LCD drivers, it will happen in this subsystem,
so move it.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Robin van der Gracht <robin@protonic.nl>
Cc: Sudip Mukherjee <sudip@vectorindia.org>
Cc: Paulo Marques <pmarques@grupopie.com>
Cc: Miguel Ojeda Sandonis <maxextreme@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Miguel: if you ACK this I guess I can get it merged through the
ARM SoC tree.
Arnd: another misc exodus I'm trying to engineer.
---
 drivers/auxdisplay/Kconfig                 | 10 ++++++++++
 drivers/auxdisplay/Makefile                |  1 +
 drivers/{misc => auxdisplay}/arm-charlcd.c |  0
 drivers/misc/Kconfig                       | 10 ----------
 drivers/misc/Makefile                      |  1 -
 5 files changed, 11 insertions(+), 11 deletions(-)
 rename drivers/{misc => auxdisplay}/arm-charlcd.c (100%)

diff --git a/drivers/auxdisplay/Kconfig b/drivers/auxdisplay/Kconfig
index c07e725ea93d..caa68daf3fd4 100644
--- a/drivers/auxdisplay/Kconfig
+++ b/drivers/auxdisplay/Kconfig
@@ -15,6 +15,16 @@ menuconfig AUXDISPLAY
 
 if AUXDISPLAY
 
+config ARM_CHARLCD
+	bool "ARM Ltd. Character LCD Driver"
+	depends on PLAT_VERSATILE
+	help
+	  This is a driver for the character LCD found on the ARM Ltd.
+	  Versatile and RealView Platform Baseboards. It doesn't do
+	  very much more than display the text "ARM Linux" on the first
+	  line and the Linux version on the second line, but that's
+	  still useful.
+
 config KS0108
 	tristate "KS0108 LCD Controller"
 	depends on PARPORT_PC
diff --git a/drivers/auxdisplay/Makefile b/drivers/auxdisplay/Makefile
index 8a8936a468b9..b34a99fa0d82 100644
--- a/drivers/auxdisplay/Makefile
+++ b/drivers/auxdisplay/Makefile
@@ -2,5 +2,6 @@
 # Makefile for the kernel auxiliary displays device drivers.
 #
 
+obj-$(CONFIG_ARM_CHARLCD)	+= arm-charlcd.o
 obj-$(CONFIG_KS0108)		+= ks0108.o
 obj-$(CONFIG_CFAG12864B)	+= cfag12864b.o cfag12864bfb.o
diff --git a/drivers/misc/arm-charlcd.c b/drivers/auxdisplay/arm-charlcd.c
similarity index 100%
rename from drivers/misc/arm-charlcd.c
rename to drivers/auxdisplay/arm-charlcd.c
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index a216b4667742..5398a1bc031c 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -429,16 +429,6 @@ config VMWARE_BALLOON
 	  To compile this driver as a module, choose M here: the
 	  module will be called vmw_balloon.
 
-config ARM_CHARLCD
-	bool "ARM Ltd. Character LCD Driver"
-	depends on PLAT_VERSATILE
-	help
-	  This is a driver for the character LCD found on the ARM Ltd.
-	  Versatile and RealView Platform Baseboards. It doesn't do
-	  very much more than display the text "ARM Linux" on the first
-	  line and the Linux version on the second line, but that's
-	  still useful.
-
 config BMP085
 	tristate
 	depends on SYSFS
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
index b2fb6dbffcef..86c4b6583f3c 100644
--- a/drivers/misc/Makefile
+++ b/drivers/misc/Makefile
@@ -41,7 +41,6 @@ obj-y				+= eeprom/
 obj-y				+= cb710/
 obj-$(CONFIG_SPEAR13XX_PCIE_GADGET)	+= spear13xx_pcie_gadget.o
 obj-$(CONFIG_VMWARE_BALLOON)	+= vmw_balloon.o
-obj-$(CONFIG_ARM_CHARLCD)	+= arm-charlcd.o
 obj-$(CONFIG_PCH_PHUB)		+= pch_phub.o
 obj-y				+= ti-st/
 obj-y				+= lis3lv02d/
-- 
2.4.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] ARM: realview: update defconfig to match new subsystem
  2016-04-15 11:42 [PATCH 1/2] auxdisplay: move the ARM LCD driver into auxdisplay Linus Walleij
@ 2016-04-15 11:42 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2016-04-15 11:42 UTC (permalink / raw)
  To: Miguel Ojeda Sandonis
  Cc: linux-kernel, Linus Walleij, Arnd Bergmann, Robin van der Gracht,
	Sudip Mukherjee, Paulo Marques, Miguel Ojeda Sandonis

Update the RealView defconfig to match the move of the character
LCD to the auxdisplay subsystem.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Robin van der Gracht <robin@protonic.nl>
Cc: Sudip Mukherjee <sudip@vectorindia.org>
Cc: Paulo Marques <pmarques@grupopie.com>
Cc: Miguel Ojeda Sandonis <maxextreme@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/configs/realview_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/configs/realview_defconfig b/arch/arm/configs/realview_defconfig
index 9e77dc7b828f..ca9c40489aaf 100644
--- a/arch/arm/configs/realview_defconfig
+++ b/arch/arm/configs/realview_defconfig
@@ -47,7 +47,6 @@ CONFIG_MTD_CFI_INTELEXT=y
 CONFIG_MTD_CFI_AMDSTD=y
 CONFIG_MTD_ROM=y
 CONFIG_MTD_PHYSMAP=y
-CONFIG_ARM_CHARLCD=y
 CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_NETDEVICES=y
@@ -91,6 +90,8 @@ CONFIG_LEDS_TRIGGER_CPU=y
 CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_DS1307=y
 CONFIG_RTC_DRV_PL031=y
+CONFIG_AUXDISPLAY=y
+CONFIG_ARM_CHARLCD=y
 CONFIG_VFAT_FS=y
 CONFIG_TMPFS=y
 CONFIG_CRAMFS=y
-- 
2.4.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-15 11:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-15 11:42 [PATCH 1/2] auxdisplay: move the ARM LCD driver into auxdisplay Linus Walleij
2016-04-15 11:42 ` [PATCH 2/2] ARM: realview: update defconfig to match new subsystem Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).