Kconfig 29 KB

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