Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754135AbbEMABm (ORCPT ); Tue, 12 May 2015 20:01:42 -0400 Received: from mail-ie0-f173.google.com ([209.85.223.173]:34978 "EHLO mail-ie0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754011AbbEMABj (ORCPT ); Tue, 12 May 2015 20:01:39 -0400 MIME-Version: 1.0 In-Reply-To: <1431451444-23155-12-git-send-email-rklein@nvidia.com> References: <1431451444-23155-1-git-send-email-rklein@nvidia.com> <1431451444-23155-12-git-send-email-rklein@nvidia.com> Date: Tue, 12 May 2015 17:01:38 -0700 X-Google-Sender-Auth: 0cgzCepL5hgOO6WcWs6orFcT80w Message-ID: Subject: Re: [PATCH v5 10/21] clk: tegra: pll: Add logic for out-of-table rates for T210 From: Benson Leung To: Rhyland Klein Cc: Peter De Schrijver , Mike Turquette , Stephen Warren , Stephen Boyd , Thierry Reding , Alexandre Courbot , Bill Huang , Paul Walmsley , Jim Lin , linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1292 Lines: 36 On Tue, May 12, 2015 at 10:23 AM, Rhyland Klein wrote: > For Tegra210, the logic to calculate out-of-table rates is different > from previous generations. Add callbacks that can be overridden to > allow for different ways of calculating rates. Default to > _cal_rate when not specified. > > This patch also includes a new flag which is used to set which method > of fixed_mdiv calculation is used. The new method for calculating the > fixed divider value for M can be more accurate especially when > fractional dividers are in play. This allows for older chipsets to use > the existing logic and new generations to use a newer version which > may work better for them. > > Based on original work by Aleksandr Frid > > Signed-off-by: Rhyland Klein Reviewed-by: Benson Leung > --- > v5: > - Updated description to include mentioning the NEW_MDIV flag > - Added kerneldoc info for new members -- Benson Leung Software Engineer, Chrom* OS bleung@chromium.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/