From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935636AbdCJKP4 (ORCPT ); Fri, 10 Mar 2017 05:15:56 -0500 Received: from mail-pf0-f171.google.com ([209.85.192.171]:33897 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935782AbdCJKO5 (ORCPT ); Fri, 10 Mar 2017 05:14:57 -0500 Date: Fri, 10 Mar 2017 15:44:52 +0530 From: Viresh Kumar To: Yuantian Tang Cc: rjw@rjwysocki.net, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2] cpufreq: qoriq: enhance bus frequency calculation Message-ID: <20170310101452.GA26510@vireshk-i7> References: <1489109323-11424-1-git-send-email-andy.tang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1489109323-11424-1-git-send-email-andy.tang@nxp.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10-03-17, 09:28, Yuantian Tang wrote: > On some platforms, property device-type may be missed in soc node > in dts which caused the bus-frequency can not be obtained correctly. > > This patch enhanced the bus-frequency calculation. When property > device-type is missed in dts, bus-frequency will be obtained by > looking up clock table to get platform clock and hence get its > frequency. > > Signed-off-by: Tang Yuantian > --- > v2: -- fix alignment issue > > drivers/cpufreq/qoriq-cpufreq.c | 24 +++++++++++++++++------- > 1 file changed, 17 insertions(+), 7 deletions(-) Acked-by: Viresh Kumar -- viresh