summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/misc/Kconfig37
1 files changed, 19 insertions, 18 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 2687ecf3e9e6..c290990d73ed 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -503,9 +503,10 @@ config PANEL
503 compiled as a module, or linked into the kernel and started at boot. 503 compiled as a module, or linked into the kernel and started at boot.
504 If you don't understand what all this is about, say N. 504 If you don't understand what all this is about, say N.
505 505
506if PANEL
507
506config PANEL_PARPORT 508config PANEL_PARPORT
507 int "Default parallel port number (0=LPT1)" 509 int "Default parallel port number (0=LPT1)"
508 depends on PANEL
509 range 0 255 510 range 0 255
510 default "0" 511 default "0"
511 ---help--- 512 ---help---
@@ -517,7 +518,6 @@ config PANEL_PARPORT
517 518
518config PANEL_PROFILE 519config PANEL_PROFILE
519 int "Default panel profile (0-5, 0=custom)" 520 int "Default panel profile (0-5, 0=custom)"
520 depends on PANEL
521 range 0 5 521 range 0 5
522 default "5" 522 default "5"
523 ---help--- 523 ---help---
@@ -538,7 +538,7 @@ config PANEL_PROFILE
538 for experts. 538 for experts.
539 539
540config PANEL_KEYPAD 540config PANEL_KEYPAD
541 depends on PANEL && PANEL_PROFILE="0" 541 depends on PANEL_PROFILE="0"
542 int "Keypad type (0=none, 1=old 6 keys, 2=new 6 keys, 3=Nexcom 4 keys)" 542 int "Keypad type (0=none, 1=old 6 keys, 2=new 6 keys, 3=Nexcom 4 keys)"
543 range 0 3 543 range 0 3
544 default 0 544 default 0
@@ -555,7 +555,7 @@ config PANEL_KEYPAD
555 supports simultaneous keys pressed when the keypad supports them. 555 supports simultaneous keys pressed when the keypad supports them.
556 556
557config PANEL_LCD 557config PANEL_LCD
558 depends on PANEL && PANEL_PROFILE="0" 558 depends on PANEL_PROFILE="0"
559 int "LCD type (0=none, 1=custom, 2=old //, 3=ks0074, 4=hantronix, 5=Nexcom)" 559 int "LCD type (0=none, 1=custom, 2=old //, 3=ks0074, 4=hantronix, 5=Nexcom)"
560 range 0 5 560 range 0 5
561 default 0 561 default 0
@@ -578,7 +578,7 @@ config PANEL_LCD
578 that those values changed from the 2.4 driver for better consistency. 578 that those values changed from the 2.4 driver for better consistency.
579 579
580config PANEL_LCD_HEIGHT 580config PANEL_LCD_HEIGHT
581 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" 581 depends on PANEL_PROFILE="0" && PANEL_LCD="1"
582 int "Number of lines on the LCD (1-2)" 582 int "Number of lines on the LCD (1-2)"
583 range 1 2 583 range 1 2
584 default 2 584 default 2
@@ -587,7 +587,7 @@ config PANEL_LCD_HEIGHT
587 It can either be 1 or 2. 587 It can either be 1 or 2.
588 588
589config PANEL_LCD_WIDTH 589config PANEL_LCD_WIDTH
590 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" 590 depends on PANEL_PROFILE="0" && PANEL_LCD="1"
591 int "Number of characters per line on the LCD (1-40)" 591 int "Number of characters per line on the LCD (1-40)"
592 range 1 40 592 range 1 40
593 default 40 593 default 40
@@ -596,7 +596,7 @@ config PANEL_LCD_WIDTH
596 Common values are 16,20,24,40. 596 Common values are 16,20,24,40.
597 597
598config PANEL_LCD_BWIDTH 598config PANEL_LCD_BWIDTH
599 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" 599 depends on PANEL_PROFILE="0" && PANEL_LCD="1"
600 int "Internal LCD line width (1-40, 40 by default)" 600 int "Internal LCD line width (1-40, 40 by default)"
601 range 1 40 601 range 1 40
602 default 40 602 default 40
@@ -612,7 +612,7 @@ config PANEL_LCD_BWIDTH
612 If you don't know, put '40' here. 612 If you don't know, put '40' here.
613 613
614config PANEL_LCD_HWIDTH 614config PANEL_LCD_HWIDTH
615 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" 615 depends on PANEL_PROFILE="0" && PANEL_LCD="1"
616 int "Hardware LCD line width (1-64, 64 by default)" 616 int "Hardware LCD line width (1-64, 64 by default)"
617 range 1 64 617 range 1 64
618 default 64 618 default 64
@@ -626,7 +626,7 @@ config PANEL_LCD_HWIDTH
626 64 here for a 2x40. 626 64 here for a 2x40.
627 627
628config PANEL_LCD_CHARSET 628config PANEL_LCD_CHARSET
629 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" 629 depends on PANEL_PROFILE="0" && PANEL_LCD="1"
630 int "LCD character set (0=normal, 1=KS0074)" 630 int "LCD character set (0=normal, 1=KS0074)"
631 range 0 1 631 range 0 1
632 default 0 632 default 0
@@ -642,7 +642,7 @@ config PANEL_LCD_CHARSET
642 If you don't know, use the normal one (0). 642 If you don't know, use the normal one (0).
643 643
644config PANEL_LCD_PROTO 644config PANEL_LCD_PROTO
645 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" 645 depends on PANEL_PROFILE="0" && PANEL_LCD="1"
646 int "LCD communication mode (0=parallel 8 bits, 1=serial)" 646 int "LCD communication mode (0=parallel 8 bits, 1=serial)"
647 range 0 1 647 range 0 1
648 default 0 648 default 0
@@ -655,7 +655,7 @@ config PANEL_LCD_PROTO
655 parallel LCD, and 1 for a serial LCD. 655 parallel LCD, and 1 for a serial LCD.
656 656
657config PANEL_LCD_PIN_E 657config PANEL_LCD_PIN_E
658 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0" 658 depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0"
659 int "Parallel port pin number & polarity connected to the LCD E signal (-17...17) " 659 int "Parallel port pin number & polarity connected to the LCD E signal (-17...17) "
660 range -17 17 660 range -17 17
661 default 14 661 default 14
@@ -670,7 +670,7 @@ config PANEL_LCD_PIN_E
670 Default for the 'E' pin in custom profile is '14' (AUTOFEED). 670 Default for the 'E' pin in custom profile is '14' (AUTOFEED).
671 671
672config PANEL_LCD_PIN_RS 672config PANEL_LCD_PIN_RS
673 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0" 673 depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0"
674 int "Parallel port pin number & polarity connected to the LCD RS signal (-17...17) " 674 int "Parallel port pin number & polarity connected to the LCD RS signal (-17...17) "
675 range -17 17 675 range -17 17
676 default 17 676 default 17
@@ -685,7 +685,7 @@ config PANEL_LCD_PIN_RS
685 Default for the 'RS' pin in custom profile is '17' (SELECT IN). 685 Default for the 'RS' pin in custom profile is '17' (SELECT IN).
686 686
687config PANEL_LCD_PIN_RW 687config PANEL_LCD_PIN_RW
688 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0" 688 depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0"
689 int "Parallel port pin number & polarity connected to the LCD RW signal (-17...17) " 689 int "Parallel port pin number & polarity connected to the LCD RW signal (-17...17) "
690 range -17 17 690 range -17 17
691 default 16 691 default 16
@@ -700,7 +700,7 @@ config PANEL_LCD_PIN_RW
700 Default for the 'RW' pin in custom profile is '16' (INIT). 700 Default for the 'RW' pin in custom profile is '16' (INIT).
701 701
702config PANEL_LCD_PIN_SCL 702config PANEL_LCD_PIN_SCL
703 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0" 703 depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0"
704 int "Parallel port pin number & polarity connected to the LCD SCL signal (-17...17) " 704 int "Parallel port pin number & polarity connected to the LCD SCL signal (-17...17) "
705 range -17 17 705 range -17 17
706 default 1 706 default 1
@@ -715,7 +715,7 @@ config PANEL_LCD_PIN_SCL
715 Default for the 'SCL' pin in custom profile is '1' (STROBE). 715 Default for the 'SCL' pin in custom profile is '1' (STROBE).
716 716
717config PANEL_LCD_PIN_SDA 717config PANEL_LCD_PIN_SDA
718 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0" 718 depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0"
719 int "Parallel port pin number & polarity connected to the LCD SDA signal (-17...17) " 719 int "Parallel port pin number & polarity connected to the LCD SDA signal (-17...17) "
720 range -17 17 720 range -17 17
721 default 2 721 default 2
@@ -730,7 +730,7 @@ config PANEL_LCD_PIN_SDA
730 Default for the 'SDA' pin in custom profile is '2' (D0). 730 Default for the 'SDA' pin in custom profile is '2' (D0).
731 731
732config PANEL_LCD_PIN_BL 732config PANEL_LCD_PIN_BL
733 depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" 733 depends on PANEL_PROFILE="0" && PANEL_LCD="1"
734 int "Parallel port pin number & polarity connected to the LCD backlight signal (-17...17) " 734 int "Parallel port pin number & polarity connected to the LCD backlight signal (-17...17) "
735 range -17 17 735 range -17 17
736 default 0 736 default 0
@@ -745,7 +745,6 @@ config PANEL_LCD_PIN_BL
745 Default for the 'BL' pin in custom profile is '0' (uncontrolled). 745 Default for the 'BL' pin in custom profile is '0' (uncontrolled).
746 746
747config PANEL_CHANGE_MESSAGE 747config PANEL_CHANGE_MESSAGE
748 depends on PANEL
749 bool "Change LCD initialization message ?" 748 bool "Change LCD initialization message ?"
750 default "n" 749 default "n"
751 ---help--- 750 ---help---
@@ -758,7 +757,7 @@ config PANEL_CHANGE_MESSAGE
758 say 'N' and keep the default message with the version. 757 say 'N' and keep the default message with the version.
759 758
760config PANEL_BOOT_MESSAGE 759config PANEL_BOOT_MESSAGE
761 depends on PANEL && PANEL_CHANGE_MESSAGE="y" 760 depends on PANEL_CHANGE_MESSAGE="y"
762 string "New initialization message" 761 string "New initialization message"
763 default "" 762 default ""
764 ---help--- 763 ---help---
@@ -770,6 +769,8 @@ config PANEL_BOOT_MESSAGE
770 An empty message will only clear the display at driver init time. Any other 769 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. 770 printf()-formatted message is valid with newline and escape codes.
772 771
772endif # PANEL
773
773source "drivers/misc/c2port/Kconfig" 774source "drivers/misc/c2port/Kconfig"
774source "drivers/misc/eeprom/Kconfig" 775source "drivers/misc/eeprom/Kconfig"
775source "drivers/misc/cb710/Kconfig" 776source "drivers/misc/cb710/Kconfig"