From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: [PATCH v2 0/2] ARM: topology: Allow to set the frequency through a clock Date: Mon, 30 Jun 2014 12:12:21 +0200 Message-ID: <1404123143-13041-1-git-send-email-maxime.ripard@free-electrons.com> Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Russell King , Arnd Bergmann Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring , Nicolas Pitre , Maxime Ripard List-Id: devicetree@vger.kernel.org Hi, This patch series add the possibility for the topology code to get the CPU frequency through a DT clock handle instead of needing a clock-frequency property. Indeed, this information can be quite redundant if the clock tree defined in the DT is already describing the CPU parent clock. Maxime Changes from v1: - Rebased on top of 3.16 - Reworked a bit the code in the first patch as requested by Rob Herring Maxime Ripard (2): ARM: topology: Use a clock if possible to get the CPU frequency ARM: sunxi: Add clocks node to the CPU nodes arch/arm/boot/dts/sun6i-a31.dtsi | 4 ++++ arch/arm/boot/dts/sun7i-a20.dtsi | 2 ++ arch/arm/kernel/topology.c | 25 ++++++++++++++++++------- 3 files changed, 24 insertions(+), 7 deletions(-) -- 2.0.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html