Skip to content

PowerMac i2c API conversions & windfarm updates

Benjamin Herrenschmidt linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15i2c/powermac: Register i2c devices from device-treearch/powerpc/platforms/powermac/low_i2c.c drivers/i2c/busses/i2c-powermac.c drivers/macintosh/ams/ams-i2c.c+73 -280 replies
2/15powerpc/pmac: Convert therm_adt746x to new i2c probingdrivers/macintosh/therm_adt746x.c+204 -2760 replies
3/15powerpc/pmac: Convert windfarm_lm75 to new i2c probingdrivers/macintosh/windfarm_lm75_sensor.c+30 -940 replies
4/15powerpc/pmac: Convert windfarm_max6690 to new i2c probingdrivers/macintosh/windfarm_max6690_sensor.c+21 -790 replies
5/15powerpc/pmac: Convert windfarm_smu_sat to new i2c probingdrivers/macintosh/windfarm_smu_sat.c+47 -790 replies
6/15powerpc/windfarm: const'ify and add "priv" field to controls & sensorsdrivers/macintosh/windfarm.h+12 -110 replies
7/15powerpc/pmac: Don't add_timer() twicearch/powerpc/platforms/powermac/low_i2c.c+9 -00 replies
8/15powerpc/windfarm: Remove spurrious sysfs_attr_init()drivers/macintosh/windfarm_smu_controls.c+0 -10 replies
9/15powerpc/windfarm: Improve display of fan speeds in sysfsdrivers/macintosh/windfarm_core.c+12 -10 replies
10/15powerpc/windfarm: Add useful accessorsdrivers/macintosh/windfarm.h drivers/macintosh/windfarm_pm81.c drivers/macintosh/windfarm_pm91.c+52 -310 replies
11/15powerpc/windfarm: Add ad7417 sensordrivers/macintosh/windfarm_ad7417_sensor.c+347 -00 replies
12/15powerpc/windfarm: Add lm87 sensordrivers/macintosh/windfarm_lm87_sensor.c+201 -00 replies
13/15powerpc/windfarm: Updates to lm75 and max6690 sensorsdrivers/macintosh/windfarm_lm75_sensor.c drivers/macintosh/windfarm_max6690_sensor.c+11 -110 replies
14/15powerpc/windfarm: Add Fan Control Unit controls for G5sdrivers/macintosh/windfarm_fcu_controls.c+617 -00 replies
15/15powerpc/powermac: New windfarm driver for PowerMac G5 (AGP) and Xserve G5drivers/macintosh/Kconfig drivers/macintosh/Makefile drivers/macintosh/windfarm.h +5 more+1783 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] PowerMac i2c API conversions & windfarm updates

The goal of this series is to convert a bulk of PowerMac i2c drivers to the new "proper" i2c driver registration model. This series is not complete in that there are still a few drivers to do but it goes through the bulk of thermal control and some of the nastiest.

The biggest change is that windfarm is ported to generally use the new model, and I've written a new set of windfarm modules to take over from the old therm_pm72 (which was mostly unfixable) on the PowerMac G5 AGP and Xserve G5 machines.

This had a bit of testing on a couple of PowerMac G5 AGP variants but none at all on Xserve G5 since the one I have is unfortunately dead.

If you want to help me test this, don't forget to disable therm_pm72, and instead load windfarm_pm72 or windfarm_rm31 depending on your machine (you can load or build-in the whole lot as well). As usual windfarm don't properly auto-load yet, I still need to fix that.

So please test ! Especially if you have an XServe G5