Kconfig 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782
  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_BH1770
  296. tristate "BH1770GLC / SFH7770 combined ALS - Proximity sensor"
  297. depends on I2C
  298. ---help---
  299. Say Y here if you want to build a driver for BH1770GLC (ROHM) or
  300. SFH7770 (Osram) combined ambient light and proximity sensor chip.
  301. To compile this driver as a module, choose M here: the
  302. module will be called bh1770glc. If unsure, say N here.
  303. config SENSORS_APDS990X
  304. tristate "APDS990X combined als and proximity sensors"
  305. depends on I2C
  306. default n
  307. ---help---
  308. Say Y here if you want to build a driver for Avago APDS990x
  309. combined ambient light and proximity sensor chip.
  310. To compile this driver as a module, choose M here: the
  311. module will be called apds990x. If unsure, say N here.
  312. config HMC6352
  313. tristate "Honeywell HMC6352 compass"
  314. depends on I2C
  315. help
  316. This driver provides support for the Honeywell HMC6352 compass,
  317. providing configuration and heading data via sysfs.
  318. config DS1682
  319. tristate "Dallas DS1682 Total Elapsed Time Recorder with Alarm"
  320. depends on I2C
  321. help
  322. If you say yes here you get support for Dallas Semiconductor
  323. DS1682 Total Elapsed Time Recorder.
  324. This driver can also be built as a module. If so, the module
  325. will be called ds1682.
  326. config SPEAR13XX_PCIE_GADGET
  327. bool "PCIe gadget support for SPEAr13XX platform"
  328. depends on ARCH_SPEAR13XX && BROKEN
  329. default n
  330. help
  331. This option enables gadget support for PCIe controller. If
  332. board file defines any controller as PCIe endpoint then a sysfs
  333. entry will be created for that controller. User can use these
  334. sysfs node to configure PCIe EP as per his requirements.
  335. config TI_DAC7512
  336. tristate "Texas Instruments DAC7512"
  337. depends on SPI && SYSFS
  338. help
  339. If you say yes here you get support for the Texas Instruments
  340. DAC7512 16-bit digital-to-analog converter.
  341. This driver can also be built as a module. If so, the module
  342. will be called ti_dac7512.
  343. config VMWARE_BALLOON
  344. tristate "VMware Balloon Driver"
  345. depends on VMWARE_VMCI && X86 && HYPERVISOR_GUEST
  346. help
  347. This is VMware physical memory management driver which acts
  348. like a "balloon" that can be inflated to reclaim physical pages
  349. by reserving them in the guest and invalidating them in the
  350. monitor, freeing up the underlying machine pages so they can
  351. be allocated to other guests. The balloon can also be deflated
  352. to allow the guest to use more physical memory.
  353. If unsure, say N.
  354. To compile this driver as a module, choose M here: the
  355. module will be called vmw_balloon.
  356. config ARM_CHARLCD
  357. bool "ARM Ltd. Character LCD Driver"
  358. depends on PLAT_VERSATILE
  359. help
  360. This is a driver for the character LCD found on the ARM Ltd.
  361. Versatile and RealView Platform Baseboards. It doesn't do
  362. very much more than display the text "ARM Linux" on the first
  363. line and the Linux version on the second line, but that's
  364. still useful.
  365. config PCH_PHUB
  366. tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) PHUB"
  367. select GENERIC_NET_UTILS
  368. depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
  369. help
  370. This driver is for PCH(Platform controller Hub) PHUB(Packet Hub) of
  371. Intel Topcliff which is an IOH(Input/Output Hub) for x86 embedded
  372. processor. The Topcliff has MAC address and Option ROM data in SROM.
  373. This driver can access MAC address and Option ROM data in SROM.
  374. This driver also can be used for LAPIS Semiconductor's IOH,
  375. ML7213/ML7223/ML7831.
  376. ML7213 which is for IVI(In-Vehicle Infotainment) use.
  377. ML7223 IOH is for MP(Media Phone) use.
  378. ML7831 IOH is for general purpose use.
  379. ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
  380. ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
  381. To compile this driver as a module, choose M here: the module will
  382. be called pch_phub.
  383. config USB_SWITCH_FSA9480
  384. tristate "FSA9480 USB Switch"
  385. depends on I2C
  386. help
  387. The FSA9480 is a USB port accessory detector and switch.
  388. The FSA9480 is fully controlled using I2C and enables USB data,
  389. stereo and mono audio, video, microphone and UART data to use
  390. a common connector port.
  391. config LATTICE_ECP3_CONFIG
  392. tristate "Lattice ECP3 FPGA bitstream configuration via SPI"
  393. depends on SPI && SYSFS
  394. select FW_LOADER
  395. default n
  396. help
  397. This option enables support for bitstream configuration (programming
  398. or loading) of the Lattice ECP3 FPGA family via SPI.
  399. If unsure, say N.
  400. config SRAM
  401. bool "Generic on-chip SRAM driver"
  402. depends on HAS_IOMEM
  403. select GENERIC_ALLOCATOR
  404. help
  405. This driver allows you to declare a memory region to be managed by
  406. the genalloc API. It is supposed to be used for small on-chip SRAM
  407. areas found on many SoCs.
  408. config VEXPRESS_SYSCFG
  409. bool "Versatile Express System Configuration driver"
  410. depends on VEXPRESS_CONFIG
  411. default y
  412. help
  413. ARM Ltd. Versatile Express uses specialised platform configuration
  414. bus. System Configuration interface is one of the possible means
  415. of generating transactions on this bus.
  416. config PANEL
  417. tristate "Parallel port LCD/Keypad Panel support"
  418. depends on PARPORT
  419. ---help---
  420. Say Y here if you have an HD44780 or KS-0074 LCD connected to your
  421. parallel port. This driver also features 4 and 6-key keypads. The LCD
  422. is accessible through the /dev/lcd char device (10, 156), and the
  423. keypad through /dev/keypad (10, 185). Both require misc device to be
  424. enabled. This code can either be compiled as a module, or linked into
  425. the kernel and started at boot. If you don't understand what all this
  426. is about, say N.
  427. config PANEL_PARPORT
  428. int "Default parallel port number (0=LPT1)"
  429. depends on PANEL
  430. range 0 255
  431. default "0"
  432. ---help---
  433. This is the index of the parallel port the panel is connected to. One
  434. driver instance only supports one parallel port, so if your keypad
  435. and LCD are connected to two separate ports, you have to start two
  436. modules with different arguments. Numbering starts with '0' for LPT1,
  437. and so on.
  438. config PANEL_PROFILE
  439. int "Default panel profile (0-5, 0=custom)"
  440. depends on PANEL
  441. range 0 5
  442. default "5"
  443. ---help---
  444. To ease configuration, the driver supports different configuration
  445. profiles for past and recent wirings. These profiles can also be
  446. used to define an approximative configuration, completed by a few
  447. other options. Here are the profiles :
  448. 0 = custom (see further)
  449. 1 = 2x16 parallel LCD, old keypad
  450. 2 = 2x16 serial LCD (KS-0074), new keypad
  451. 3 = 2x16 parallel LCD (Hantronix), no keypad
  452. 4 = 2x16 parallel LCD (Nexcom NSA1045) with Nexcom's keypad
  453. 5 = 2x40 parallel LCD (old one), with old keypad
  454. Custom configurations allow you to define how your display is
  455. wired to the parallel port, and how it works. This is only intended
  456. for experts.
  457. config PANEL_KEYPAD
  458. depends on PANEL && PANEL_PROFILE="0"
  459. int "Keypad type (0=none, 1=old 6 keys, 2=new 6 keys, 3=Nexcom 4 keys)"
  460. range 0 3
  461. default 0
  462. ---help---
  463. This enables and configures a keypad connected to the parallel port.
  464. The keys will be read from character device 10,185. Valid values are :
  465. 0 : do not enable this driver
  466. 1 : old 6 keys keypad
  467. 2 : new 6 keys keypad, as used on the server at www.ant-computing.com
  468. 3 : Nexcom NSA1045's 4 keys keypad
  469. New profiles can be described in the driver source. The driver also
  470. supports simultaneous keys pressed when the keypad supports them.
  471. config PANEL_LCD
  472. depends on PANEL && PANEL_PROFILE="0"
  473. int "LCD type (0=none, 1=custom, 2=old //, 3=ks0074, 4=hantronix, 5=Nexcom)"
  474. range 0 5
  475. default 0
  476. ---help---
  477. This enables and configures an LCD connected to the parallel port.
  478. The driver includes an interpreter for escape codes starting with
  479. '\e[L' which are specific to the LCD, and a few ANSI codes. The
  480. driver will be registered as character device 10,156, usually
  481. under the name '/dev/lcd'. There are a total of 6 supported types :
  482. 0 : do not enable the driver
  483. 1 : custom configuration and wiring (see further)
  484. 2 : 2x16 & 2x40 parallel LCD (old wiring)
  485. 3 : 2x16 serial LCD (KS-0074 based)
  486. 4 : 2x16 parallel LCD (Hantronix wiring)
  487. 5 : 2x16 parallel LCD (Nexcom wiring)
  488. When type '1' is specified, other options will appear to configure
  489. more precise aspects (wiring, dimensions, protocol, ...). Please note
  490. that those values changed from the 2.4 driver for better consistency.
  491. config PANEL_LCD_HEIGHT
  492. depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
  493. int "Number of lines on the LCD (1-2)"
  494. range 1 2
  495. default 2
  496. ---help---
  497. This is the number of visible character lines on the LCD in custom profile.
  498. It can either be 1 or 2.
  499. config PANEL_LCD_WIDTH
  500. depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
  501. int "Number of characters per line on the LCD (1-40)"
  502. range 1 40
  503. default 40
  504. ---help---
  505. This is the number of characters per line on the LCD in custom profile.
  506. Common values are 16,20,24,40.
  507. config PANEL_LCD_BWIDTH
  508. depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
  509. int "Internal LCD line width (1-40, 40 by default)"
  510. range 1 40
  511. default 40
  512. ---help---
  513. Most LCDs use a standard controller which supports hardware lines of 40
  514. characters, although sometimes only 16, 20 or 24 of them are really wired
  515. to the terminal. This results in some non-visible but addressable characters,
  516. and is the case for most parallel LCDs. Other LCDs, and some serial ones,
  517. however, use the same line width internally as what is visible. The KS0074
  518. for example, uses 16 characters per line for 16 visible characters per line.
  519. This option lets you configure the value used by your LCD in 'custom' profile.
  520. If you don't know, put '40' here.
  521. config PANEL_LCD_HWIDTH
  522. depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
  523. int "Hardware LCD line width (1-64, 64 by default)"
  524. range 1 64
  525. default 64
  526. ---help---
  527. Most LCDs use a single address bit to differentiate line 0 and line 1. Since
  528. some of them need to be able to address 40 chars with the lower bits, they
  529. often use the immediately superior power of 2, which is 64, to address the
  530. next line.
  531. If you don't know what your LCD uses, in doubt let 16 here for a 2x16, and
  532. 64 here for a 2x40.
  533. config PANEL_LCD_CHARSET
  534. depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
  535. int "LCD character set (0=normal, 1=KS0074)"
  536. range 0 1
  537. default 0
  538. ---help---
  539. Some controllers such as the KS0074 use a somewhat strange character set
  540. where many symbols are at unusual places. The driver knows how to map
  541. 'standard' ASCII characters to the character sets used by these controllers.
  542. Valid values are :
  543. 0 : normal (untranslated) character set
  544. 1 : KS0074 character set
  545. If you don't know, use the normal one (0).
  546. config PANEL_LCD_PROTO
  547. depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
  548. int "LCD communication mode (0=parallel 8 bits, 1=serial)"
  549. range 0 1
  550. default 0
  551. ---help---
  552. This driver now supports any serial or parallel LCD wired to a parallel
  553. port. But before assigning signals, the driver needs to know if it will
  554. be driving a serial LCD or a parallel one. Serial LCDs only use 2 wires
  555. (SDA/SCL), while parallel ones use 2 or 3 wires for the control signals
  556. (E, RS, sometimes RW), and 4 or 8 for the data. Use 0 here for a 8 bits
  557. parallel LCD, and 1 for a serial LCD.
  558. config PANEL_LCD_PIN_E
  559. depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0"
  560. int "Parallel port pin number & polarity connected to the LCD E signal (-17...17) "
  561. range -17 17
  562. default 14
  563. ---help---
  564. This describes the number of the parallel port pin to which the LCD 'E'
  565. signal has been connected. It can be :
  566. 0 : no connection (eg: connected to ground)
  567. 1..17 : directly connected to any of these pins on the DB25 plug
  568. -1..-17 : connected to the same pin through an inverter (eg: transistor).
  569. Default for the 'E' pin in custom profile is '14' (AUTOFEED).
  570. config PANEL_LCD_PIN_RS
  571. depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0"
  572. int "Parallel port pin number & polarity connected to the LCD RS signal (-17...17) "
  573. range -17 17
  574. default 17
  575. ---help---
  576. This describes the number of the parallel port pin to which the LCD 'RS'
  577. signal has been connected. It can be :
  578. 0 : no connection (eg: connected to ground)
  579. 1..17 : directly connected to any of these pins on the DB25 plug
  580. -1..-17 : connected to the same pin through an inverter (eg: transistor).
  581. Default for the 'RS' pin in custom profile is '17' (SELECT IN).
  582. config PANEL_LCD_PIN_RW
  583. depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0"
  584. int "Parallel port pin number & polarity connected to the LCD RW signal (-17...17) "
  585. range -17 17
  586. default 16
  587. ---help---
  588. This describes the number of the parallel port pin to which the LCD 'RW'
  589. signal has been connected. It can be :
  590. 0 : no connection (eg: connected to ground)
  591. 1..17 : directly connected to any of these pins on the DB25 plug
  592. -1..-17 : connected to the same pin through an inverter (eg: transistor).
  593. Default for the 'RW' pin in custom profile is '16' (INIT).
  594. config PANEL_LCD_PIN_SCL
  595. depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0"
  596. int "Parallel port pin number & polarity connected to the LCD SCL signal (-17...17) "
  597. range -17 17
  598. default 1
  599. ---help---
  600. This describes the number of the parallel port pin to which the serial
  601. LCD 'SCL' signal has been connected. It can be :
  602. 0 : no connection (eg: connected to ground)
  603. 1..17 : directly connected to any of these pins on the DB25 plug
  604. -1..-17 : connected to the same pin through an inverter (eg: transistor).
  605. Default for the 'SCL' pin in custom profile is '1' (STROBE).
  606. config PANEL_LCD_PIN_SDA
  607. depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0"
  608. int "Parallel port pin number & polarity connected to the LCD SDA signal (-17...17) "
  609. range -17 17
  610. default 2
  611. ---help---
  612. This describes the number of the parallel port pin to which the serial
  613. LCD 'SDA' signal has been connected. It can be :
  614. 0 : no connection (eg: connected to ground)
  615. 1..17 : directly connected to any of these pins on the DB25 plug
  616. -1..-17 : connected to the same pin through an inverter (eg: transistor).
  617. Default for the 'SDA' pin in custom profile is '2' (D0).
  618. config PANEL_LCD_PIN_BL
  619. depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1"
  620. int "Parallel port pin number & polarity connected to the LCD backlight signal (-17...17) "
  621. range -17 17
  622. default 0
  623. ---help---
  624. This describes the number of the parallel port pin to which the LCD 'BL' signal
  625. has been connected. It can be :
  626. 0 : no connection (eg: connected to ground)
  627. 1..17 : directly connected to any of these pins on the DB25 plug
  628. -1..-17 : connected to the same pin through an inverter (eg: transistor).
  629. Default for the 'BL' pin in custom profile is '0' (uncontrolled).
  630. config PANEL_CHANGE_MESSAGE
  631. depends on PANEL
  632. bool "Change LCD initialization message ?"
  633. default "n"
  634. ---help---
  635. This allows you to replace the boot message indicating the kernel version
  636. and the driver version with a custom message. This is useful on appliances
  637. where a simple 'Starting system' message can be enough to stop a customer
  638. from worrying.
  639. If you say 'Y' here, you'll be able to choose a message yourself. Otherwise,
  640. say 'N' and keep the default message with the version.
  641. config PANEL_BOOT_MESSAGE
  642. depends on PANEL && PANEL_CHANGE_MESSAGE="y"
  643. string "New initialization message"
  644. default ""
  645. ---help---
  646. This allows you to replace the boot message indicating the kernel version
  647. and the driver version with a custom message. This is useful on appliances
  648. where a simple 'Starting system' message can be enough to stop a customer
  649. from worrying.
  650. An empty message will only clear the display at driver init time. Any other
  651. printf()-formatted message is valid with newline and escape codes.
  652. source "drivers/misc/c2port/Kconfig"
  653. source "drivers/misc/eeprom/Kconfig"
  654. source "drivers/misc/cb710/Kconfig"
  655. source "drivers/misc/ti-st/Kconfig"
  656. source "drivers/misc/lis3lv02d/Kconfig"
  657. source "drivers/misc/altera-stapl/Kconfig"
  658. source "drivers/misc/mei/Kconfig"
  659. source "drivers/misc/vmw_vmci/Kconfig"
  660. source "drivers/misc/mic/Kconfig"
  661. source "drivers/misc/genwqe/Kconfig"
  662. source "drivers/misc/echo/Kconfig"
  663. source "drivers/misc/cxl/Kconfig"
  664. endmenu