hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/macintosh/Kconfig
....@@ -1,9 +1,10 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12
23 menuconfig MACINTOSH_DRIVERS
34 bool "Macintosh device drivers"
45 depends on PPC || MAC || X86
56 default y if (PPC_PMAC || MAC)
6
- ---help---
7
+ help
78 Say Y here to get to see options for devices used with Macintosh
89 computers. This option alone does not add any kernel code.
910
....@@ -43,6 +44,7 @@
4344 config ADB_CUDA
4445 bool "Support for Cuda/Egret based Macs and PowerMacs"
4546 depends on (ADB || PPC_PMAC) && !PPC_PMAC64
47
+ select RTC_LIB
4648 help
4749 This provides support for Cuda/Egret based Macintosh and
4850 Power Macintosh systems. This includes most m68k based Macs,
....@@ -56,6 +58,7 @@
5658 config ADB_PMU
5759 bool "Support for PMU based PowerMacs and PowerBooks"
5860 depends on PPC_PMAC || MAC
61
+ select RTC_LIB
5962 help
6063 On PowerBooks, iBooks, and recent iMacs and Power Macintoshes, the
6164 PMU is an embedded microprocessor whose primary function is to
....@@ -65,6 +68,10 @@
6568 RAM and the RTC (real time clock) chip. Say Y to enable support for
6669 this device; you should do so if your machine is one of those
6770 mentioned above.
71
+
72
+config ADB_PMU_EVENT
73
+ def_bool y
74
+ depends on ADB_PMU && INPUT=y
6875
6976 config ADB_PMU_LED
7077 bool "Support for the Power/iBook front LED"
....@@ -177,7 +184,7 @@
177184 depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64
178185 help
179186 This driver provides some thermostat and fan control for the
180
- iBook G4, and the ATI based aluminium PowerBooks, allowing slightly
187
+ iBook G4, and the ATI based aluminium PowerBooks, allowing slightly
181188 better fan behaviour by default, and some manual control.
182189
183190 config WINDFARM
....@@ -213,7 +220,7 @@
213220 select I2C_POWERMAC
214221 help
215222 This driver provides thermal control for the PowerMac9,1
216
- which is the recent (SMU based) single CPU desktop G5
223
+ which is the recent (SMU based) single CPU desktop G5
217224
218225 config WINDFARM_PM112
219226 tristate "Support for thermal management on PowerMac11,2"
....@@ -241,12 +248,11 @@
241248 depends on PPC_PMAC
242249 help
243250 This driver provides some support to control the front panel
244
- blue LEDs "vu-meter" of the XServer macs.
251
+ blue LEDs "vu-meter" of the XServer macs.
245252
246253 config SENSORS_AMS
247254 tristate "Apple Motion Sensor driver"
248255 depends on PPC_PMAC && !PPC64 && INPUT && ((ADB_PMU && I2C = y) || (ADB_PMU && !I2C) || I2C)
249
- select INPUT_POLLDEV
250256 help
251257 Support for the motion sensor included in PowerBooks. Includes
252258 implementations for PMU and I2C.