Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752114AbbEYIUB (ORCPT ); Mon, 25 May 2015 04:20:01 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:14563 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750843AbbEYIT5 (ORCPT ); Mon, 25 May 2015 04:19:57 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Mon, 25 May 2015 01:17:47 -0700 From: Bill Huang To: Benson Leung , Rhyland Klein CC: Peter De Schrijver , Mike Turquette , Stephen Warren , Stephen Boyd , Thierry Reding , "Alexandre Courbot" , Paul Walmsley , Jim Lin , "linux-clk@vger.kernel.org" , "linux-tegra@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v5 19/21] clk: tegra: Add Super Gen5 Logic Thread-Topic: [PATCH v5 19/21] clk: tegra: Add Super Gen5 Logic Thread-Index: AQHQjNjWrse+j1VTe0O6j5BpMwnBNJ174RsAgBCLvDA= Date: Mon, 25 May 2015 08:19:52 +0000 Message-ID: <40939402ea454e83998b0186b6e291af@HKMAIL103.nvidia.com> References: <1431451444-23155-1-git-send-email-rklein@nvidia.com> <1431451444-23155-21-git-send-email-rklein@nvidia.com> In-Reply-To: Accept-Language: zh-TW, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.19.108.132] MIME-Version: 1.0 Content-Language: en-US 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-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id t4P8K7k1004584 Content-Length: 1880 Lines: 43 > -----Original Message----- > From: bleung@google.com [mailto:bleung@google.com] On Behalf Of Benson > Leung > Sent: Friday, May 15, 2015 3:37 AM > 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 > Subject: Re: [PATCH v5 19/21] clk: tegra: Add Super Gen5 Logic > > On Tue, May 12, 2015 at 10:24 AM, Rhyland Klein wrote: > > From: Bill Huang > > > > Super clock divider control and clock source mux of Tegra210 has > > changed a little against prior SoCs, this patch adds Gen5 logic to > > address those differences. > > > > Signed-off-by: Bill Huang > > --- > > v2: > > - Fixed sclk divider address (0x370 -> 0x2c) > > > > drivers/clk/tegra/Makefile | 1 + > > drivers/clk/tegra/clk-tegra-super-gen5.c | 150 > ++++++++++++++++++++++++++++++ > > drivers/clk/tegra/clk.h | 3 + > > 3 files changed, 154 insertions(+) > > create mode 100644 drivers/clk/tegra/clk-tegra-super-gen5.c > > I've diffed clk-tegra-super-gen5.c and the existing clk-tegra-super-gen4.c, and > there's a lot of code duplication here. > They're the same pair of functions, with several small changes. Since the idea > behind pulling out the super clock initialization into a common file was to reuse > the same init, could we extend the super-gen4 file (rename if you have to) to > support both gens instead? > Thanks, we'll integrate gen5 into gen4 file in v6. > -- > Benson Leung > Software Engineer, Chrom* OS > bleung@chromium.org ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?