[PATCH 2/5] ARM: mvebu: Add Core Divider clock device-tree binding

Andrew Lunn andrew at lunn.ch
Thu Sep 26 04:36:55 EDT 2013


Hi Ezequiel

+#define CORE_CLOCK_DIVIDER_RATIO_OFFSET		0x8
...

reg = readl(corediv->reg + CORE_CLOCK_DIVIDER_RATIO_OFFSET);

...

+Example:
+
+corediv_clk: corediv-clocks at 18740 {
+	      compatible = "marvell,armada-370-corediv-clock";
+	      reg = <0x18740 0x8>;
+	      #clock-cells = <1>;
+	      clocks = <&pll>;
+};

The reg property seems to be wrong.

    Andrew



More information about the linux-arm-kernel mailing list