From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753150AbaEUTfK (ORCPT ); Wed, 21 May 2014 15:35:10 -0400 Received: from top.free-electrons.com ([176.31.233.9]:41756 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752967AbaEUTfF (ORCPT ); Wed, 21 May 2014 15:35:05 -0400 From: Maxime Ripard To: Russell King , Arnd Bergmann Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rob Herring , Nicolas Pitre , Maxime Ripard Subject: [PATCH 0/2] ARM: topology: Allow to set the frequency through a clock Date: Wed, 21 May 2014 21:33:14 +0200 Message-Id: <1400700796-5763-1-git-send-email-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 1.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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 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 | 24 +++++++++++++++++------- 3 files changed, 23 insertions(+), 7 deletions(-) -- 1.9.3