]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: pxa: magician: Fix platform data for both PXA27x I2C controllers
authorPetr Cvek <petr.cvek@tul.cz>
Mon, 28 Sep 2015 21:33:55 +0000 (23:33 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 14 Oct 2015 21:06:57 +0000 (23:06 +0200)
commit0fb58abb5d75eea47e001ef47ad8cbca545ac4ca
treeadcd3ff86b1135cb8221cd32875cf6576ef76503
parenteac2eacc3056842b7dae8ed5ea1edd1a5e966dd8
ARM: pxa: magician: Fix platform data for both PXA27x I2C controllers

This patch changes fast_mode settings for the normal and power I2C
controller on the HTC Magician machine.

Connected device on the Power I2C:
- MAX1587A: working in the fast mode

Connected devices on the Normal I2C:
- UDA1380: working in the fast mode
- OV9640: bus became stuck in the fast mode

The OV9640 is not using a standard I2C protocol, but an SCCB variant. Maybe
it is not fully compatible in the fast mode. Therefore fast mode for normal
I2C is disabled. If you not using the OV9640 then you can enable the fast
mode for the UDA1380.

Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
[included Philipp Zabel's comment change]
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/magician.c