]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mvebu: specify I2C bus frequency on Armada 370 DB
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 18 Apr 2014 07:41:44 +0000 (09:41 +0200)
committerJason Cooper <jason@lakedaemon.net>
Fri, 25 Apr 2014 21:23:39 +0000 (21:23 +0000)
commit9dd9e38f8fe1191807c5294d8cef93a7c419696b
tree03a8a7078a1c7f86de9f8a51c3c00e64032f22f9
parent1337996e450b713861471d78576aa60c80cf32b6
ARM: mvebu: specify I2C bus frequency on Armada 370 DB

In commit 9a5ac2a0319df435754b76e625dab4c381c7f371 ('ARM: mvebu: add
audio support to Armada 370 DB'), the I2C bus 0 was enabled on the
Armada 370 DB board, and an I2C codec was described as being connected
on this bus.

However, this commit forgot to define the I2C bus frequency, which
leads the i2c-mv64xxx to fail probing, as it cannot calculate the baud
rate multiplier/divisor to derive the I2C bus frequency from the core
SoC frequency. It makes audio completely unusable, as the I2C bus is
not probed, and therefore the audio codec is not probed either.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1397806908-7550-2-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-db.dts