| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | |
|---|
| 2 | 3 | menuconfig MACINTOSH_DRIVERS |
|---|
| 3 | 4 | bool "Macintosh device drivers" |
|---|
| 4 | 5 | depends on PPC || MAC || X86 |
|---|
| 5 | 6 | default y if (PPC_PMAC || MAC) |
|---|
| 6 | | - ---help--- |
|---|
| 7 | + help |
|---|
| 7 | 8 | Say Y here to get to see options for devices used with Macintosh |
|---|
| 8 | 9 | computers. This option alone does not add any kernel code. |
|---|
| 9 | 10 | |
|---|
| .. | .. |
|---|
| 43 | 44 | config ADB_CUDA |
|---|
| 44 | 45 | bool "Support for Cuda/Egret based Macs and PowerMacs" |
|---|
| 45 | 46 | depends on (ADB || PPC_PMAC) && !PPC_PMAC64 |
|---|
| 47 | + select RTC_LIB |
|---|
| 46 | 48 | help |
|---|
| 47 | 49 | This provides support for Cuda/Egret based Macintosh and |
|---|
| 48 | 50 | Power Macintosh systems. This includes most m68k based Macs, |
|---|
| .. | .. |
|---|
| 56 | 58 | config ADB_PMU |
|---|
| 57 | 59 | bool "Support for PMU based PowerMacs and PowerBooks" |
|---|
| 58 | 60 | depends on PPC_PMAC || MAC |
|---|
| 61 | + select RTC_LIB |
|---|
| 59 | 62 | help |
|---|
| 60 | 63 | On PowerBooks, iBooks, and recent iMacs and Power Macintoshes, the |
|---|
| 61 | 64 | PMU is an embedded microprocessor whose primary function is to |
|---|
| .. | .. |
|---|
| 65 | 68 | RAM and the RTC (real time clock) chip. Say Y to enable support for |
|---|
| 66 | 69 | this device; you should do so if your machine is one of those |
|---|
| 67 | 70 | mentioned above. |
|---|
| 71 | + |
|---|
| 72 | +config ADB_PMU_EVENT |
|---|
| 73 | + def_bool y |
|---|
| 74 | + depends on ADB_PMU && INPUT=y |
|---|
| 68 | 75 | |
|---|
| 69 | 76 | config ADB_PMU_LED |
|---|
| 70 | 77 | bool "Support for the Power/iBook front LED" |
|---|
| .. | .. |
|---|
| 79 | 86 | |
|---|
| 80 | 87 | config ADB_PMU_LED_DISK |
|---|
| 81 | 88 | bool "Use front LED as DISK LED by default" |
|---|
| 89 | + depends on ATA |
|---|
| 82 | 90 | depends on ADB_PMU_LED |
|---|
| 83 | 91 | depends on LEDS_CLASS |
|---|
| 84 | 92 | select LEDS_TRIGGERS |
|---|
| .. | .. |
|---|
| 177 | 185 | depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64 |
|---|
| 178 | 186 | help |
|---|
| 179 | 187 | This driver provides some thermostat and fan control for the |
|---|
| 180 | | - iBook G4, and the ATI based aluminium PowerBooks, allowing slightly |
|---|
| 188 | + iBook G4, and the ATI based aluminium PowerBooks, allowing slightly |
|---|
| 181 | 189 | better fan behaviour by default, and some manual control. |
|---|
| 182 | 190 | |
|---|
| 183 | 191 | config WINDFARM |
|---|
| .. | .. |
|---|
| 213 | 221 | select I2C_POWERMAC |
|---|
| 214 | 222 | help |
|---|
| 215 | 223 | This driver provides thermal control for the PowerMac9,1 |
|---|
| 216 | | - which is the recent (SMU based) single CPU desktop G5 |
|---|
| 224 | + which is the recent (SMU based) single CPU desktop G5 |
|---|
| 217 | 225 | |
|---|
| 218 | 226 | config WINDFARM_PM112 |
|---|
| 219 | 227 | tristate "Support for thermal management on PowerMac11,2" |
|---|
| .. | .. |
|---|
| 241 | 249 | depends on PPC_PMAC |
|---|
| 242 | 250 | help |
|---|
| 243 | 251 | This driver provides some support to control the front panel |
|---|
| 244 | | - blue LEDs "vu-meter" of the XServer macs. |
|---|
| 252 | + blue LEDs "vu-meter" of the XServer macs. |
|---|
| 245 | 253 | |
|---|
| 246 | 254 | config SENSORS_AMS |
|---|
| 247 | 255 | tristate "Apple Motion Sensor driver" |
|---|
| 248 | 256 | depends on PPC_PMAC && !PPC64 && INPUT && ((ADB_PMU && I2C = y) || (ADB_PMU && !I2C) || I2C) |
|---|
| 249 | | - select INPUT_POLLDEV |
|---|
| 250 | 257 | help |
|---|
| 251 | 258 | Support for the motion sensor included in PowerBooks. Includes |
|---|
| 252 | 259 | implementations for PMU and I2C. |
|---|