~ubuntu-branches/ubuntu/karmic/linux-ports/karmic

« back to all changes in this revision

Viewing changes to drivers/rtc/Kconfig

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich, Luke Yelavich, Michael Casadevall, Tim Gardner, Upstream Kernel Changes
  • Date: 2009-05-06 18:18:55 UTC
  • Revision ID: james.westby@ubuntu.com-20090506181855-t00baeevpnvd9o7a
Tags: 2.6.30-1.1
[ Luke Yelavich ]
* initial release for karmic
* SAUCE: rebase-ports - adjust for the karmic ports kernel
* SAUCE: rebase-ports - also remove abi dirs/files on rebase
* Update configs after rebase against mainline Jaunty tree
* [Config] Disable CONFIG_BLK_DEV_UB and CONFIG_USB_LIBUSUAL as per
  mainline jaunty
* forward-port patch to drbd for powerpc compilation
* [Config] disable CONFIG_LENOVO_SL_LAPTOP for i386 due to FTBFS
* add .o files found in arch/powerpc/lib to all powerpc kernel header
  packages
* [Config] enable CONFIG_DRM_I915_KMS for i386 as per karmic mainline

[ Michael Casadevall ]

* Disable kgdb on sparc64
* [sparc] [Config] Disable GPIO LEDS
* [ia64] Rename -ia64-generic to -ia64 in line with other architectures
* Correct kernel image path for sparc builds
* [hppa] Fix HPPA config files to build modules for all udebian

Rebase on top of karmic mainline 2.6.30-1.1

[ Tim Gardner ]

* [Config] armel: disable staging drivers, fixes FTBS
* [Config] armel imx51: Disable CONFIG_MTD_NAND_MXC, fixes FTBS

[ Upstream Kernel Changes ]

* mpt2sas: Change reset_type enum to avoid namespace collision.
  Submitted upstream.

* Initial release after rebasing against v2.6.30-rc3

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        default "rtc0"
36
36
        help
37
37
          The RTC device that will be used to (re)initialize the system
38
 
          clock, usually rtc0.  Initialization is done when the system
39
 
          starts up, and when it resumes from a low power state.  This
 
38
          clock, usually rtc0. Initialization is done when the system
 
39
          starts up, and when it resumes from a low power state. This
40
40
          device should record time in UTC, since the kernel won't do
41
41
          timezone correction.
42
42
 
44
44
          functions run, so it must usually be statically linked.
45
45
 
46
46
          This clock should be battery-backed, so that it reads the correct
47
 
          time when the system boots from a power-off state.  Otherwise, your
 
47
          time when the system boots from a power-off state. Otherwise, your
48
48
          system will need an external clock source (like an NTP server).
49
49
 
50
50
          If the clock you specify here is not battery backed, it may still
69
69
          Say yes here if you want to use your RTCs using sysfs interfaces,
70
70
          /sys/class/rtc/rtc0 through /sys/.../rtcN.
71
71
 
72
 
          This driver can also be built as a module. If so, the module
73
 
          will be called rtc-sysfs.
 
72
          If unsure, say Y.
74
73
 
75
74
config RTC_INTF_PROC
76
75
        boolean "/proc/driver/rtc (procfs for rtc0)"
78
77
        default RTC_CLASS
79
78
        help
80
79
          Say yes here if you want to use your first RTC through the proc
81
 
          interface, /proc/driver/rtc.  Other RTCs will not be available
 
80
          interface, /proc/driver/rtc. Other RTCs will not be available
82
81
          through that API.
83
82
 
84
 
          This driver can also be built as a module. If so, the module
85
 
          will be called rtc-proc.
 
83
          If unsure, say Y.
86
84
 
87
85
config RTC_INTF_DEV
88
86
        boolean "/dev/rtcN (character devices)"
90
88
        help
91
89
          Say yes here if you want to use your RTCs using the /dev
92
90
          interfaces, which "udev" sets up as /dev/rtc0 through
93
 
          /dev/rtcN.  You may want to set up a symbolic link so one
94
 
          of these can be accessed as /dev/rtc, which is a name
95
 
          expected by "hwclock" and some other programs.
96
 
 
97
 
          This driver can also be built as a module. If so, the module
98
 
          will be called rtc-dev.
 
91
          /dev/rtcN.
 
92
 
 
93
          You may want to set up a symbolic link so one of these
 
94
          can be accessed as /dev/rtc, which is a name
 
95
          expected by "hwclock" and some other programs. Recent
 
96
          versions of "udev" are known to set up the symlink for you.
 
97
 
 
98
          If unsure, say Y.
99
99
 
100
100
config RTC_INTF_DEV_UIE_EMUL
101
101
        bool "RTC UIE emulation on dev interface"
102
102
        depends on RTC_INTF_DEV
103
103
        help
104
104
          Provides an emulation for RTC_UIE if the underlying rtc chip
105
 
          driver does not expose RTC_UIE ioctls.  Those requests generate
 
105
          driver does not expose RTC_UIE ioctls. Those requests generate
106
106
          once-per-second update interrupts, used for synchronization.
107
107
 
 
108
          The emulation code will read the time from the hardware
 
109
          clock several times per second, please enable this option
 
110
          only if you know that you really need it.
 
111
 
108
112
config RTC_DRV_TEST
109
113
        tristate "Test driver/device"
110
114
        help
125
129
if I2C
126
130
 
127
131
config RTC_DRV_DS1307
128
 
        tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00"
 
132
        tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00, EPSON RX-8025"
129
133
        help
130
134
          If you say yes here you get support for various compatible RTC
131
 
          chips (often with battery backup) connected with I2C.  This driver
 
135
          chips (often with battery backup) connected with I2C. This driver
132
136
          should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
133
 
          and probably other chips.  In some cases the RTC must already
134
 
          have been initialized (by manufacturing or a bootloader).
 
137
          EPSON RX-8025 and probably other chips. In some cases the RTC
 
138
          must already have been initialized (by manufacturing or a
 
139
          bootloader).
135
140
 
136
141
          The first seven registers on these chips hold an RTC, and other
137
142
          registers may add features such as NVRAM, a trickle charger for
138
 
          the RTC/NVRAM backup power, and alarms.  NVRAM is visible in
 
143
          the RTC/NVRAM backup power, and alarms. NVRAM is visible in
139
144
          sysfs, but other chip features may not be available.
140
145
 
141
146
          This driver can also be built as a module. If so, the module
146
151
        depends on RTC_CLASS && I2C
147
152
        help
148
153
          If you say yes here you get support for Dallas Semiconductor
149
 
          DS1374 real-time clock chips.  If an interrupt is associated
 
154
          DS1374 real-time clock chips. If an interrupt is associated
150
155
          with the device, the alarm functionality is supported.
151
156
 
152
 
          This driver can also be built as a module.  If so, the module
 
157
          This driver can also be built as a module. If so, the module
153
158
          will be called rtc-ds1374.
154
159
 
155
160
config RTC_DRV_DS1672
220
225
          will be called rtc-pcf8583.
221
226
 
222
227
config RTC_DRV_M41T80
223
 
        tristate "ST M41T65/M41T80/81/82/83/84/85/87"
 
228
        tristate "ST M41T62/65/M41T80/81/82/83/84/85/87"
224
229
        help
225
230
          If you say Y here you will get support for the ST M41T60
226
231
          and M41T80 RTC chips series. Currently, the following chips are
227
 
          supported: M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
 
232
          supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
228
233
          M41ST85, and M41ST87.
229
234
 
230
235
          This driver can also be built as a module. If so, the module
237
242
          If you say Y here you will get support for the
238
243
          watchdog timer in the ST M41T60 and M41T80 RTC chips series.
239
244
 
 
245
config RTC_DRV_DM355EVM
 
246
        tristate "TI DaVinci DM355 EVM RTC"
 
247
        depends on MFD_DM355EVM_MSP
 
248
        help
 
249
          Supports the RTC firmware in the MSP430 on the DM355 EVM.
 
250
 
240
251
config RTC_DRV_TWL92330
241
252
        boolean "TI TWL92330/Menelaus"
242
253
        depends on MENELAUS
243
254
        help
244
255
          If you say yes here you get support for the RTC on the
245
256
          TWL92330 "Menelaus" power management chip, used with OMAP2
246
 
          platforms.  The support is integrated with the rest of
 
257
          platforms. The support is integrated with the rest of
247
258
          the Menelaus driver; it's not separate module.
248
259
 
249
260
config RTC_DRV_TWL4030
304
315
        tristate "Dallas/Maxim DS1305/DS1306"
305
316
        help
306
317
          Select this driver to get support for the Dallas/Maxim DS1305
307
 
          and DS1306 real time clock chips.  These support a trickle
 
318
          and DS1306 real time clock chips. These support a trickle
308
319
          charger, alarms, and NVRAM in addition to the clock.
309
320
 
310
321
          This driver can also be built as a module. If so, the module
313
324
config RTC_DRV_DS1390
314
325
        tristate "Dallas/Maxim DS1390/93/94"
315
326
        help
316
 
          If you say yes here you get support for the DS1390/93/94 chips.
 
327
          If you say yes here you get support for the
 
328
          Dallas/Maxim DS1390/93/94 chips.
317
329
 
318
330
          This driver only supports the RTC feature, and not other chip
319
331
          features such as alarms and trickle charging.
377
389
          or LPC bus chips, and so on.
378
390
 
379
391
          Your system will need to define the platform device used by
380
 
          this driver, otherwise it won't be accessible.  This means
 
392
          this driver, otherwise it won't be accessible. This means
381
393
          you can safely enable this driver if you don't know whether
382
394
          or not your board has this kind of hardware.
383
395
 
429
441
          This driver can also be built as a module. If so, the module
430
442
          will be called rtc-ds1742.
431
443
 
 
444
config RTC_DRV_EFI
 
445
        tristate "EFI RTC"
 
446
        depends on IA64
 
447
        help
 
448
          If you say yes here you will get support for the EFI
 
449
          Real Time Clock.
 
450
 
 
451
          This driver can also be built as a module. If so, the module
 
452
          will be called rtc-efi.
 
453
 
432
454
config RTC_DRV_STK17TA8
433
455
        tristate "Simtek STK17TA8"
434
456
        depends on RTC_CLASS
497
519
          This driver can also be built as a module. If so, the module
498
520
          will be called "rtc-wm8350".
499
521
 
 
522
config RTC_DRV_PCF50633
 
523
        depends on MFD_PCF50633
 
524
        tristate "NXP PCF50633 RTC"
 
525
        help
 
526
          If you say yes here you get support for the RTC subsystem of the
 
527
          NXP PCF50633 used in embedded systems.
 
528
 
500
529
comment "on-CPU RTC drivers"
501
530
 
502
531
config RTC_DRV_OMAP
544
573
 
545
574
config RTC_DRV_SH
546
575
        tristate "SuperH On-Chip RTC"
547
 
        depends on RTC_CLASS && SUPERH
 
576
        depends on RTC_CLASS && SUPERH && HAVE_CLK
548
577
        help
549
578
          Say Y here to enable support for the on-chip RTC found in
550
579
          most SuperH processors.
594
623
        depends on ARCH_AT91RM9200 || ARCH_AT91SAM9RL
595
624
        help
596
625
          Driver for the internal RTC (Realtime Clock) module found on
597
 
          Atmel AT91RM9200's and AT91SAM9RL chips.  On SAM9RL chips
 
626
          Atmel AT91RM9200's and AT91SAM9RL chips. On SAM9RL chips
598
627
          this is powered by the backup power supply.
599
628
 
600
629
config RTC_DRV_AT91SAM9
616
645
        prompt "RTT module Number" if ARCH_AT91SAM9263
617
646
        depends on RTC_DRV_AT91SAM9
618
647
        help
619
 
          More than one RTT module is available.  You can choose which
620
 
          one will be used as an RTC.  The default of zero is normally
 
648
          More than one RTT module is available. You can choose which
 
649
          one will be used as an RTC. The default of zero is normally
621
650
          OK to use, though some systems use that for non-RTC purposes.
622
651
 
623
652
config RTC_DRV_AT91SAM9_GPBR
629
658
        depends on RTC_DRV_AT91SAM9
630
659
        help
631
660
          The RTC driver needs to use one of the General Purpose Backup
632
 
          Registers (GPBRs) as well as the RTT.  You can choose which one
633
 
          will be used.  The default of zero is normally OK to use, but
 
661
          Registers (GPBRs) as well as the RTT. You can choose which one
 
662
          will be used. The default of zero is normally OK to use, but
634
663
          on some systems other software needs to use that register.
635
664
 
 
665
config RTC_DRV_AU1XXX
 
666
        tristate "Au1xxx Counter0 RTC support"
 
667
        depends on SOC_AU1X00
 
668
        help
 
669
          This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
 
670
          counter) to be used as a RTC.
 
671
 
 
672
          This driver can also be built as a module. If so, the module
 
673
          will be called rtc-au1xxx.
 
674
 
636
675
config RTC_DRV_BFIN
637
676
        tristate "Blackfin On-Chip RTC"
638
677
        depends on BLACKFIN && !BF561
649
688
        help
650
689
          If you say yes here you get support for the Ricoh RS5C313 RTC chips.
651
690
 
652
 
config RTC_DRV_PARISC
653
 
        tristate "PA-RISC firmware RTC support"
654
 
        depends on PARISC
 
691
config RTC_DRV_GENERIC
 
692
        tristate "Generic RTC support"
 
693
        # Please consider writing a new RTC driver instead of using the generic
 
694
        # RTC abstraction
 
695
        depends on PARISC || M68K || PPC
655
696
        help
656
 
          Say Y or M here to enable RTC support on PA-RISC systems using
657
 
          firmware calls. If you do not know what you are doing, you should
 
697
          Say Y or M here to enable RTC support on systems using the generic
 
698
          RTC abstraction. If you do not know what you are doing, you should
658
699
          just say Y.
659
700
 
660
 
config RTC_DRV_MXC_V2
661
 
        tristate "Freescale MXC Secure Real Time Clock"
662
 
        depends on ARCH_MXC
663
 
        depends on RTC_CLASS
664
 
        help
665
 
          Support for Freescale SRTC MXC
666
 
 
667
 
config RTC_MC13892
668
 
        tristate "Freescale MC13892 Real Time Clock"
669
 
        depends on ARCH_MXC && MXC_PMIC_MC13892
670
 
        depends on RTC_CLASS
671
 
        help
672
 
          Support for Freescale MC13892 RTC
673
 
 
674
 
config RTC_DRV_PPC
675
 
       tristate "PowerPC machine dependent RTC support"
676
 
       depends on PPC
677
 
       depends on RTC_CLASS
 
701
config RTC_DRV_PXA
 
702
       tristate "PXA27x/PXA3xx"
 
703
       depends on ARCH_PXA
678
704
       help
679
 
         The PowerPC kernel has machine-specific functions for accessing
680
 
         the RTC. This exposes that functionality through the generic RTC
681
 
         class.
 
705
         If you say Y here you will get access to the real time clock
 
706
         built into your PXA27x or PXA3xx CPU.
 
707
 
 
708
         This RTC driver uses PXA RTC registers available since pxa27x
 
709
         series (RDxR, RYxR) instead of legacy RCNR, RTAR.
 
710
 
682
711
 
683
712
config RTC_DRV_SUN4V
684
713
        bool "SUN4V Hypervisor RTC"
694
723
          If you say Y here you will get support for the RTC found on
695
724
          Starfire systems.
696
725
 
 
726
config RTC_DRV_TX4939
 
727
        tristate "TX4939 SoC"
 
728
        depends on SOC_TX4939
 
729
        help
 
730
          Driver for the internal RTC (Realtime Clock) module found on
 
731
          Toshiba TX4939 SoC.
 
732
 
 
733
config RTC_DRV_MV
 
734
        tristate "Marvell SoC RTC"
 
735
        depends on ARCH_KIRKWOOD
 
736
        help
 
737
          If you say yes here you will get support for the in-chip RTC
 
738
          that can be found in some of Marvell's SoC devices, such as
 
739
          the Kirkwood 88F6281 and 88F6192.
 
740
 
 
741
          This driver can also be built as a module. If so, the module
 
742
          will be called rtc-mv.
 
743
 
 
744
config RTC_DRV_PS3
 
745
        tristate "PS3 RTC"
 
746
        depends on PPC_PS3
 
747
        help
 
748
          If you say yes here you will get support for the RTC on PS3.
 
749
 
 
750
          This driver can also be built as a module. If so, the module
 
751
          will be called rtc-ps3.
 
752
 
697
753
endif # RTC_CLASS