diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-04-04 13:25:21 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 11:48:20 -0400 |
| commit | 51c1e9b554c996284d5d3bd44da829f41a49a21b (patch) | |
| tree | 44f3ebc0fb654b1fae9e230625ebcb495bcefb69 /drivers/misc/Kconfig | |
| parent | 6ef0c3337ac9a0a963208beed92d478a317d7888 (diff) | |
auxdisplay: Move panel.c to drivers/auxdisplay folder
It looks like panel.c belongs to auxdisplay subsystem.
Move it to drivers/auxdisplay folder.
No functional changes intended.
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/Kconfig')
| -rw-r--r-- | drivers/misc/Kconfig | 280 |
1 files changed, 0 insertions, 280 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index fb933b0b9297..2438466c15ac 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
| @@ -492,286 +492,6 @@ config VEXPRESS_SYSCFG | |||
| 492 | bus. System Configuration interface is one of the possible means | 492 | bus. System Configuration interface is one of the possible means |
| 493 | of generating transactions on this bus. | 493 | of generating transactions on this bus. |
| 494 | 494 | ||
| 495 | config PANEL | ||
| 496 | tristate "Parallel port LCD/Keypad Panel support" | ||
| 497 | depends on PARPORT | ||
| 498 | select CHARLCD | ||
| 499 | ---help--- | ||
| 500 | Say Y here if you have an HD44780 or KS-0074 LCD connected to your | ||
| 501 | parallel port. This driver also features 4 and 6-key keypads. The LCD | ||
| 502 | is accessible through the /dev/lcd char device (10, 156), and the | ||
| 503 | keypad through /dev/keypad (10, 185). This code can either be | ||
| 504 | compiled as a module, or linked into the kernel and started at boot. | ||
| 505 | If you don't understand what all this is about, say N. | ||
| 506 | |||
| 507 | if PANEL | ||
| 508 | |||
| 509 | config PANEL_PARPORT | ||
| 510 | int "Default parallel port number (0=LPT1)" | ||
| 511 | range 0 255 | ||
| 512 | default "0" | ||
| 513 | ---help--- | ||
| 514 | This is the index of the parallel port the panel is connected to. One | ||
| 515 | driver instance only supports one parallel port, so if your keypad | ||
| 516 | and LCD are connected to two separate ports, you have to start two | ||
| 517 | modules with different arguments. Numbering starts with '0' for LPT1, | ||
| 518 | and so on. | ||
| 519 | |||
| 520 | config PANEL_PROFILE | ||
| 521 | int "Default panel profile (0-5, 0=custom)" | ||
| 522 | range 0 5 | ||
| 523 | default "5" | ||
| 524 | ---help--- | ||
| 525 | To ease configuration, the driver supports different configuration | ||
| 526 | profiles for past and recent wirings. These profiles can also be | ||
| 527 | used to define an approximative configuration, completed by a few | ||
| 528 | other options. Here are the profiles : | ||
| 529 | |||
| 530 | 0 = custom (see further) | ||
| 531 | 1 = 2x16 parallel LCD, old keypad | ||
| 532 | 2 = 2x16 serial LCD (KS-0074), new keypad | ||
| 533 | 3 = 2x16 parallel LCD (Hantronix), no keypad | ||
| 534 | 4 = 2x16 parallel LCD (Nexcom NSA1045) with Nexcom's keypad | ||
| 535 | 5 = 2x40 parallel LCD (old one), with old keypad | ||
| 536 | |||
| 537 | Custom configurations allow you to define how your display is | ||
| 538 | wired to the parallel port, and how it works. This is only intended | ||
| 539 | for experts. | ||
| 540 | |||
| 541 | config PANEL_KEYPAD | ||
| 542 | depends on PANEL_PROFILE="0" | ||
| 543 | int "Keypad type (0=none, 1=old 6 keys, 2=new 6 keys, 3=Nexcom 4 keys)" | ||
| 544 | range 0 3 | ||
| 545 | default 0 | ||
| 546 | ---help--- | ||
| 547 | This enables and configures a keypad connected to the parallel port. | ||
| 548 | The keys will be read from character device 10,185. Valid values are : | ||
| 549 | |||
| 550 | 0 : do not enable this driver | ||
| 551 | 1 : old 6 keys keypad | ||
| 552 | 2 : new 6 keys keypad, as used on the server at www.ant-computing.com | ||
| 553 | 3 : Nexcom NSA1045's 4 keys keypad | ||
| 554 | |||
| 555 | New profiles can be described in the driver source. The driver also | ||
| 556 | supports simultaneous keys pressed when the keypad supports them. | ||
| 557 | |||
| 558 | config PANEL_LCD | ||
| 559 | depends on PANEL_PROFILE="0" | ||
| 560 | int "LCD type (0=none, 1=custom, 2=old //, 3=ks0074, 4=hantronix, 5=Nexcom)" | ||
| 561 | range 0 5 | ||
| 562 | default 0 | ||
| 563 | ---help--- | ||
| 564 | This enables and configures an LCD connected to the parallel port. | ||
| 565 | The driver includes an interpreter for escape codes starting with | ||
| 566 | '\e[L' which are specific to the LCD, and a few ANSI codes. The | ||
| 567 | driver will be registered as character device 10,156, usually | ||
| 568 | under the name '/dev/lcd'. There are a total of 6 supported types : | ||
| 569 | |||
| 570 | 0 : do not enable the driver | ||
| 571 | 1 : custom configuration and wiring (see further) | ||
| 572 | 2 : 2x16 & 2x40 parallel LCD (old wiring) | ||
| 573 | 3 : 2x16 serial LCD (KS-0074 based) | ||
| 574 | 4 : 2x16 parallel LCD (Hantronix wiring) | ||
| 575 | 5 : 2x16 parallel LCD (Nexcom wiring) | ||
| 576 | |||
| 577 | When type '1' is specified, other options will appear to configure | ||
| 578 | more precise aspects (wiring, dimensions, protocol, ...). Please note | ||
| 579 | that those values changed from the 2.4 driver for better consistency. | ||
| 580 | |||
| 581 | config PANEL_LCD_HEIGHT | ||
| 582 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" | ||
| 583 | int "Number of lines on the LCD (1-2)" | ||
| 584 | range 1 2 | ||
| 585 | default 2 | ||
| 586 | ---help--- | ||
| 587 | This is the number of visible character lines on the LCD in custom profile. | ||
| 588 | It can either be 1 or 2. | ||
| 589 | |||
| 590 | config PANEL_LCD_WIDTH | ||
| 591 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" | ||
| 592 | int "Number of characters per line on the LCD (1-40)" | ||
| 593 | range 1 40 | ||
| 594 | default 40 | ||
| 595 | ---help--- | ||
| 596 | This is the number of characters per line on the LCD in custom profile. | ||
| 597 | Common values are 16,20,24,40. | ||
| 598 | |||
| 599 | config PANEL_LCD_BWIDTH | ||
| 600 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" | ||
| 601 | int "Internal LCD line width (1-40, 40 by default)" | ||
| 602 | range 1 40 | ||
| 603 | default 40 | ||
| 604 | ---help--- | ||
| 605 | Most LCDs use a standard controller which supports hardware lines of 40 | ||
| 606 | characters, although sometimes only 16, 20 or 24 of them are really wired | ||
| 607 | to the terminal. This results in some non-visible but addressable characters, | ||
| 608 | and is the case for most parallel LCDs. Other LCDs, and some serial ones, | ||
| 609 | however, use the same line width internally as what is visible. The KS0074 | ||
| 610 | for example, uses 16 characters per line for 16 visible characters per line. | ||
| 611 | |||
| 612 | This option lets you configure the value used by your LCD in 'custom' profile. | ||
| 613 | If you don't know, put '40' here. | ||
| 614 | |||
| 615 | config PANEL_LCD_HWIDTH | ||
| 616 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" | ||
| 617 | int "Hardware LCD line width (1-64, 64 by default)" | ||
| 618 | range 1 64 | ||
| 619 | default 64 | ||
| 620 | ---help--- | ||
| 621 | Most LCDs use a single address bit to differentiate line 0 and line 1. Since | ||
| 622 | some of them need to be able to address 40 chars with the lower bits, they | ||
| 623 | often use the immediately superior power of 2, which is 64, to address the | ||
| 624 | next line. | ||
| 625 | |||
| 626 | If you don't know what your LCD uses, in doubt let 16 here for a 2x16, and | ||
| 627 | 64 here for a 2x40. | ||
| 628 | |||
| 629 | config PANEL_LCD_CHARSET | ||
| 630 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" | ||
| 631 | int "LCD character set (0=normal, 1=KS0074)" | ||
| 632 | range 0 1 | ||
| 633 | default 0 | ||
| 634 | ---help--- | ||
| 635 | Some controllers such as the KS0074 use a somewhat strange character set | ||
| 636 | where many symbols are at unusual places. The driver knows how to map | ||
| 637 | 'standard' ASCII characters to the character sets used by these controllers. | ||
| 638 | Valid values are : | ||
| 639 | |||
| 640 | 0 : normal (untranslated) character set | ||
| 641 | 1 : KS0074 character set | ||
| 642 | |||
| 643 | If you don't know, use the normal one (0). | ||
| 644 | |||
| 645 | config PANEL_LCD_PROTO | ||
| 646 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" | ||
| 647 | int "LCD communication mode (0=parallel 8 bits, 1=serial)" | ||
| 648 | range 0 1 | ||
| 649 | default 0 | ||
| 650 | ---help--- | ||
| 651 | This driver now supports any serial or parallel LCD wired to a parallel | ||
| 652 | port. But before assigning signals, the driver needs to know if it will | ||
| 653 | be driving a serial LCD or a parallel one. Serial LCDs only use 2 wires | ||
| 654 | (SDA/SCL), while parallel ones use 2 or 3 wires for the control signals | ||
| 655 | (E, RS, sometimes RW), and 4 or 8 for the data. Use 0 here for a 8 bits | ||
| 656 | parallel LCD, and 1 for a serial LCD. | ||
| 657 | |||
| 658 | config PANEL_LCD_PIN_E | ||
| 659 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0" | ||
| 660 | int "Parallel port pin number & polarity connected to the LCD E signal (-17...17) " | ||
| 661 | range -17 17 | ||
| 662 | default 14 | ||
| 663 | ---help--- | ||
| 664 | This describes the number of the parallel port pin to which the LCD 'E' | ||
| 665 | signal has been connected. It can be : | ||
| 666 | |||
| 667 | 0 : no connection (eg: connected to ground) | ||
| 668 | 1..17 : directly connected to any of these pins on the DB25 plug | ||
| 669 | -1..-17 : connected to the same pin through an inverter (eg: transistor). | ||
| 670 | |||
| 671 | Default for the 'E' pin in custom profile is '14' (AUTOFEED). | ||
| 672 | |||
| 673 | config PANEL_LCD_PIN_RS | ||
| 674 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0" | ||
| 675 | int "Parallel port pin number & polarity connected to the LCD RS signal (-17...17) " | ||
| 676 | range -17 17 | ||
| 677 | default 17 | ||
| 678 | ---help--- | ||
| 679 | This describes the number of the parallel port pin to which the LCD 'RS' | ||
| 680 | signal has been connected. It can be : | ||
| 681 | |||
| 682 | 0 : no connection (eg: connected to ground) | ||
| 683 | 1..17 : directly connected to any of these pins on the DB25 plug | ||
| 684 | -1..-17 : connected to the same pin through an inverter (eg: transistor). | ||
| 685 | |||
| 686 | Default for the 'RS' pin in custom profile is '17' (SELECT IN). | ||
| 687 | |||
| 688 | config PANEL_LCD_PIN_RW | ||
| 689 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0" | ||
| 690 | int "Parallel port pin number & polarity connected to the LCD RW signal (-17...17) " | ||
| 691 | range -17 17 | ||
| 692 | default 16 | ||
| 693 | ---help--- | ||
| 694 | This describes the number of the parallel port pin to which the LCD 'RW' | ||
| 695 | signal has been connected. It can be : | ||
| 696 | |||
| 697 | 0 : no connection (eg: connected to ground) | ||
| 698 | 1..17 : directly connected to any of these pins on the DB25 plug | ||
| 699 | -1..-17 : connected to the same pin through an inverter (eg: transistor). | ||
| 700 | |||
| 701 | Default for the 'RW' pin in custom profile is '16' (INIT). | ||
| 702 | |||
| 703 | config PANEL_LCD_PIN_SCL | ||
| 704 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0" | ||
| 705 | int "Parallel port pin number & polarity connected to the LCD SCL signal (-17...17) " | ||
| 706 | range -17 17 | ||
| 707 | default 1 | ||
| 708 | ---help--- | ||
| 709 | This describes the number of the parallel port pin to which the serial | ||
| 710 | LCD 'SCL' signal has been connected. It can be : | ||
| 711 | |||
| 712 | 0 : no connection (eg: connected to ground) | ||
| 713 | 1..17 : directly connected to any of these pins on the DB25 plug | ||
| 714 | -1..-17 : connected to the same pin through an inverter (eg: transistor). | ||
| 715 | |||
| 716 | Default for the 'SCL' pin in custom profile is '1' (STROBE). | ||
| 717 | |||
| 718 | config PANEL_LCD_PIN_SDA | ||
| 719 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0" | ||
| 720 | int "Parallel port pin number & polarity connected to the LCD SDA signal (-17...17) " | ||
| 721 | range -17 17 | ||
| 722 | default 2 | ||
| 723 | ---help--- | ||
| 724 | This describes the number of the parallel port pin to which the serial | ||
| 725 | LCD 'SDA' signal has been connected. It can be : | ||
| 726 | |||
| 727 | 0 : no connection (eg: connected to ground) | ||
| 728 | 1..17 : directly connected to any of these pins on the DB25 plug | ||
| 729 | -1..-17 : connected to the same pin through an inverter (eg: transistor). | ||
| 730 | |||
| 731 | Default for the 'SDA' pin in custom profile is '2' (D0). | ||
| 732 | |||
| 733 | config PANEL_LCD_PIN_BL | ||
| 734 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" | ||
| 735 | int "Parallel port pin number & polarity connected to the LCD backlight signal (-17...17) " | ||
| 736 | range -17 17 | ||
| 737 | default 0 | ||
| 738 | ---help--- | ||
| 739 | This describes the number of the parallel port pin to which the LCD 'BL' signal | ||
| 740 | has been connected. It can be : | ||
| 741 | |||
| 742 | 0 : no connection (eg: connected to ground) | ||
| 743 | 1..17 : directly connected to any of these pins on the DB25 plug | ||
| 744 | -1..-17 : connected to the same pin through an inverter (eg: transistor). | ||
| 745 | |||
| 746 | Default for the 'BL' pin in custom profile is '0' (uncontrolled). | ||
| 747 | |||
| 748 | config PANEL_CHANGE_MESSAGE | ||
| 749 | bool "Change LCD initialization message ?" | ||
| 750 | default "n" | ||
| 751 | ---help--- | ||
| 752 | This allows you to replace the boot message indicating the kernel version | ||
| 753 | and the driver version with a custom message. This is useful on appliances | ||
| 754 | where a simple 'Starting system' message can be enough to stop a customer | ||
| 755 | from worrying. | ||
| 756 | |||
| 757 | If you say 'Y' here, you'll be able to choose a message yourself. Otherwise, | ||
| 758 | say 'N' and keep the default message with the version. | ||
| 759 | |||
| 760 | config PANEL_BOOT_MESSAGE | ||
| 761 | depends on PANEL_CHANGE_MESSAGE="y" | ||
| 762 | string "New initialization message" | ||
| 763 | default "" | ||
| 764 | ---help--- | ||
| 765 | This allows you to replace the boot message indicating the kernel version | ||
| 766 | and the driver version with a custom message. This is useful on appliances | ||
| 767 | where a simple 'Starting system' message can be enough to stop a customer | ||
| 768 | from worrying. | ||
| 769 | |||
| 770 | An empty message will only clear the display at driver init time. Any other | ||
| 771 | printf()-formatted message is valid with newline and escape codes. | ||
| 772 | |||
| 773 | endif # PANEL | ||
| 774 | |||
| 775 | config ASPEED_LPC_CTRL | 495 | config ASPEED_LPC_CTRL |
| 776 | depends on (ARCH_ASPEED || COMPILE_TEST) && REGMAP && MFD_SYSCON | 496 | depends on (ARCH_ASPEED || COMPILE_TEST) && REGMAP && MFD_SYSCON |
| 777 | tristate "Aspeed ast2400/2500 HOST LPC to BMC bridge control" | 497 | tristate "Aspeed ast2400/2500 HOST LPC to BMC bridge control" |
