]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
ads7846: moves from the hw/display folder to the hw/input folder.
authorGan Qixin <ganqixin@huawei.com>
Sun, 15 Nov 2020 12:35:03 +0000 (20:35 +0800)
committerLaurent Vivier <laurent@vivier.eu>
Sun, 13 Dec 2020 16:54:55 +0000 (17:54 +0100)
ads7846 is a touch-screen controller that is an input device rather
than a display device, so move it to the hw/input folder.

Signed-off-by: Gan Qixin <ganqixin@huawei.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20201115123503.1110665-1-ganqixin@huawei.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/arm/Kconfig
hw/display/Kconfig
hw/display/meson.build
hw/input/Kconfig
hw/input/ads7846.c [moved from hw/display/ads7846.c with 100% similarity]
hw/input/meson.build

index eb8a8844cf8615b047f0f4ed31d8b9933e3333ae..0a242e4c5d8a5c0e8741f2c01f1884654ab0426a 100644 (file)
@@ -156,7 +156,7 @@ config TOSA
 
 config SPITZ
     bool
-    select ADS7846 # display
+    select ADS7846 # touch-screen controller
     select MAX111X # A/D converter
     select WM8750  # audio codec
     select MAX7310 # GPIO expander
index 15d59e10dc2c9c070adc891410dbb1b3b729bc04..ca46b5830e73f73ca81f9d49a3956e16b5591dd1 100644 (file)
@@ -9,9 +9,6 @@ config EDID
 config FW_CFG_DMA
     bool
 
-config ADS7846
-    bool
-
 config VGA_CIRRUS
     bool
     default y if PCI_DEVICES
index dad3bd2b414be7450a9624b78e530180ff9f9919..9d79e3951d9ec23a79b34f3d6054a1128bc8ac35 100644 (file)
@@ -6,7 +6,6 @@ softmmu_ss.add(when: 'CONFIG_EDID', if_true: files('edid-generate.c', 'edid-regi
 softmmu_ss.add(when: 'CONFIG_FW_CFG_DMA', if_true: files('ramfb.c'))
 softmmu_ss.add(when: 'CONFIG_FW_CFG_DMA', if_true: files('ramfb-standalone.c'))
 
-softmmu_ss.add(when: 'CONFIG_ADS7846', if_true: files('ads7846.c'))
 softmmu_ss.add(when: 'CONFIG_VGA_CIRRUS', if_true: files('cirrus_vga.c'))
 softmmu_ss.add(when: ['CONFIG_VGA_CIRRUS', 'CONFIG_VGA_ISA'], if_true: files('cirrus_vga_isa.c'))
 softmmu_ss.add(when: 'CONFIG_G364FB', if_true: files('g364fb.c'))
index 64f14daabf6c63512117609439c73299c733eedf..55865bb38696274196fdde12dcc140329ad3459f 100644 (file)
@@ -1,6 +1,9 @@
 config ADB
     bool
 
+config ADS7846
+    bool
+
 config LM832X
     bool
     depends on I2C
similarity index 100%
rename from hw/display/ads7846.c
rename to hw/input/ads7846.c
index e7285b15ae6de1a1af51a7e4349a9a392e69571c..0042c3f0dc542f9f8d13e11a30659c2ba793bb63 100644 (file)
@@ -1,5 +1,6 @@
 softmmu_ss.add(files('hid.c'))
 softmmu_ss.add(when: 'CONFIG_ADB', if_true: files('adb.c', 'adb-mouse.c', 'adb-kbd.c'))
+softmmu_ss.add(when: 'CONFIG_ADS7846', if_true: files('ads7846.c'))
 softmmu_ss.add(when: 'CONFIG_LM832X', if_true: files('lm832x.c'))
 softmmu_ss.add(when: 'CONFIG_PCKBD', if_true: files('pckbd.c'))
 softmmu_ss.add(when: 'CONFIG_PL050', if_true: files('pl050.c'))