^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # For a description of the syntax of this configuration file,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) # see Documentation/kbuild/kconfig-language.rst.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) # Auxiliary display drivers configuration.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) menuconfig AUXDISPLAY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) bool "Auxiliary Display support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Say Y here to get to see options for auxiliary display drivers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) This option alone does not add any kernel code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) If you say N, all options in this submenu will be skipped and disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) if AUXDISPLAY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) config HD44780
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) tristate "HD44780 Character LCD support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) depends on GPIOLIB || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) select CHARLCD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Enable support for Character LCDs using a HD44780 controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) The LCD is accessible through the /dev/lcd char device (10, 156).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) This code can either be compiled as a module, or linked into the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) kernel and started at boot.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) If you don't understand what all this is about, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) config KS0108
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) tristate "KS0108 LCD Controller"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) depends on PARPORT_PC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) If you have a LCD controlled by one or more KS0108
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) controllers, say Y. You will need also another more specific
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) driver for your LCD.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Depends on Parallel Port support. If you say Y at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) parport, you will be able to compile this as a module (M)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) and built-in as well (Y).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) To compile this as a module, choose M here:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) the module will be called ks0108.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) config KS0108_PORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) hex "Parallel port where the LCD is connected"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) depends on KS0108
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) default 0x378
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) The address of the parallel port where the LCD is connected.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) The first standard parallel port address is 0x378.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) The second standard parallel port address is 0x278.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) The third standard parallel port address is 0x3BC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) You can specify a different address if you need.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) If you don't know what I'm talking about, load the parport module,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) and execute "dmesg" or "cat /proc/ioports". You can see there how
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) many parallel ports are present and which address each one has.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) Usually you only need to use 0x378.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) If you compile this as a module, you can still override this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) using the module parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) config KS0108_DELAY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) int "Delay between each control writing (microseconds)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) depends on KS0108
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) default "2"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) Amount of time the ks0108 should wait between each control write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) to the parallel port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) If your LCD seems to miss random writings, increment this.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) If you don't know what I'm talking about, ignore it.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) If you compile this as a module, you can still override this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) value using the module parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) config CFAG12864B
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) tristate "CFAG12864B LCD"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) depends on X86
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) depends on FB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) depends on KS0108
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) select FB_SYS_FILLRECT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) select FB_SYS_COPYAREA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) select FB_SYS_IMAGEBLIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) select FB_SYS_FOPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) If you have a Crystalfontz 128x64 2-color LCD, cfag12864b Series,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) say Y. You also need the ks0108 LCD Controller driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) For help about how to wire your LCD to the parallel port,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) check Documentation/admin-guide/auxdisplay/cfag12864b.rst
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) Depends on the x86 arch and the framebuffer support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) The LCD framebuffer driver can be attached to a console.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) It will work fine. However, you can't attach it to the fbdev driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) of the xorg server.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) To compile this as a module, choose M here:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) the modules will be called cfag12864b and cfag12864bfb.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) config CFAG12864B_RATE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) int "Refresh rate (hertz)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) depends on CFAG12864B
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) default "20"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) Refresh rate of the LCD.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) As the LCD is not memory mapped, the driver has to make the work by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) software. This means you should be careful setting this value higher.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) If your CPUs are really slow or you feel the system is slowed down,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) decrease the value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) Be careful modifying this value to a very high value:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) You can freeze the computer, or the LCD maybe can't draw as fast as you
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) are requesting.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) If you don't know what I'm talking about, ignore it.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) If you compile this as a module, you can still override this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) value using the module parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) config IMG_ASCII_LCD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) tristate "Imagination Technologies ASCII LCD Display"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) default y if MIPS_MALTA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) Enable this to support the simple ASCII LCD displays found on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) development boards such as the MIPS Boston, MIPS Malta & MIPS SEAD3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) from Imagination Technologies.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) config HT16K33
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) tristate "Holtek Ht16K33 LED controller with keyscan"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) depends on FB && OF && I2C && INPUT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) select FB_SYS_FOPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) select FB_SYS_FILLRECT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) select FB_SYS_COPYAREA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) select FB_SYS_IMAGEBLIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) select INPUT_MATRIXKMAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) select FB_BACKLIGHT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) Say yes here to add support for Holtek HT16K33, RAM mapping 16*8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) LED controller driver with keyscan.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) config ARM_CHARLCD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) bool "ARM Ltd. Character LCD Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) depends on PLAT_VERSATILE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) This is a driver for the character LCD found on the ARM Ltd.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) Versatile and RealView Platform Baseboards. It doesn't do
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) very much more than display the text "ARM Linux" on the first
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) line and the Linux version on the second line, but that's
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) still useful.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) menuconfig PARPORT_PANEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) tristate "Parallel port LCD/Keypad Panel support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) depends on PARPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) select CHARLCD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) Say Y here if you have an HD44780 or KS-0074 LCD connected to your
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) parallel port. This driver also features 4 and 6-key keypads. The LCD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) is accessible through the /dev/lcd char device (10, 156), and the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) keypad through /dev/keypad (10, 185). This code can either be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) compiled as a module, or linked into the kernel and started at boot.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) If you don't understand what all this is about, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) if PARPORT_PANEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) config PANEL_PARPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) int "Default parallel port number (0=LPT1)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) range 0 255
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) default "0"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) This is the index of the parallel port the panel is connected to. One
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) driver instance only supports one parallel port, so if your keypad
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) and LCD are connected to two separate ports, you have to start two
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) modules with different arguments. Numbering starts with '0' for LPT1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) and so on.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) config PANEL_PROFILE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) int "Default panel profile (0-5, 0=custom)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) range 0 5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) default "5"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) To ease configuration, the driver supports different configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) profiles for past and recent wirings. These profiles can also be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) used to define an approximative configuration, completed by a few
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) other options. Here are the profiles :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) 0 = custom (see further)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) 1 = 2x16 parallel LCD, old keypad
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) 2 = 2x16 serial LCD (KS-0074), new keypad
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) 3 = 2x16 parallel LCD (Hantronix), no keypad
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) 4 = 2x16 parallel LCD (Nexcom NSA1045) with Nexcom's keypad
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) 5 = 2x40 parallel LCD (old one), with old keypad
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) Custom configurations allow you to define how your display is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) wired to the parallel port, and how it works. This is only intended
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) for experts.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) config PANEL_KEYPAD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) depends on PANEL_PROFILE="0"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) int "Keypad type (0=none, 1=old 6 keys, 2=new 6 keys, 3=Nexcom 4 keys)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) range 0 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) default 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) This enables and configures a keypad connected to the parallel port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) The keys will be read from character device 10,185. Valid values are :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) 0 : do not enable this driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) 1 : old 6 keys keypad
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) 2 : new 6 keys keypad, as used on the server at www.ant-computing.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) 3 : Nexcom NSA1045's 4 keys keypad
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) New profiles can be described in the driver source. The driver also
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) supports simultaneous keys pressed when the keypad supports them.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) config PANEL_LCD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) depends on PANEL_PROFILE="0"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) int "LCD type (0=none, 1=custom, 2=old //, 3=ks0074, 4=hantronix, 5=Nexcom)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) range 0 5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) default 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) This enables and configures an LCD connected to the parallel port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) The driver includes an interpreter for escape codes starting with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) '\e[L' which are specific to the LCD, and a few ANSI codes. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) driver will be registered as character device 10,156, usually
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) under the name '/dev/lcd'. There are a total of 6 supported types :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) 0 : do not enable the driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) 1 : custom configuration and wiring (see further)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) 2 : 2x16 & 2x40 parallel LCD (old wiring)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) 3 : 2x16 serial LCD (KS-0074 based)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) 4 : 2x16 parallel LCD (Hantronix wiring)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) 5 : 2x16 parallel LCD (Nexcom wiring)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) When type '1' is specified, other options will appear to configure
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) more precise aspects (wiring, dimensions, protocol, ...). Please note
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) that those values changed from the 2.4 driver for better consistency.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) config PANEL_LCD_HEIGHT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) depends on PANEL_PROFILE="0" && PANEL_LCD="1"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) int "Number of lines on the LCD (1-2)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) range 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) default 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) This is the number of visible character lines on the LCD in custom profile.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) It can either be 1 or 2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) config PANEL_LCD_WIDTH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) depends on PANEL_PROFILE="0" && PANEL_LCD="1"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) int "Number of characters per line on the LCD (1-40)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) range 1 40
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) default 40
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) This is the number of characters per line on the LCD in custom profile.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) Common values are 16,20,24,40.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) config PANEL_LCD_BWIDTH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) depends on PANEL_PROFILE="0" && PANEL_LCD="1"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) int "Internal LCD line width (1-40, 40 by default)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) range 1 40
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) default 40
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) Most LCDs use a standard controller which supports hardware lines of 40
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) characters, although sometimes only 16, 20 or 24 of them are really wired
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) to the terminal. This results in some non-visible but addressable characters,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) and is the case for most parallel LCDs. Other LCDs, and some serial ones,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) however, use the same line width internally as what is visible. The KS0074
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) for example, uses 16 characters per line for 16 visible characters per line.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) This option lets you configure the value used by your LCD in 'custom' profile.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) If you don't know, put '40' here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) config PANEL_LCD_HWIDTH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) depends on PANEL_PROFILE="0" && PANEL_LCD="1"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) int "Hardware LCD line width (1-64, 64 by default)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) range 1 64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) default 64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) Most LCDs use a single address bit to differentiate line 0 and line 1. Since
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) some of them need to be able to address 40 chars with the lower bits, they
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) often use the immediately superior power of 2, which is 64, to address the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) next line.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) If you don't know what your LCD uses, in doubt let 16 here for a 2x16, and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) 64 here for a 2x40.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) config PANEL_LCD_CHARSET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) depends on PANEL_PROFILE="0" && PANEL_LCD="1"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) int "LCD character set (0=normal, 1=KS0074)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) range 0 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) default 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307) Some controllers such as the KS0074 use a somewhat strange character set
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308) where many symbols are at unusual places. The driver knows how to map
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) 'standard' ASCII characters to the character sets used by these controllers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) Valid values are :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) 0 : normal (untranslated) character set
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) 1 : KS0074 character set
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) If you don't know, use the normal one (0).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) config PANEL_LCD_PROTO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318) depends on PANEL_PROFILE="0" && PANEL_LCD="1"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) int "LCD communication mode (0=parallel 8 bits, 1=serial)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) range 0 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) default 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) This driver now supports any serial or parallel LCD wired to a parallel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324) port. But before assigning signals, the driver needs to know if it will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) be driving a serial LCD or a parallel one. Serial LCDs only use 2 wires
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326) (SDA/SCL), while parallel ones use 2 or 3 wires for the control signals
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 327) (E, RS, sometimes RW), and 4 or 8 for the data. Use 0 here for a 8 bits
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 328) parallel LCD, and 1 for a serial LCD.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 329)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 330) config PANEL_LCD_PIN_E
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 331) depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 332) int "Parallel port pin number & polarity connected to the LCD E signal (-17...17) "
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 333) range -17 17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 334) default 14
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 335) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 336) This describes the number of the parallel port pin to which the LCD 'E'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 337) signal has been connected. It can be :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 338)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 339) 0 : no connection (eg: connected to ground)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 340) 1..17 : directly connected to any of these pins on the DB25 plug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 341) -1..-17 : connected to the same pin through an inverter (eg: transistor).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 342)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 343) Default for the 'E' pin in custom profile is '14' (AUTOFEED).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 344)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 345) config PANEL_LCD_PIN_RS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 346) depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 347) int "Parallel port pin number & polarity connected to the LCD RS signal (-17...17) "
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 348) range -17 17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 349) default 17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 350) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 351) This describes the number of the parallel port pin to which the LCD 'RS'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 352) signal has been connected. It can be :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 353)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 354) 0 : no connection (eg: connected to ground)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 355) 1..17 : directly connected to any of these pins on the DB25 plug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 356) -1..-17 : connected to the same pin through an inverter (eg: transistor).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 357)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 358) Default for the 'RS' pin in custom profile is '17' (SELECT IN).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 359)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 360) config PANEL_LCD_PIN_RW
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 361) depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 362) int "Parallel port pin number & polarity connected to the LCD RW signal (-17...17) "
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 363) range -17 17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 364) default 16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 365) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 366) This describes the number of the parallel port pin to which the LCD 'RW'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 367) signal has been connected. It can be :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 368)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 369) 0 : no connection (eg: connected to ground)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 370) 1..17 : directly connected to any of these pins on the DB25 plug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 371) -1..-17 : connected to the same pin through an inverter (eg: transistor).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 372)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 373) Default for the 'RW' pin in custom profile is '16' (INIT).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 374)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 375) config PANEL_LCD_PIN_SCL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 376) depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 377) int "Parallel port pin number & polarity connected to the LCD SCL signal (-17...17) "
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 378) range -17 17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 379) default 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 380) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 381) This describes the number of the parallel port pin to which the serial
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 382) LCD 'SCL' signal has been connected. It can be :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 383)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 384) 0 : no connection (eg: connected to ground)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 385) 1..17 : directly connected to any of these pins on the DB25 plug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 386) -1..-17 : connected to the same pin through an inverter (eg: transistor).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 387)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 388) Default for the 'SCL' pin in custom profile is '1' (STROBE).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 389)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 390) config PANEL_LCD_PIN_SDA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 391) depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 392) int "Parallel port pin number & polarity connected to the LCD SDA signal (-17...17) "
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 393) range -17 17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 394) default 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 395) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 396) This describes the number of the parallel port pin to which the serial
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 397) LCD 'SDA' signal has been connected. It can be :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 398)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 399) 0 : no connection (eg: connected to ground)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 400) 1..17 : directly connected to any of these pins on the DB25 plug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 401) -1..-17 : connected to the same pin through an inverter (eg: transistor).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 402)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 403) Default for the 'SDA' pin in custom profile is '2' (D0).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 404)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 405) config PANEL_LCD_PIN_BL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 406) depends on PANEL_PROFILE="0" && PANEL_LCD="1"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 407) int "Parallel port pin number & polarity connected to the LCD backlight signal (-17...17) "
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 408) range -17 17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 409) default 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 410) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 411) This describes the number of the parallel port pin to which the LCD 'BL' signal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 412) has been connected. It can be :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 413)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 414) 0 : no connection (eg: connected to ground)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 415) 1..17 : directly connected to any of these pins on the DB25 plug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 416) -1..-17 : connected to the same pin through an inverter (eg: transistor).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 417)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 418) Default for the 'BL' pin in custom profile is '0' (uncontrolled).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 419)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 420) endif # PARPORT_PANEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 421)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 422) config PANEL_CHANGE_MESSAGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 423) bool "Change LCD initialization message ?"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 424) depends on CHARLCD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 425) default "n"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 426) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 427) This allows you to replace the boot message indicating the kernel version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 428) and the driver version with a custom message. This is useful on appliances
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 429) where a simple 'Starting system' message can be enough to stop a customer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 430) from worrying.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 431)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 432) If you say 'Y' here, you'll be able to choose a message yourself. Otherwise,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 433) say 'N' and keep the default message with the version.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 434)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 435) config PANEL_BOOT_MESSAGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 436) depends on PANEL_CHANGE_MESSAGE="y"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 437) string "New initialization message"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 438) default ""
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 439) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 440) This allows you to replace the boot message indicating the kernel version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 441) and the driver version with a custom message. This is useful on appliances
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 442) where a simple 'Starting system' message can be enough to stop a customer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 443) from worrying.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 444)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 445) An empty message will only clear the display at driver init time. Any other
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 446) printf()-formatted message is valid with newline and escape codes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 447)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 448) choice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 449) prompt "Backlight initial state"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 450) default CHARLCD_BL_FLASH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 451) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 452) Select the initial backlight state on boot or module load.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 453)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 454) Previously, there was no option for this: the backlight flashed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 455) briefly on init. Now you can also turn it off/on.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 456)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 457) config CHARLCD_BL_OFF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 458) bool "Off"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 459) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 460) Backlight is initially turned off
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 461)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 462) config CHARLCD_BL_ON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 463) bool "On"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 464) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 465) Backlight is initially turned on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 466)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 467) config CHARLCD_BL_FLASH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 468) bool "Flash"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 469) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 470) Backlight is flashed briefly on init
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 471)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 472) endchoice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 473)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 474) endif # AUXDISPLAY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 475)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 476) config PANEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 477) tristate "Parallel port LCD/Keypad Panel support (OLD OPTION)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 478) depends on PARPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 479) select AUXDISPLAY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 480) select PARPORT_PANEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 481)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 482) config CHARLCD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 483) tristate "Character LCD core support" if COMPILE_TEST