]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/misc/Kconfig
Merge remote-tracking branches 'asoc/topic/sgtl5000', 'asoc/topic/simple', 'asoc...
[mirror_ubuntu-bionic-kernel.git] / drivers / misc / Kconfig
CommitLineData
1da177e4
LT
1#
2# Misc strange devices
3#
4
7c5763b8
FE
5menu "Misc devices"
6
ff606677
JD
7config SENSORS_LIS3LV02D
8 tristate
9 depends on INPUT
10 select INPUT_POLLDEV
11 default n
12
4eb174be 13config AD525X_DPOT
6c536e4c
MH
14 tristate "Analog Devices Digital Potentiometers"
15 depends on (I2C || SPI) && SYSFS
4eb174be
MH
16 help
17 If you say yes here, you get support for the Analog Devices
6c536e4c
MH
18 AD5258, AD5259, AD5251, AD5252, AD5253, AD5254, AD5255
19 AD5160, AD5161, AD5162, AD5165, AD5200, AD5201, AD5203,
20 AD5204, AD5206, AD5207, AD5231, AD5232, AD5233, AD5235,
21 AD5260, AD5262, AD5263, AD5290, AD5291, AD5292, AD5293,
e3ae6847 22 AD7376, AD8400, AD8402, AD8403, ADN2850, AD5241, AD5242,
c74cba61 23 AD5243, AD5245, AD5246, AD5247, AD5248, AD5280, AD5282,
a4bd3949
MH
24 ADN2860, AD5273, AD5171, AD5170, AD5172, AD5173, AD5270,
25 AD5271, AD5272, AD5274
4eb174be
MH
26 digital potentiometer chips.
27
28 See Documentation/misc-devices/ad525x_dpot.txt for the
29 userspace interface.
30
31 This driver can also be built as a module. If so, the module
32 will be called ad525x_dpot.
33
6c536e4c
MH
34config AD525X_DPOT_I2C
35 tristate "support I2C bus connection"
36 depends on AD525X_DPOT && I2C
37 help
38 Say Y here if you have a digital potentiometers hooked to an I2C bus.
39
40 To compile this driver as a module, choose M here: the
41 module will be called ad525x_dpot-i2c.
42
43config AD525X_DPOT_SPI
44 tristate "support SPI bus connection"
45 depends on AD525X_DPOT && SPI_MASTER
46 help
47 Say Y here if you have a digital potentiometers hooked to an SPI bus.
48
49 If unsure, say N (but it's safe to say "Y").
50
51 To compile this driver as a module, choose M here: the
52 module will be called ad525x_dpot-spi.
53
2a341f5c
DB
54config ATMEL_TCLIB
55 bool "Atmel AT32/AT91 Timer/Counter Library"
56 depends on (AVR32 || ARCH_AT91)
57 help
58 Select this if you want a library to allocate the Timer/Counter
59 blocks found on many Atmel processors. This facilitates using
60 these blocks by different drivers despite processor differences.
61
4d243f92
DB
62config ATMEL_TCB_CLKSRC
63 bool "TC Block Clocksource"
592913ec 64 depends on ATMEL_TCLIB
4d243f92
DB
65 default y
66 help
67 Select this to get a high precision clocksource based on a
68 TC block with a 5+ MHz base clock rate. Two timer channels
69 are combined to make a single 32-bit timer.
70
71 When GENERIC_CLOCKEVENTS is defined, the third timer channel
72 may be used as a clock event device supporting oneshot mode
73 (delays of up to two seconds) based on the 32 KiHz clock.
74
75config ATMEL_TCB_CLKSRC_BLOCK
76 int
77 depends on ATMEL_TCB_CLKSRC
9373090d 78 prompt "TC Block" if CPU_AT32AP700X
4d243f92
DB
79 default 0
80 range 0 1
81 help
82 Some chips provide more than one TC block, so you have the
83 choice of which one to use for the clock framework. The other
84 TC can be used for other purposes, such as PWM generation and
85 interval timing.
86
54f69b92
JK
87config DUMMY_IRQ
88 tristate "Dummy IRQ handler"
89 default n
90 ---help---
91 This module accepts a single 'irq' parameter, which it should register for.
92 The sole purpose of this module is to help with debugging of systems on
93 which spurious IRQs would happen on disabled IRQ vector.
94
1da177e4
LT
95config IBM_ASM
96 tristate "Device driver for IBM RSA service processor"
65929215 97 depends on X86 && PCI && INPUT
75339d82 98 depends on SERIAL_8250 || SERIAL_8250=n
1da177e4
LT
99 ---help---
100 This option enables device driver support for in-band access to the
101 IBM RSA (Condor) service processor in eServer xSeries systems.
102 The ibmasm device driver allows user space application to access
103 ASM (Advanced Systems Management) functions on the service
104 processor. The driver is meant to be used in conjunction with
105 a user space API.
106 The ibmasm driver also enables the OS to use the UART on the
107 service processor board as a regular serial port. To make use of
108 this feature serial driver support (CONFIG_SERIAL_8250) must be
109 enabled.
f9565129 110
1da177e4
LT
111 WARNING: This software may not be supported or function
112 correctly on your IBM server. Please consult the IBM ServerProven
631dd1a8
JM
113 website <http://www-03.ibm.com/systems/info/x86servers/serverproven/compat/us/>
114 for information on the specific driver level and support statement
1da177e4
LT
115 for your IBM server.
116
cef2cf07 117config PHANTOM
ec905a18 118 tristate "Sensable PHANToM (PCI)"
cef2cf07
JS
119 depends on PCI
120 help
121 Say Y here if you want to build a driver for Sensable PHANToM device.
122
ec905a18
JS
123 This driver is only for PCI PHANToMs.
124
cef2cf07
JS
125 If you choose to build module, its name will be phantom. If unsure,
126 say N here.
127
0b61d2ac
F
128config INTEL_MID_PTI
129 tristate "Parallel Trace Interface for MIPI P1149.7 cJTAG standard"
4bb16672 130 depends on PCI && TTY && (X86_INTEL_MID || COMPILE_TEST)
0b61d2ac
F
131 default n
132 help
133 The PTI (Parallel Trace Interface) driver directs
134 trace data routed from various parts in the system out
135 through an Intel Penwell PTI port and out of the mobile
136 device for analysis with a debugging tool (Lauterbach or Fido).
137
138 You should select this driver if the target kernel is meant for
139 an Intel Atom (non-netbook) mobile device containing a MIPI
140 P1149.7 standard implementation.
141
59f14800
BC
142config SGI_IOC4
143 tristate "SGI IOC4 Base IO support"
aa6c2e62 144 depends on PCI
59f14800
BC
145 ---help---
146 This option enables basic support for the IOC4 chip on certain
147 SGI IO controller cards (IO9, IO10, and PCI-RT). This option
148 does not enable any specific functions on such a card, but provides
149 necessary infrastructure for other drivers to utilize.
150
151 If you have an SGI Altix with an IOC4-based card say Y.
152 Otherwise say N.
153
f9565129 154config TIFM_CORE
65929215
GKH
155 tristate "TI Flash Media interface support"
156 depends on PCI
f9565129
AD
157 help
158 If you want support for Texas Instruments(R) Flash Media adapters
159 you should select this option and then also choose an appropriate
160 host adapter, such as 'TI Flash Media PCI74xx/PCI76xx host adapter
161 support', if you have a TI PCI74xx compatible card reader, for
162 example.
163 You will also have to select some flash card format drivers. MMC/SD
164 cards are supported via 'MMC/SD Card support: TI Flash Media MMC/SD
165 Interface support (MMC_TIFM_SD)'.
166
8c36790a 167 To compile this driver as a module, choose M here: the module will
f9565129 168 be called tifm_core.
1da177e4 169
f9565129 170config TIFM_7XX1
65929215
GKH
171 tristate "TI Flash Media PCI74xx/PCI76xx host adapter support"
172 depends on PCI && TIFM_CORE
f9565129
AD
173 default TIFM_CORE
174 help
175 This option enables support for Texas Instruments(R) PCI74xx and
176 PCI76xx families of Flash Media adapters, found in many laptops.
177 To make actual use of the device, you will have to select some
178 flash card format drivers, as outlined in the TIFM_CORE Help.
179
8c36790a 180 To compile this driver as a module, choose M here: the module will
f9565129
AD
181 be called tifm_7xx1.
182
a412ae3f
DW
183config ICS932S401
184 tristate "Integrated Circuits ICS932S401"
65929215 185 depends on I2C
a412ae3f
DW
186 help
187 If you say yes here you get support for the Integrated Circuits
188 ICS932S401 clock control chips.
189
190 This driver can also be built as a module. If so, the module
191 will be called ics932s401.
192
eb1f2930
HCE
193config ATMEL_SSC
194 tristate "Device driver for Atmel SSC peripheral"
fc1a5dbe 195 depends on HAS_IOMEM && (AVR32 || ARCH_AT91 || COMPILE_TEST)
eb1f2930 196 ---help---
692105b8 197 This option enables device driver support for Atmel Synchronized
eb1f2930
HCE
198 Serial Communication peripheral (SSC).
199
200 The SSC peripheral supports a wide variety of serial frame based
201 communications, i.e. I2S, SPI, etc.
202
203 If unsure, say N.
204
d569d5bb
JB
205config ENCLOSURE_SERVICES
206 tristate "Enclosure Services"
207 default n
208 help
209 Provides support for intelligent enclosures (bays which
210 contain storage devices). You also need either a host
211 driver (SCSI/ATA) which supports enclosures
212 or a SCSI enclosure device (SES) to use these services.
213
45d9ca49
DN
214config SGI_XP
215 tristate "Support communication between SGI SSIs"
3b0de7b3 216 depends on NET
03b48632 217 depends on (IA64_GENERIC || IA64_SGI_SN2 || IA64_SGI_UV || X86_UV) && SMP
45d9ca49
DN
218 select IA64_UNCACHED_ALLOCATOR if IA64_GENERIC || IA64_SGI_SN2
219 select GENERIC_ALLOCATOR if IA64_GENERIC || IA64_SGI_SN2
1bc4faa5 220 select SGI_GRU if X86_64 && SMP
45d9ca49
DN
221 ---help---
222 An SGI machine can be divided into multiple Single System
223 Images which act independently of each other and have
224 hardware based memory protection from the others. Enabling
225 this feature will allow for direct communication between SSIs
226 based on a network adapter and DMA messaging.
227
82dca611
AS
228config CS5535_MFGPT
229 tristate "CS5535/CS5536 Geode Multi-Function General Purpose Timer (MFGPT) support"
0f78a11e 230 depends on MFD_CS5535
82dca611
AS
231 default n
232 help
233 This driver provides access to MFGPT functionality for other
234 drivers that need timers. MFGPTs are available in the CS5535 and
235 CS5536 companion chips that are found in AMD Geode and several
236 other platforms. They have a better resolution and max interval
237 than the generic PIT, and are suitable for use as high-res timers.
238 You probably don't want to enable this manually; other drivers that
239 make use of it should enable it.
240
241config CS5535_MFGPT_DEFAULT_IRQ
242 int
2bf212b9 243 depends on CS5535_MFGPT
82dca611
AS
244 default 7
245 help
246 MFGPTs on the CS5535 require an interrupt. The selected IRQ
247 can be overridden as a module option as well as by driver that
248 use the cs5535_mfgpt_ API; however, different architectures might
249 want to use a different IRQ by default. This is here for
250 architectures to set as necessary.
251
9c8f05c2
RD
252config CS5535_CLOCK_EVENT_SRC
253 tristate "CS5535/CS5536 high-res timer (MFGPT) events"
592913ec 254 depends on GENERIC_CLOCKEVENTS && CS5535_MFGPT
9c8f05c2
RD
255 help
256 This driver provides a clock event source based on the MFGPT
257 timer(s) in the CS5535 and CS5536 companion chips.
258 MFGPTs have a better resolution and max interval than the
259 generic PIT, and are suitable for use as high-res timers.
260
89bcb05d 261config HP_ILO
1ce873ab 262 tristate "Channel interface driver for the HP iLO processor"
f38954c9 263 depends on PCI
89bcb05d
DA
264 default n
265 help
266 The channel interface driver allows applications to communicate
1ce873ab 267 with iLO management processors present on HP ProLiant servers.
268 Upon loading, the driver creates /dev/hpilo/dXccbN files, which
269 can be used to gather data from the management processor, via
270 read and write system calls.
89bcb05d
DA
271
272 To compile this driver as a module, choose M here: the
273 module will be called hpilo.
274
1f26d1c1
TB
275config QCOM_COINCELL
276 tristate "Qualcomm coincell charger support"
277 depends on MFD_SPMI_PMIC || COMPILE_TEST
278 help
279 This driver supports the coincell block found inside of
280 Qualcomm PMICs. The coincell charger provides a means to
281 charge a coincell battery or backup capacitor which is used
282 to maintain PMIC register and RTC state in the absence of
283 external power.
284
3d919e5f
JS
285config SGI_GRU
286 tristate "SGI GRU driver"
1bc4faa5 287 depends on X86_UV && SMP
3d919e5f
JS
288 default n
289 select MMU_NOTIFIER
290 ---help---
291 The GRU is a hardware resource located in the system chipset. The GRU
292 contains memory that can be mmapped into the user address space. This memory is
293 used to communicate with the GRU to perform functions such as load/store,
294 scatter/gather, bcopy, AMOs, etc. The GRU is directly accessed by user
295 instructions using user virtual addresses. GRU instructions (ex., bcopy) use
296 user virtual addresses for operands.
297
298 If you are not running on a SGI UV system, say N.
299
300config SGI_GRU_DEBUG
301 bool "SGI GRU driver debug"
302 depends on SGI_GRU
303 default n
304 ---help---
a82cb8b9
GU
305 This option enables additional debugging code for the SGI GRU driver.
306 If you are unsure, say N.
3d919e5f 307
22d96aa5 308config APDS9802ALS
309 tristate "Medfield Avago APDS9802 ALS Sensor module"
310 depends on I2C
311 help
312 If you say yes here you get support for the ALS APDS9802 ambient
313 light sensor.
314
315 This driver can also be built as a module. If so, the module
316 will be called apds9802als.
317
3cdbbeeb
DM
318config ISL29003
319 tristate "Intersil ISL29003 ambient light sensor"
320 depends on I2C && SYSFS
321 help
322 If you say yes here you get support for the Intersil ISL29003
323 ambient light sensor.
324
325 This driver can also be built as a module. If so, the module
326 will be called isl29003.
327
2e85c4dd
KT
328config ISL29020
329 tristate "Intersil ISL29020 ambient light sensor"
330 depends on I2C
331 help
332 If you say yes here you get support for the Intersil ISL29020
333 ambient light sensor.
334
335 This driver can also be built as a module. If so, the module
336 will be called isl29020.
337
6a9bcced
JD
338config SENSORS_TSL2550
339 tristate "Taos TSL2550 ambient light sensor"
340 depends on I2C && SYSFS
341 help
342 If you say yes here you get support for the Taos TSL2550
343 ambient light sensor.
344
345 This driver can also be built as a module. If so, the module
346 will be called tsl2550.
347
190420ab
SO
348config SENSORS_BH1770
349 tristate "BH1770GLC / SFH7770 combined ALS - Proximity sensor"
350 depends on I2C
351 ---help---
352 Say Y here if you want to build a driver for BH1770GLC (ROHM) or
353 SFH7770 (Osram) combined ambient light and proximity sensor chip.
354
355 To compile this driver as a module, choose M here: the
356 module will be called bh1770glc. If unsure, say N here.
357
92b1f84d
SO
358config SENSORS_APDS990X
359 tristate "APDS990X combined als and proximity sensors"
360 depends on I2C
361 default n
362 ---help---
363 Say Y here if you want to build a driver for Avago APDS990x
364 combined ambient light and proximity sensor chip.
365
366 To compile this driver as a module, choose M here: the
367 module will be called apds990x. If unsure, say N here.
368
cfa3b24c
KT
369config HMC6352
370 tristate "Honeywell HMC6352 compass"
371 depends on I2C
372 help
373 This driver provides support for the Honeywell HMC6352 compass,
374 providing configuration and heading data via sysfs.
375
dddc66ff
WS
376config DS1682
377 tristate "Dallas DS1682 Total Elapsed Time Recorder with Alarm"
65929215 378 depends on I2C
dddc66ff
WS
379 help
380 If you say yes here you get support for Dallas Semiconductor
381 DS1682 Total Elapsed Time Recorder.
382
383 This driver can also be built as a module. If so, the module
384 will be called ds1682.
385
b9500546
PA
386config SPEAR13XX_PCIE_GADGET
387 bool "PCIe gadget support for SPEAr13XX platform"
98097858 388 depends on ARCH_SPEAR13XX && BROKEN
b9500546
PA
389 default n
390 help
391 This option enables gadget support for PCIe controller. If
392 board file defines any controller as PCIe endpoint then a sysfs
393 entry will be created for that controller. User can use these
394 sysfs node to configure PCIe EP as per his requirements.
395
4d00928c
DM
396config TI_DAC7512
397 tristate "Texas Instruments DAC7512"
398 depends on SPI && SYSFS
399 help
400 If you say yes here you get support for the Texas Instruments
401 DAC7512 16-bit digital-to-analog converter.
402
403 This driver can also be built as a module. If so, the module
149d730f 404 will be called ti_dac7512.
4d00928c 405
453dc659
DT
406config VMWARE_BALLOON
407 tristate "VMware Balloon Driver"
48e3d668 408 depends on VMWARE_VMCI && X86 && HYPERVISOR_GUEST
453dc659
DT
409 help
410 This is VMware physical memory management driver which acts
411 like a "balloon" that can be inflated to reclaim physical pages
412 by reserving them in the guest and invalidating them in the
413 monitor, freeing up the underlying machine pages so they can
414 be allocated to other guests. The balloon can also be deflated
415 to allow the guest to use more physical memory.
416
417 If unsure, say N.
418
419 To compile this driver as a module, choose M here: the
d544b7a4 420 module will be called vmw_balloon.
453dc659 421
ce896245
LW
422config ARM_CHARLCD
423 bool "ARM Ltd. Character LCD Driver"
424 depends on PLAT_VERSATILE
425 help
426 This is a driver for the character LCD found on the ARM Ltd.
427 Versatile and RealView Platform Baseboards. It doesn't do
428 very much more than display the text "ARM Linux" on the first
429 line and the Linux version on the second line, but that's
430 still useful.
431
5bf1d290 432config BMP085
50e6315d 433 tristate
985087db
EA
434 depends on SYSFS
435
436config BMP085_I2C
437 tristate "BMP085 digital pressure sensor on I2C"
438 select BMP085
439 select REGMAP_I2C
5bf1d290
CM
440 depends on I2C && SYSFS
441 help
985087db
EA
442 Say Y here if you want to support Bosch Sensortec's digital pressure
443 sensor hooked to an I2C bus.
444
445 To compile this driver as a module, choose M here: the
446 module will be called bmp085-i2c.
447
448config BMP085_SPI
449 tristate "BMP085 digital pressure sensor on SPI"
450 select BMP085
451 select REGMAP_SPI
452 depends on SPI_MASTER && SYSFS
453 help
454 Say Y here if you want to support Bosch Sensortec's digital pressure
455 sensor hooked to an SPI bus.
5bf1d290
CM
456
457 To compile this driver as a module, choose M here: the
985087db 458 module will be called bmp085-spi.
5bf1d290 459
cf4ece53 460config PCH_PHUB
584ad00c 461 tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) PHUB"
4cd5773a 462 select GENERIC_NET_UTILS
46fd8c34 463 depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
cf4ece53
MO
464 help
465 This driver is for PCH(Platform controller Hub) PHUB(Packet Hub) of
466 Intel Topcliff which is an IOH(Input/Output Hub) for x86 embedded
467 processor. The Topcliff has MAC address and Option ROM data in SROM.
468 This driver can access MAC address and Option ROM data in SROM.
469
584ad00c
TM
470 This driver also can be used for LAPIS Semiconductor's IOH,
471 ML7213/ML7223/ML7831.
472 ML7213 which is for IVI(In-Vehicle Infotainment) use.
473 ML7223 IOH is for MP(Media Phone) use.
474 ML7831 IOH is for general purpose use.
475 ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
476 ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
c47dda7d 477
cf4ece53
MO
478 To compile this driver as a module, choose M here: the module will
479 be called pch_phub.
480
a1bb73d7
DK
481config USB_SWITCH_FSA9480
482 tristate "FSA9480 USB Switch"
483 depends on I2C
484 help
485 The FSA9480 is a USB port accessory detector and switch.
486 The FSA9480 is fully controlled using I2C and enables USB data,
487 stereo and mono audio, video, microphone and UART data to use
488 a common connector port.
489
781551df
SR
490config LATTICE_ECP3_CONFIG
491 tristate "Lattice ECP3 FPGA bitstream configuration via SPI"
492 depends on SPI && SYSFS
493 select FW_LOADER
494 default n
495 help
496 This option enables support for bitstream configuration (programming
497 or loading) of the Lattice ECP3 FPGA family via SPI.
498
499 If unsure, say N.
500
4984c6f5
PZ
501config SRAM
502 bool "Generic on-chip SRAM driver"
503 depends on HAS_IOMEM
504 select GENERIC_ALLOCATOR
505 help
506 This driver allows you to declare a memory region to be managed by
507 the genalloc API. It is supposed to be used for small on-chip SRAM
508 areas found on many SoCs.
509
974cc7b9
PM
510config VEXPRESS_SYSCFG
511 bool "Versatile Express System Configuration driver"
512 depends on VEXPRESS_CONFIG
513 default y
514 help
515 ARM Ltd. Versatile Express uses specialised platform configuration
516 bus. System Configuration interface is one of the possible means
517 of generating transactions on this bus.
305b37bd
KS
518config PANEL
519 tristate "Parallel port LCD/Keypad Panel support"
520 depends on PARPORT
521 ---help---
522 Say Y here if you have an HD44780 or KS-0074 LCD connected to your
523 parallel port. This driver also features 4 and 6-key keypads. The LCD
524 is accessible through the /dev/lcd char device (10, 156), and the
525 keypad through /dev/keypad (10, 185). Both require misc device to be
526 enabled. This code can either be compiled as a module, or linked into
527 the kernel and started at boot. If you don't understand what all this
528 is about, say N.
529
530config PANEL_PARPORT
531 int "Default parallel port number (0=LPT1)"
532 depends on PANEL
533 range 0 255
534 default "0"
535 ---help---
536 This is the index of the parallel port the panel is connected to. One
537 driver instance only supports one parallel port, so if your keypad
538 and LCD are connected to two separate ports, you have to start two
539 modules with different arguments. Numbering starts with '0' for LPT1,
540 and so on.
541
542config PANEL_PROFILE
543 int "Default panel profile (0-5, 0=custom)"
544 depends on PANEL
545 range 0 5
546 default "5"
547 ---help---
548 To ease configuration, the driver supports different configuration
549 profiles for past and recent wirings. These profiles can also be
550 used to define an approximative configuration, completed by a few
551 other options. Here are the profiles :
552
553 0 = custom (see further)
554 1 = 2x16 parallel LCD, old keypad
555 2 = 2x16 serial LCD (KS-0074), new keypad
556 3 = 2x16 parallel LCD (Hantronix), no keypad
557 4 = 2x16 parallel LCD (Nexcom NSA1045) with Nexcom's keypad
558 5 = 2x40 parallel LCD (old one), with old keypad
559
560 Custom configurations allow you to define how your display is
561 wired to the parallel port, and how it works. This is only intended
562 for experts.
563
564config PANEL_KEYPAD
565 depends on PANEL && PANEL_PROFILE="0"
566 int "Keypad type (0=none, 1=old 6 keys, 2=new 6 keys, 3=Nexcom 4 keys)"
567 range 0 3
568 default 0
569 ---help---
570 This enables and configures a keypad connected to the parallel port.
571 The keys will be read from character device 10,185. Valid values are :
572
573 0 : do not enable this driver
574 1 : old 6 keys keypad
575 2 : new 6 keys keypad, as used on the server at www.ant-computing.com
576 3 : Nexcom NSA1045's 4 keys keypad
577
578 New profiles can be described in the driver source. The driver also
579 supports simultaneous keys pressed when the keypad supports them.
580
581config PANEL_LCD
582 depends on PANEL && PANEL_PROFILE="0"
583 int "LCD type (0=none, 1=custom, 2=old //, 3=ks0074, 4=hantronix, 5=Nexcom)"
584 range 0 5
585 default 0
586 ---help---
587 This enables and configures an LCD connected to the parallel port.
588 The driver includes an interpreter for escape codes starting with
589 '\e[L' which are specific to the LCD, and a few ANSI codes. The
590 driver will be registered as character device 10,156, usually
591 under the name '/dev/lcd'. There are a total of 6 supported types :
592
593 0 : do not enable the driver
594 1 : custom configuration and wiring (see further)
595 2 : 2x16 & 2x40 parallel LCD (old wiring)
596 3 : 2x16 serial LCD (KS-0074 based)
597 4 : 2x16 parallel LCD (Hantronix wiring)
598 5 : 2x16 parallel LCD (Nexcom wiring)
599
600 When type '1' is specified, other options will appear to configure
601 more precise aspects (wiring, dimensions, protocol, ...). Please note
602 that those values changed from the 2.4 driver for better consistency.
603
604config PANEL_LCD_HEIGHT
605 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
606 int "Number of lines on the LCD (1-2)"
607 range 1 2
608 default 2
609 ---help---
610 This is the number of visible character lines on the LCD in custom profile.
611 It can either be 1 or 2.
612
613config PANEL_LCD_WIDTH
614 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
615 int "Number of characters per line on the LCD (1-40)"
616 range 1 40
617 default 40
618 ---help---
619 This is the number of characters per line on the LCD in custom profile.
620 Common values are 16,20,24,40.
621
622config PANEL_LCD_BWIDTH
623 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
624 int "Internal LCD line width (1-40, 40 by default)"
625 range 1 40
626 default 40
627 ---help---
628 Most LCDs use a standard controller which supports hardware lines of 40
629 characters, although sometimes only 16, 20 or 24 of them are really wired
630 to the terminal. This results in some non-visible but addressable characters,
631 and is the case for most parallel LCDs. Other LCDs, and some serial ones,
632 however, use the same line width internally as what is visible. The KS0074
633 for example, uses 16 characters per line for 16 visible characters per line.
634
635 This option lets you configure the value used by your LCD in 'custom' profile.
636 If you don't know, put '40' here.
637
638config PANEL_LCD_HWIDTH
639 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
640 int "Hardware LCD line width (1-64, 64 by default)"
641 range 1 64
642 default 64
643 ---help---
644 Most LCDs use a single address bit to differentiate line 0 and line 1. Since
645 some of them need to be able to address 40 chars with the lower bits, they
646 often use the immediately superior power of 2, which is 64, to address the
647 next line.
648
649 If you don't know what your LCD uses, in doubt let 16 here for a 2x16, and
650 64 here for a 2x40.
651
652config PANEL_LCD_CHARSET
653 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
654 int "LCD character set (0=normal, 1=KS0074)"
655 range 0 1
656 default 0
657 ---help---
658 Some controllers such as the KS0074 use a somewhat strange character set
659 where many symbols are at unusual places. The driver knows how to map
660 'standard' ASCII characters to the character sets used by these controllers.
661 Valid values are :
662
663 0 : normal (untranslated) character set
664 1 : KS0074 character set
665
666 If you don't know, use the normal one (0).
667
668config PANEL_LCD_PROTO
669 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
670 int "LCD communication mode (0=parallel 8 bits, 1=serial)"
671 range 0 1
672 default 0
673 ---help---
674 This driver now supports any serial or parallel LCD wired to a parallel
675 port. But before assigning signals, the driver needs to know if it will
676 be driving a serial LCD or a parallel one. Serial LCDs only use 2 wires
677 (SDA/SCL), while parallel ones use 2 or 3 wires for the control signals
678 (E, RS, sometimes RW), and 4 or 8 for the data. Use 0 here for a 8 bits
679 parallel LCD, and 1 for a serial LCD.
680
681config PANEL_LCD_PIN_E
682 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0"
683 int "Parallel port pin number & polarity connected to the LCD E signal (-17...17) "
684 range -17 17
685 default 14
686 ---help---
687 This describes the number of the parallel port pin to which the LCD 'E'
688 signal has been connected. It can be :
689
690 0 : no connection (eg: connected to ground)
691 1..17 : directly connected to any of these pins on the DB25 plug
692 -1..-17 : connected to the same pin through an inverter (eg: transistor).
693
694 Default for the 'E' pin in custom profile is '14' (AUTOFEED).
695
696config PANEL_LCD_PIN_RS
697 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0"
698 int "Parallel port pin number & polarity connected to the LCD RS signal (-17...17) "
699 range -17 17
700 default 17
701 ---help---
702 This describes the number of the parallel port pin to which the LCD 'RS'
703 signal has been connected. It can be :
704
705 0 : no connection (eg: connected to ground)
706 1..17 : directly connected to any of these pins on the DB25 plug
707 -1..-17 : connected to the same pin through an inverter (eg: transistor).
708
709 Default for the 'RS' pin in custom profile is '17' (SELECT IN).
710
711config PANEL_LCD_PIN_RW
712 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0"
713 int "Parallel port pin number & polarity connected to the LCD RW signal (-17...17) "
714 range -17 17
715 default 16
716 ---help---
717 This describes the number of the parallel port pin to which the LCD 'RW'
718 signal has been connected. It can be :
719
720 0 : no connection (eg: connected to ground)
721 1..17 : directly connected to any of these pins on the DB25 plug
722 -1..-17 : connected to the same pin through an inverter (eg: transistor).
723
724 Default for the 'RW' pin in custom profile is '16' (INIT).
725
726config PANEL_LCD_PIN_SCL
727 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0"
728 int "Parallel port pin number & polarity connected to the LCD SCL signal (-17...17) "
729 range -17 17
730 default 1
731 ---help---
732 This describes the number of the parallel port pin to which the serial
733 LCD 'SCL' signal has been connected. It can be :
734
735 0 : no connection (eg: connected to ground)
736 1..17 : directly connected to any of these pins on the DB25 plug
737 -1..-17 : connected to the same pin through an inverter (eg: transistor).
738
739 Default for the 'SCL' pin in custom profile is '1' (STROBE).
740
741config PANEL_LCD_PIN_SDA
742 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0"
743 int "Parallel port pin number & polarity connected to the LCD SDA signal (-17...17) "
744 range -17 17
745 default 2
746 ---help---
747 This describes the number of the parallel port pin to which the serial
748 LCD 'SDA' signal has been connected. It can be :
749
750 0 : no connection (eg: connected to ground)
751 1..17 : directly connected to any of these pins on the DB25 plug
752 -1..-17 : connected to the same pin through an inverter (eg: transistor).
753
754 Default for the 'SDA' pin in custom profile is '2' (D0).
755
756config PANEL_LCD_PIN_BL
757 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
758 int "Parallel port pin number & polarity connected to the LCD backlight signal (-17...17) "
759 range -17 17
760 default 0
761 ---help---
762 This describes the number of the parallel port pin to which the LCD 'BL' signal
763 has been connected. It can be :
764
765 0 : no connection (eg: connected to ground)
766 1..17 : directly connected to any of these pins on the DB25 plug
767 -1..-17 : connected to the same pin through an inverter (eg: transistor).
768
769 Default for the 'BL' pin in custom profile is '0' (uncontrolled).
770
771config PANEL_CHANGE_MESSAGE
772 depends on PANEL
773 bool "Change LCD initialization message ?"
774 default "n"
775 ---help---
776 This allows you to replace the boot message indicating the kernel version
777 and the driver version with a custom message. This is useful on appliances
778 where a simple 'Starting system' message can be enough to stop a customer
779 from worrying.
780
781 If you say 'Y' here, you'll be able to choose a message yourself. Otherwise,
782 say 'N' and keep the default message with the version.
783
784config PANEL_BOOT_MESSAGE
785 depends on PANEL && PANEL_CHANGE_MESSAGE="y"
786 string "New initialization message"
787 default ""
788 ---help---
789 This allows you to replace the boot message indicating the kernel version
790 and the driver version with a custom message. This is useful on appliances
791 where a simple 'Starting system' message can be enough to stop a customer
792 from worrying.
793
794 An empty message will only clear the display at driver init time. Any other
795 printf()-formatted message is valid with newline and escape codes.
974cc7b9 796
4e17e1db 797source "drivers/misc/c2port/Kconfig"
5195e509 798source "drivers/misc/eeprom/Kconfig"
5f5bac82 799source "drivers/misc/cb710/Kconfig"
2bb32e84 800source "drivers/misc/ti-st/Kconfig"
ff606677 801source "drivers/misc/lis3lv02d/Kconfig"
cff4fa84 802source "drivers/misc/altera-stapl/Kconfig"
ffc2825c 803source "drivers/misc/mei/Kconfig"
20259849 804source "drivers/misc/vmw_vmci/Kconfig"
b170d8ce 805source "drivers/misc/mic/Kconfig"
76f5adbc 806source "drivers/misc/genwqe/Kconfig"
6e2055a9 807source "drivers/misc/echo/Kconfig"
10542ca0 808source "drivers/misc/cxl/Kconfig"
7c5763b8 809endmenu