mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
f8b94beb7e
The first variants of Armada XP SoCs (A0 stepping) have issues related to the i2c controller which prevent to use the offload mechanism and lead to a kernel hang during boot. The commit introduces a new the compatible string marvell,mv78230-a0-i2c for the i2c controller. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Acked-by: Arnd Bergmann <arnd@arndb.de> cc: devicetree@vger.kernel.org Cc: stable@vger.kernel.org # v3.12+:af8d1c63af
: ARM: mvebu: Add support to get the ID and the revision of a SoC Cc: stable@vger.kernel.org # v3.12+:85e618a1be
: ARM: mvebu: Add quirk for i2c for the OpenBlocks AX3-4 board Cc: stable@vger.kernel.org # v3.12+:6cf70ae928
: i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs Cc: stable@vger.kernel.org # v3.12+ Fixes:930ab3d403
(i2c: mv64xxx: Add I2C Transaction Generator support) Signed-off-by: Jason Cooper <jason@lakedaemon.net>
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
|
|
* Marvell MV64XXX I2C controller
|
|
|
|
Required properties :
|
|
|
|
- reg : Offset and length of the register set for the device
|
|
- compatible : Should be "marvell,mv64xxx-i2c" or "allwinner,sun4i-i2c"
|
|
or "marvell,mv78230-i2c" or "marvell,mv78230-a0-i2c"
|
|
Note: Only use "marvell,mv78230-a0-i2c" for a very rare,
|
|
initial version of the SoC which had broken offload
|
|
support. Linux auto-detects this and sets it
|
|
appropriately.
|
|
- interrupts : The interrupt number
|
|
|
|
Optional properties :
|
|
|
|
- clock-frequency : Desired I2C bus clock frequency in Hz. If not set the
|
|
default frequency is 100kHz
|
|
|
|
Examples:
|
|
|
|
i2c@11000 {
|
|
compatible = "marvell,mv64xxx-i2c";
|
|
reg = <0x11000 0x20>;
|
|
interrupts = <29>;
|
|
clock-frequency = <100000>;
|
|
};
|
|
|
|
For the Armada XP:
|
|
|
|
i2c@11000 {
|
|
compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
|
|
reg = <0x11000 0x100>;
|
|
interrupts = <29>;
|
|
clock-frequency = <100000>;
|
|
};
|