]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
ARM: orion5x: update I2C description at SoC level
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 22 Apr 2014 21:26:29 +0000 (23:26 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sat, 26 Apr 2014 19:45:10 +0000 (19:45 +0000)
This commit fixes the Orion5x SoC definition to:

 * Not define a clock-frequency, as it should be described on a
   per-board basis.

 * Declare the appropriate clock reference, so that the driver can do
   correct divisors calculations for the I2C bus.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1398202002-28530-26-git-send-email-thomas.petazzoni@free-electrons.com
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/orion5x.dtsi

index b4c2234fda1e59b966c696674d68f2316e82cc3a..203edde5cfc49a937f14e46954f769ff6bf74fc4 100644 (file)
@@ -56,7 +56,7 @@
                                #address-cells = <1>;
                                #size-cells = <0>;
                                interrupts = <5>;
-                               clock-frequency = <100000>;
+                               clocks = <&core_clk 0>;
                                status = "disabled";
                        };