Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751519AbdCCLcx (ORCPT ); Fri, 3 Mar 2017 06:32:53 -0500 Received: from smtprelay2.synopsys.com ([198.182.60.111]:34856 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbdCCLcv (ORCPT ); Fri, 3 Mar 2017 06:32:51 -0500 From: Vlad Zakharov To: linux-snps-arc@lists.infradead.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vineet Gupta , Rob Herring , Vlad Zakharov Subject: [PATCH 0/3] ARC: get frequency via clock driver instead of reading device tree Date: Fri, 3 Mar 2017 14:29:59 +0300 Message-Id: <1488540602-11438-1-git-send-email-vzakhar@synopsys.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 730 Lines: 19 This patch series replaces reading device tree with getting CPU clock frequency via clock driver in show_cpuinfo function. In order to achieve this we also add cpu nodes to device tree which describes SMP system and add "clocks" properties to all ARC cpu nodes. Vlad Zakharov (3): ARC: [dts] add input clocks for cpu nodes ARC: [dts] add cpu nodes to ARCHS SMP device tree arc: get rate from clk driver instead of reading device tree arch/arc/boot/dts/skeleton.dtsi | 1 + arch/arc/boot/dts/skeleton_hs.dtsi | 1 + arch/arc/boot/dts/skeleton_hs_idu.dtsi | 21 ++++++++++++++++++++- arch/arc/kernel/setup.c | 17 +++++++++++++---- 4 files changed, 35 insertions(+), 5 deletions(-) -- 2.7.4