android_kernel_xiaomi_sm8350/drivers/i2c
Benjamin Herrenschmidt 1263cc67c0 [PATCH] ppc64: Fix booting on latest G5 models
The latest speedbumped Apple G5 models have a "bug" in the Open Firmware
device tree that lacks the proper interrupt routing information for the
northbridge i2c controller.  Apple's driver silently falls back into a
sub-optimal "polled" mode (heh, maybe they didn't even notice the bug
because of that :), our driver didn't properly check and crashes :(

This patch fixes our driver to not crash, and adds code to the
prom_init() OF trampoline code that detects the "bug" and adds the
missing information back for this chipset revision.  This fixes booting
and thermal control on these models.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-22 17:34:42 -07:00
..
algos Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
busses [PATCH] ppc64: Fix booting on latest G5 models 2005-05-22 17:34:42 -07:00
chips [PATCH] I2C: Fix incorrect sysfs file permissions in it87 and via686a drivers 2005-04-18 21:16:59 -07:00
i2c-core.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c-dev.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c-sensor-detect.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c-sensor-vid.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00